The Buildkite Agent Stack for Kubernetes (also known as agent-stack-k8s
) is a Kubernetes controller that uses the Buildkite Agent API to watch for scheduled jobs assigned to the controller's queue.
Note
Starting with v0.28.0, the Buildkite GraphQL API is no longer used. If you are upgrading from an older version, your GraphQL-enabled token can be safely removed from your configuration or Kubernetes secret. Only the Agent token is required.
- A Kubernetes cluster.
- A Buildkite Agent Token.
The simplest way to launch a stack on the default queue:
helm install agent-stack-k8s oci://ghcr.io/buildkite/helm/agent-stack-k8s \
--set agentToken=<buildkite-agent-token>
Specify a different queue using tags:
helm install agent-stack-k8s oci://ghcr.io/buildkite/helm/agent-stack-k8s \
--set agentToken=<buildkite-agent-token> \
--set-json 'config.tags=["queue=arm64"]'
Full instructions can be found in the documentation.
Comprehensive documentation for the Buildkite Agent Stack for Kubernetes controller can be found in the Agent Stack for Kubernetes section of the Buildkite Docs.
For guidelines and requirements regarding contributing to the Buildkite Agent Stack for Kubernetes controller, please see the Development guide.