An operator for managing BuildKit instances on Kubernetes
https://chairnerd.seatgeek.com/resilient-builds-with-buildkit-operator/ β HEALTH ? 84 / Healthy
An operator for managing BuildKit instances on Kubernetes
https://chairnerd.seatgeek.com/resilient-builds-with-buildkit-operator/ β// readme
An operator for managing BuildKit instances on Kubernetes.
Install mise for managing tool versions, then:
make init # Install tools (Go, kind, frpc) and download dependencies
make create # Create a local Kind cluster
make run # Run the operator
Run make help to see all available targets.
First, deploy one or more BuildkitTemplate resources that define the configuration and scheduling for BuildKit instances:
apiVersion: buildkit.seatgeek.io/v1alpha1
kind: BuildkitTemplate
metadata:
name: buildkit-arm64
namespace: some-ns
spec:
# This is a simplified example; many other spec fields are available.
rootless: true
port: 1234
buildkitdToml: |
[log]
format = "json"
[worker.oci]
enabled = true
max-parallelism = 3
cniPoolSize = 16
[worker.containerd]
enabled = false
resources:
default:
requests:
cpu: 500m
memory: 8Gi
limits:
memory: 8Gi
maximum:
cpu: 8
memory: 16Gi
scheduling:
nodeSelector:
kubernetes.io/arch: arm64
kubernetes.io/os: linuxβ¦