buildkite / agent-stack-k8s

Spin up an autoscaling stack of Buildkite Agents on Kubernetes
MIT License
79 stars 30 forks source link

Move integration test on CI to use a different namespace #347

Closed zhming0 closed 3 months ago

zhming0 commented 3 months ago

Our integration test runs our k8s controller outsides of our k8s cluster. It will spin up lots of jobs/pods in a k8s namespace X.

Right now, X = buildkite, it happens to be where our CI is running. It becomes a problem now if we saw a pod in buildkite namespace, we don't know if the pod is from CI workload or integration tests.

This change makes sure when we run our CI, workload generated by integration will run on its own namespace, reducing confusion and hopefully easier to manage on the long run.