Configuration
custos controller
The manifests in config/ start it with --leader-elect and --gather-image, and set POD_NAMESPACE from the pod’s namespace.
| Flag | Default | Description |
|---|---|---|
|
Required, the controller does not start without it. The image the gather Jobs run: the same binary as the controller, invoked as |
|
|
|
The namespace the controller runs in. |
|
|
The address the metrics endpoint binds to. |
|
|
Serve the metrics endpoint via HTTPS. |
|
The directory that contains the metrics server certificate. Empty generates a self-signed one. |
|
|
|
The name of the metrics server certificate file. |
|
|
The name of the metrics server key file. |
|
|
The address the health and readiness probes bind to. |
|
|
Enable leader election, so only one controller manager is active. |
The --zap-* flags of controller-runtime set the log output, for example --zap-log-level=debug.
custos gather
The controller starts this in the gather Job and sets every flag itself. It is listed for debugging a failed gather.
| Flag | Default | Description |
|---|---|---|
|
|
The plan file the controller mounted. |
|
The Secret to write the gathered values to. |
|
|
The ConfigMap to record the outcome in. |
|
|
The CredentialConfig this gather belongs to. |
|
|
Its UID. |
|
|
|
How long to wait for an exec’s pod to become ready before failing the run. |