This repository contains all code used during the talk.
Feel free to clone it, play with the code and get inspiration if you want to write a controller
You must have a working Kubernetes cluster, minikube
or kind
are enough
cmd/main.go
import (
...
_ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
)
If you updated pkg/apis
don't forget to run
make gen
Locally the controller will share the same kubernetes profile than yours in your current context, this profile must have enough RBAC
make install
make run
You can deploy an example application provided into examples
kubectl apply -f examples/app.yaml
make test