Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1 KB

README.md

File metadata and controls

25 lines (17 loc) · 1 KB

cluster-reconciler

This is prototype for reconciling the desired state of a cluster, for arbitrary resources. It pulls desired state from a simple in-progress hub API.

Pull requests + issues welcome, though out-of-the-blue PRs might be hard to reconcile with in-progress work.

How to test

To build image, run make docker-build. Then you could push the image to your own repo.

Ensure you have a k8s cluster (e.g. a kind cluster) and export environment variables as needed:

export IMG={your image repo}/cluster-reconciler-controller
export HUBKUBECONFIG={kubeconfig path to the hub k8s cluster}
make deploy

The command would generate a controller deployment in cluster-reconciler-system namespace. Next, you could use the example in config/sample to deploy a simple work on the cluster.