Skip to content

Complete local Minikube/Triton/LocalStack scaffolding for end-to-end S3 model deployment testing#3

Draft
Copilot wants to merge 10 commits into
developfrom
copilot/finish-local-testing-setup
Draft

Complete local Minikube/Triton/LocalStack scaffolding for end-to-end S3 model deployment testing#3
Copilot wants to merge 10 commits into
developfrom
copilot/finish-local-testing-setup

Conversation

Copy link
Copy Markdown

Copilot AI commented May 12, 2026

Local testing scaffolding existed but was incomplete for exercising the operator end-to-end with S3-backed model loading. This PR wires Minikube, Triton, and LocalStack into a single runnable flow and aligns local manifests with the operator’s actual S3 contract.

  • Orchestrated local E2E workflow

    • Extended kube:develop to start LocalStack, wait for S3 readiness, deploy Triton/operator, and apply S3 example resources.
    • Extended kube:stop-develop to delete example resources and tear down LocalStack cleanly.
    • Added explicit tasks: start-localstack, wait-localstack, stop-localstack, apply-s3-example, delete-s3-example.
  • Hardened LocalStack bootstrap

    • Updated docker-compose.yaml to use LocalStack edge port 4566 and pinned image version for reproducible local behavior.
    • Improved S3 init script to be idempotent via head-bucket existence check before bucket creation.
    • Seeds the expected model artifact at s3://bucket/model_repository/model.graphdef.
  • Aligned example manifests with runtime expectations

    • Updated example/config-map-operator.yaml to the keys consumed by renderer args:
      • aws_access_key_id
      • aws_secret_access_key
      • aws_region_name
      • aws_endpoint_url
    • Set namespace-scoped local config (triton) and explicit local-only dummy credentials.
    • Corrected example/md-source-s3.yaml job template/auth wiring and model file metadata to match local seeded artifact and schema-valid values.
  • Documented the intended local path

    • Added a focused README section for running/stopping full local E2E testing with:
      • task kube:develop
      • task kube:stop-develop
# example/config-map-operator.yaml
data:
  aws_access_key_id: LOCALSTACK_DUMMY_KEY
  aws_secret_access_key: LOCALSTACK_DUMMY_SECRET
  aws_region_name: us-east-1
  aws_endpoint_url: http://host.minikube.internal:4566

Copilot AI and others added 10 commits May 12, 2026 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants