OS Manuals

/usr/bin/metallb-controller

A network load-balancer implementation for Kubernetes using standard routing protocols

From metallb-fips 0.16.2-r0 (enterprise-packages), captured 2026-11-08 by running metallb-controller --help (exit 0). permalink

Usage of /usr/bin/metallb-controller:
  -cert-dir string
    	The directory where certs are stored (default "/tmp/k8s-webhook-server/serving-certs")
  -cert-service-name string
    	The service name used to generate the TLS cert's hostname (default "metallb-webhook-service")
  -deployment string
    	name of the MetalLB controller Deployment
  -disable-cert-rotation
    	disable automatic generation and rotation of webhook TLS certificates/keys
  -health-probe-port int
    	Port for health probe endpoint (default 17472)
  -kubeconfig string
    	Paths to a kubeconfig. Only required if out-of-cluster.
  -lb-class string
    	load balancer class. When enabled, metallb will handle only services whose spec.loadBalancerClass matches the given lb class
  -log-level string
    	log level. must be one of: [all, debug, info, warn, error, none] (default "info")
  -metrics-cert-dir string
    	Directory containing tls.crt and tls.key for metrics TLS. If empty, auto-generated self-signed cert is used.
  -ml-secret-name string
    	name of the memberlist secret to create
  -namespace string
    	config / memberlist secret namespace
  -pod-name string
    	name of this MetalLB controller pod
  -port int
    	HTTPS listening port for Prometheus metrics; set to 0 to disable metrics (default 9120)
  -pprof-bind-address string
    	Bind address for pprof endpoint (e.g. 127.0.0.1:6060). Empty disables pprof.
  -tls-cipher-suites string
    	Comma-separated list of TLS cipher suites. Only applies to TLS 1.2. If empty, uses Go defaults.
  -tls-curve-preferences string
    	Comma-separated list of numeric CurveID values (see https://pkg.go.dev/crypto/tls#CurveID). If empty, uses Go defaults.
  -tls-min-version string
    	Minimum TLS version (VersionTLS12 or VersionTLS13). If empty, defaults to VersionTLS13.
  -webhook-http2
    	enables http2 for the webhook endpoint
  -webhook-mode string
    	webhook mode: can be enabled, disabled or only webhook if we want the controller to act as webhook endpoint only (default "enabled")
  -webhook-secret string
    	webhook secret: the name of webhook secret, default is metallb-webhook-cert (default "metallb-webhook-cert")
Options (20)
OptionDescriptionSource
-cert-dir stringThe directory where certs are stored (default "/tmp/k8s-webhook-server/serving-certs")help
-cert-service-name stringThe service name used to generate the TLS cert's hostname (default "metallb-webhook-service")help
-deployment stringname of the MetalLB controller Deploymenthelp
-disable-cert-rotationdisable automatic generation and rotation of webhook TLS certificates/keyshelp
-health-probe-port intPort for health probe endpoint (default 17472)help
-kubeconfig stringPaths to a kubeconfig.help
-lb-class stringload balancer class.help
-log-level stringlog level.help
-metrics-cert-dir stringDirectory containing tls.crt and tls.key for metrics TLS.help
-ml-secret-name stringname of the memberlist secret to createhelp
-namespace stringconfig / memberlist secret namespacehelp
-pod-name stringname of this MetalLB controller podhelp
-port intHTTPS listening port for Prometheus metrics;help
-pprof-bind-address stringBind address for pprof endpoint (e.g. 127.0.0.1:6060).help
-tls-cipher-suites stringComma-separated list of TLS cipher suites.help
-tls-curve-preferences stringComma-separated list of numeric CurveID values (see https://pkg.go.dev/crypto/tls#CurveID).help
-tls-min-version stringMinimum TLS version (VersionTLS12 or VersionTLS13).help
-webhook-http2enables http2 for the webhook endpointhelp
-webhook-mode stringwebhook mode: can be enabled, disabled or only webhook if we want the controller to act as webhook endpoint only (default "enabled")help
-webhook-secret stringwebhook secret: the name of webhook secret, default is metallb-webhook-cert (default "metallb-webhook-cert")help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.