Skip to content

Manager Configuration ​

The metal-operator manager is configured via command line flags. When deploying with Helm or Kustomize, flags are passed as container args of the manager Deployment.

Watch filter ​

FlagDefaultDescription
--watch-filter""Watch filter value selecting the resources this instance owns. Only resources labeled metal.ironcore.dev/watch-filter=<value> are watched and reconciled. If empty, only resources without the watch-filter label are handled. See Watch Filter.

Server reconciliation ​

FlagDefaultDescription
--server-max-concurrent-reconciles5Maximum number of concurrent Server reconciles.
--server-claim-max-concurrent-reconciles5Maximum number of concurrent ServerClaim reconciles.
--server-resync-interval2mInterval at which a Server is polled.
--enforce-first-bootfalseEnforce first boot probing of a Server even if it is powered on in the Initial state.
--enforce-power-offfalseForcibly power off a Server when graceful shutdown fails.
--default-failed-auto-retry-count0Default number of auto retries for a CR when it fails. 0 for no retries.
--maintenance-resync-interval2mInterval at which the CR performing maintenance is polled.
--dns-record-template-path""Path to the DNS record template file used for creating DNS records for Servers.

BMC access ​

FlagDefaultDescription
--protocol""Protocol for BMC connections: http or https. If unset, derived from --insecure for compatibility.
--skip-cert-validationfalseSkip TLS certificate validation when using HTTPS.
--insecuretrueDeprecated: use --protocol and --skip-cert-validation instead.
--bmc-failure-reset-delay0sReset the BMC after this duration of consecutive failures. 0 to disable.
--bmc-reset-resync-interval2mInterval at which the BMC is polled while a reset is in progress.
--bmc-reset-waiting-interval2mWait time before reconciling again after a BMC reset.
--ssh-reset-timeout2mTimeout for SSH reset operations.
--manager-namespacedefaultNamespace the manager is running in.

Discovery and registry ​

FlagDefaultDescription
--probe-image""Image for the first boot probing of a Server. Required.
--probe-os-image""OS image for the first boot probing of a Server. Required.
--registry-url""URL of the registry. Derived from the REGISTRY_ADDRESS environment variable if unset.
--registry-protocolhttpProtocol to use for the registry.
--registry-port10000Port to use for the registry.
--registry-resync-interval10sInterval at which the registry is polled for new server information.
--registry-client-timeout5sTimeout for HTTP requests to the registry.
--registry-data-max-age2mMaximum age of registry data to accept for discovery completion.
--discovery-timeout30mTimeout for discovery boot.
--discovery-ignition-path/etc/metal-operator/ignition-template.yamlPath to the ignition template file.
--mac-prefixes-file""Location of the MAC prefixes file.

Polling ​

FlagDefaultDescription
--resource-polling-interval5sInterval between polling resources.
--resource-polling-timeout2mTimeout for polling resources.
--power-polling-interval5sInterval between polling power state.
--power-polling-timeout2mTimeout for polling power state.

Observability ​

FlagDefaultDescription
--metrics-bind-address:8080Address the metrics endpoint binds to.
--metrics-securetrueServe the metrics endpoint securely.
--health-probe-bind-address:8081Address the probe endpoint binds to.

TLS and webhooks ​

FlagDefaultDescription
--webhook-port9443Port for the webhook server.
--webhook-cert-path / --webhook-cert-name / --webhook-cert-key"", tls.crt, tls.keyServing certificate for webhooks.
--metrics-cert-path / --metrics-cert-name / --metrics-cert-key"", tls.crt, tls.keyServing certificate for the metrics endpoint.
--enable-http2falseEnable HTTP/2 for the metrics and webhook servers. Disabled by default due to CVE-2023-44487.

General ​

FlagDefaultDescription
--leader-electfalseEnable leader election. Ensures only one active replica per deployment.
--skip-migrationsfalseSkip running any migrations before startup.
--zap-*Logging flags: --zap-devel, --zap-encoder, --zap-log-level, --zap-stacktrace-level, --zap-time-encoding.

The authoritative, always up-to-date list is metal-operator --help.

EU and German government funding logos

Funded by the European Union – NextGenerationEU.

The views and opinions expressed are solely those of the author(s) and do not necessarily reflect the views of the European Union or the European Commission. Neither the European Union nor the European Commission can be held responsible for them.