- Run KCP with the following command:
make kcp-server
From this point onwards you can inspect kcp configuration using kubeconfig:
export KUBECONFIG=.test/kcp.kubeconfig
- Bootstrap the KCP server with the following command:
export KUBECONFIG=./.test/kcp.kubeconfig
make kcp-bootstrap
- Run controller:
export KUBECONFIG=./.test/kcp.kubeconfig
make run-local
- In separate shell you can run tests to exercise the controller:
export KUBECONFIG=./.test/kcp.kubeconfig
make test
To delete the resources from kcp:
make test-clean
This project aims to follow the Kubernetes Operator pattern
It uses Controllers which provides a reconcile function responsible for synchronizing resources until the desired state is reached.