What is the Manager

The Manager is an executable that wraps one or more Controllers. It mayeither be built and run locally against a remote cluster, or run as a containerin the cluster.

When run as a container, it should be installed into its own Namespace with aServiceAccount and RBAC permissions on the appropriate resources. The configsto do this are automatically generated for the user by running make.

Note that the Manager is run as a StatefulSet and not a Deployment. Thisis to ensure that only 1 instance of the Manager is run at a time (a Deploymentmay sometimes run multiple instances even with replicas set to 1).

Building and Running Locally

Build and run locally against the cluster defined in ~/.kube/config. Notethis requires a running Kubernetes cluster to be accessible with the~/.kube/config.

  1. make run

In another terminal, create an instance of your resource.

  1. kubectl apply -f config/samples/yourinstance.yaml