Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Environment Variables

The operator can be configured using environment variables, which are automatically set when deploying via Helm.

Operator Settings

VariableDescriptionDefault
POD_NAMESPACENamespace where the operator is runningInjected by Kubernetes
POD_NAMEName of the operator podInjected by Kubernetes

Logging

VariableDescriptionDefault
LOG_LEVELLog level (debug, info, error)info
LOG_FORMATLog format (json, console)json

Metrics

VariableDescriptionDefault
METRICS_BIND_ADDRESSAddress for metrics endpoint:8080

Health Probes

VariableDescriptionDefault
HEALTH_PROBE_BIND_ADDRESSAddress for health probes:8081

Development

For local development, you can set these in your shell:

export LOG_LEVEL=debug
export LOG_FORMAT=console
make run

Or use a .env file with your IDE.