BuildKit can be used as a build service in Kubernetes
Multiple examples available
Proof-of-concept
BuildKit understands the schema kube-pod://
Multiple pods can run simultaneously
Build is passed to any one of them by the service
–
Pass build to remote pod
Create cluster:
kind create cluster
Run BuildKit daemon:
kubectl apply -f pod.rootless.yaml
Wait for pod to deploy:
watch kubectl get pods