Skip to content

seatgeek/buildkit-operator

buidkit-operator

go.mod LICENSE Build Status Go Report Card Codecov

An operator for managing BuildKit instances on Kubernetes.

Local Development

Prerequisites

You will need kind and frpc, which can be installed on macOS with brew:

brew install kind frpc

Running the Operator

(Re)start your local kind cluster and run the operator:

make recreate
make run

Debugging the Operator

If you'd rather run the operator from your IDE with a debugger attached, run these commands instead:

make recreate
make start_webhook_reverse_proxy # Keep this running in the background until you're done debugging

Then have your IDE run ./cmd/operator in debug mode with the following program arguments set: --kubeconfig ./kind/kubeconfig --kubecontext kind-buildkit

Interacting with the Cluster

You can interact with the cluster either of these ways:

  • kubectl --kubeconfig ./kind/kubeconfig [command]
  • k9s --kubeconfig ./kind/kubeconfig --write

Congratulations! You are now running the Buildkit Operator locally.

About

An operator for managing BuildKit instances on Kubernetes

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published