Skip to content

PS-1695: configurable controller-id to via CLI and env var#828

Open
zhming0 wants to merge 1 commit intomainfrom
ming/ps-1695
Open

PS-1695: configurable controller-id to via CLI and env var#828
zhming0 wants to merge 1 commit intomainfrom
ming/ps-1695

Conversation

@zhming0
Copy link
Contributor

@zhming0 zhming0 commented Feb 20, 2026

This PR makes the ID config for k8s stack configurable via CLI and Env var. Previously it was only configurable via config file.

It's a useful configuration for people who wants to deploy multiple controllers replicas for the same queue without using Helm.

As part of this change, I've documented the implication of ID in our job distribution.

@zhming0 zhming0 requested a review from a team as a code owner February 20, 2026 05:45
Copy link
Contributor

@DrJosh9000 DrJosh9000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The name ID for an env var is non-specific (ID of what?), and if the controller weren't running in a container out in k8s there's a chance that ID might already exist (same goes for IMAGE, NAMESPACE, CONFIG). What about BUILDKITE_K8S_STACK_CONTROLLER_ID ?

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