2026/11/09 14:45:09 maxprocs: Leaving GOMAXPROCS=64: CPU quota undefined
Usage of /usr/bin/manager:
-admission-events-involved-namespace
emit admission events for each violation in the involved objects namespace, the default (false) generates events in the namespace Gatekeeper is installed in. Admission events from cluster-scoped resources will still follow the default behavior
-alsologtostderr
log to standard error as well as files
-api-cache-dir string
The directory where audit from api server cache are stored, defaults to /tmp/audit (default "/tmp/audit")
-audit-channel string
(alpha) Channel name for exporting audit violation messages. Defaults to audit-channel (default "audit-channel")
-audit-chunk-size int
(alpha) Kubernetes API chunking List results when retrieving cluster resources using discovery client. defaulted to 500 if unspecified (default 500)
-audit-connection string
(alpha) Connection name for exporting audit violation messages. Defaults to audit-connection (default "audit-connection")
-audit-events-involved-namespace
emit audit events for each violation in the involved objects namespace, the default (false) generates events in the namespace Gatekeeper is installed in. Audit events from cluster-scoped resources will still follow the default behavior
-audit-from-cache
audit synced resources from internal cache, bypassing direct queries to Kubernetes API server
-audit-interval int
interval to run audit in seconds. defaulted to 60 secs if unspecified, 0 to disable (default 60)
-audit-match-kind-only
only use kinds specified in all constraints for auditing cluster resources. if kind is not specified in any of the constraints, it will audit all resources (same as setting this flag to false)
-cert-dir string
The directory where certs are stored, defaults to /certs (default "/certs")
-cert-service-name string
The service name used to generate the TLS cert's hostname. Defaults to gatekeeper-webhook-service (default "gatekeeper-webhook-service")
-client-ca-name string
name of the certificate authority bundle to authenticate the Kubernetes API server requests against
-client-cn-name string
expected CN name on the client certificate attached by apiserver in requests to the webhook (default "kube-apiserver")
-constraint-violations-limit int
limit of number of violations per constraint. defaulted to 20 violations if unspecified (default 20)
-debug-use-fake-pod
Use a fake pod name so the Gatekeeper executable can be run outside of Kubernetes
-default-create-vap-binding-for-constraints
(alpha) Create VAPBinding resource for constraint of the template containing VAP-style CEL source. Allowed values are false: do not create Validating Admission Policy Binding, true: create Validating Admission Policy Binding.
-default-create-vap-for-templates
(alpha) Create VAP resource for template containing VAP-style CEL source. Allowed values are false: do not create Validating Admission Policy unless generateVAP: true is set on constraint template explicitly, true: create Validating Admission Policy unless generateVAP: false is set on constraint template explicitly.
-default-wait-for-vapb-generation int
(alpha) Wait time in seconds before generating a ValidatingAdmissionPolicyBinding after a constraint CRD is created. (default 30)
-disable-cert-rotation
disable automatic generation and rotation of webhook TLS certificates/keys
-disable-enforcementaction-validation
disable validation of the enforcementAction and scopedEnforcementActions field of a constraint
-disable-opa-builtin value
disable opa built-in function, this flag can be declared more than once.
-emit-admission-events
(alpha) emit Kubernetes events for each admission violation
-emit-audit-events
(alpha) emit Kubernetes events with detailed info for each violation from an audit
-enable-external-data
Enable external data feature (default true)
-enable-generator-resource-expansion
(beta) Enable the expansion of generator resources (default true)
-enable-k8s-native-validation
enable the validating admission policy driver (default true)
-enable-mutation
Deprecated. This used to enable the mutation feature, now it has no effect. Use --operation=mutation-webhook and --operation=mutation-status instead.
-enable-pprof
enable pprof profiling
-enable-referential-rules
Enable referential rules. This flag defaults to true. Set this value to false if you want to disallow referential constraints. Because referential constraints read objects other than the object-under-test, they may be subject to race conditions. Users concerned about this may want to disable referential rules (default true)
-enable-tls-healthcheck
enable probing webhook API with certificate stored in certDir
-enable-violation-export
(alpha) Enable exporting violations to external systems
-exempt-namespace value
The specified namespace is allowed to set the admission.gatekeeper.sh/ignore label. To exempt multiple namespaces, this flag can be declared more than once.
-exempt-namespace-prefix value
A namespace with the specified prefix is allowed to set the admission.gatekeeper.sh/ignore label. To exempt multiple prefixes, this flag can be declared more than once.
-exempt-namespace-suffix value
A namespace with the specified suffix is allowed to set the admission.gatekeeper.sh/ignore label. To exempt multiple suffixes, this flag can be declared more than once.
-external-data-provider-response-cache-ttl duration
TTL for the external data provider response cache. Specify the duration in 'h', 'm', or 's' for hours, minutes, or seconds respectively. Defaults to 3 minutes if unspecified. Setting the TTL to 0 disables the cache. (default 3m0s)
-health-addr string
The address to which the health endpoint binds. (default ":9090")
-host string
the host address the webhook server listens on. defaults to all addresses.
-kubeconfig string
Paths to a kubeconfig. Only required if out-of-cluster.
-log-denies
log detailed info on each deny
-log-file string
Log to file, if specified. Default is to log to stderr.
-log-level string
Minimum log level. For example, DEBUG, INFO, WARNING, ERROR. Defaulted to INFO if unspecified. (default "INFO")
-log-level-encoder lower
Encoder for the value of the log level field. Valid values: [lower, `capital`, `color`, `capitalcolor`], default: `lower` (default "lower")
-log-level-key level
JSON key for the log level field, defaults to level (default "level")
-log-mutations
Enable detailed logging of mutation events
-log-stats-admission
(alpha) log stats for admission webhook
-log-stats-audit
(alpha) log stats metrics for the audit run
-log_backtrace_at value
when logging hits line file:N, emit a stack trace
-log_dir string
If non-empty, write log files in this directory
-log_link string
If non-empty, add symbolic links in this directory to the log files
-logbuflevel int
Buffer log messages logged at this level or lower (-1 means don't buffer; 0 means buffer INFO only; ...). Has limited applicability on non-prod platforms.
-logtostderr
log to standard error instead of files
-max-serving-threads int
cap the number of threads handling non-trivial requests, -1 caps the number of threads to GOMAXPROCS. Defaults to -1. (default -1)
-metrics-addr string
The address the metric endpoint binds to. (default "0")
-metrics-backend prometheus
Backend used for metrics. e.g. prometheus, `stackdriver`. This flag can be declared more than once. Omitting will default to supporting `prometheus`.
-mutating-webhook-configuration-name string
name of the MutatingWebhookConfiguration (default "gatekeeper-mutating-webhook-configuration")
-mutation-annotations
Enable mutation annotations
-operation value
The operation to be performed by this instance. e.g. audit, webhook. This flag can be declared more than once. Omitting will default to supporting all operations. (default [audit generate mutation-controller mutation-status mutation-webhook status webhook])
-otlp-endpoint string
Opentelemetry exporter endpoint
-otlp-metric-interval duration
interval to read metrics for opentelemetry exporter. defaulted to 10 secs if unspecified (default 10s)
-port int
port for the server. defaulted to 443 if unspecified (default 443)
-pprof-port int
port for pprof profiling. defaulted to 6060 if unspecified (default 6060)
-prometheus-port int
Prometheus port for metrics backend (default 8888)
-readiness-retries int
The number of resource ingestion attempts allowed before the resource is disregarded. A value of -1 will retry indefinitely.
-stackdriver-metric-interval duration
interval to read metrics for stackdriver exporter. defaulted to 10 secs if unspecified (default 10s)
-stackdriver-only-when-available
Only attempt to start the stackdriver exporter if credentials are available
-stderrthreshold value
logs at or above this threshold go to stderr (default 2)
-tls-min-version string
minimum version of TLS supported (default "1.3")
-v value
log level for V logs
-validating-webhook-configuration-name string
name of the ValidatingWebhookConfiguration (default "gatekeeper-validating-webhook-configuration")
-vmodule value
comma-separated list of pattern=N settings for file-filtered logging
Options (71)
| Option | Description | Source |
|---|---|---|
-admission-events-involved-namespace | emit admission events for each violation in the involved objects namespace, the default (false) generates events in the namespace Gatekeeper is installed in. | help |
-alsologtostderr | log to standard error as well as files | help |
-api-cache-dir string | The directory where audit from api server cache are stored, defaults to /tmp/audit (default "/tmp/audit") | help |
-audit-channel string | (alpha) Channel name for exporting audit violation messages. | help |
-audit-chunk-size int | (alpha) Kubernetes API chunking List results when retrieving cluster resources using discovery client. | help |
-audit-connection string | (alpha) Connection name for exporting audit violation messages. | help |
-audit-events-involved-namespace | emit audit events for each violation in the involved objects namespace, the default (false) generates events in the namespace Gatekeeper is installed in. | help |
-audit-from-cache | audit synced resources from internal cache, bypassing direct queries to Kubernetes API server | help |
-audit-interval int | interval to run audit in seconds. | help |
-audit-match-kind-only | only use kinds specified in all constraints for auditing cluster resources. | help |
-cert-dir string | The directory where certs are stored, defaults to /certs (default "/certs") | help |
-cert-service-name string | The service name used to generate the TLS cert's hostname. | help |
-client-ca-name string | name of the certificate authority bundle to authenticate the Kubernetes API server requests against | help |
-client-cn-name string | expected CN name on the client certificate attached by apiserver in requests to the webhook (default "kube-apiserver") | help |
-constraint-violations-limit int | limit of number of violations per constraint. | help |
-debug-use-fake-pod | Use a fake pod name so the Gatekeeper executable can be run outside of Kubernetes | help |
-default-create-vap-binding-for-constraints | (alpha) Create VAPBinding resource for constraint of the template containing VAP-style CEL source. | help |
-default-create-vap-for-templates | (alpha) Create VAP resource for template containing VAP-style CEL source. | help |
-default-wait-for-vapb-generation int | (alpha) Wait time in seconds before generating a ValidatingAdmissionPolicyBinding after a constraint CRD is created. | help |
-disable-cert-rotation | disable automatic generation and rotation of webhook TLS certificates/keys | help |
-disable-enforcementaction-validation | disable validation of the enforcementAction and scopedEnforcementActions field of a constraint | help |
-disable-opa-builtin value | disable opa built-in function, this flag can be declared more than once. | help |
-emit-admission-events | (alpha) emit Kubernetes events for each admission violation | help |
-emit-audit-events | (alpha) emit Kubernetes events with detailed info for each violation from an audit | help |
-enable-external-data | Enable external data feature (default true) | help |
-enable-generator-resource-expansion | (beta) Enable the expansion of generator resources (default true) | help |
-enable-k8s-native-validation | enable the validating admission policy driver (default true) | help |
-enable-mutation | Deprecated. | help |
-enable-pprof | enable pprof profiling | help |
-enable-referential-rules | Enable referential rules. | help |
-enable-tls-healthcheck | enable probing webhook API with certificate stored in certDir | help |
-enable-violation-export | (alpha) Enable exporting violations to external systems | help |
-exempt-namespace value | The specified namespace is allowed to set the admission.gatekeeper.sh/ignore label. | help |
-exempt-namespace-prefix value | A namespace with the specified prefix is allowed to set the admission.gatekeeper.sh/ignore label. | help |
-exempt-namespace-suffix value | A namespace with the specified suffix is allowed to set the admission.gatekeeper.sh/ignore label. | help |
-external-data-provider-response-cache-ttl duration | TTL for the external data provider response cache. | help |
-health-addr string | The address to which the health endpoint binds. | help |
-host string | the host address the webhook server listens on. | help |
-kubeconfig string | Paths to a kubeconfig. | help |
-log-denies | log detailed info on each deny | help |
-log-file string | Log to file, if specified. | help |
-log-level string | Minimum log level. | help |
-log-level-encoder lower | Encoder for the value of the log level field. | help |
-log-level-key level | JSON key for the log level field, defaults to level (default "level") | help |
-log-mutations | Enable detailed logging of mutation events | help |
-log-stats-admission | (alpha) log stats for admission webhook | help |
-log-stats-audit | (alpha) log stats metrics for the audit run | help |
-log_backtrace_at value | when logging hits line file:N, emit a stack trace | help |
-log_dir string | If non-empty, write log files in this directory | help |
-log_link string | If non-empty, add symbolic links in this directory to the log files | help |
-logbuflevel int | Buffer log messages logged at this level or lower (-1 means don't buffer; | help |
-logtostderr | log to standard error instead of files | help |
-max-serving-threads int | cap the number of threads handling non-trivial requests, -1 caps the number of threads to GOMAXPROCS. | help |
-metrics-addr string | The address the metric endpoint binds to. | help |
-metrics-backend prometheus | Backend used for metrics. | help |
-mutating-webhook-configuration-name string | name of the MutatingWebhookConfiguration (default "gatekeeper-mutating-webhook-configuration") | help |
-mutation-annotations | Enable mutation annotations | help |
-operation value | The operation to be performed by this instance. | help |
-otlp-endpoint string | Opentelemetry exporter endpoint | help |
-otlp-metric-interval duration | interval to read metrics for opentelemetry exporter. | help |
-port int | port for the server. | help |
-pprof-port int | port for pprof profiling. | help |
-prometheus-port int | Prometheus port for metrics backend (default 8888) | help |
-readiness-retries int | The number of resource ingestion attempts allowed before the resource is disregarded. | help |
-stackdriver-metric-interval duration | interval to read metrics for stackdriver exporter. | help |
-stackdriver-only-when-available | Only attempt to start the stackdriver exporter if credentials are available | help |
-stderrthreshold value | logs at or above this threshold go to stderr (default 2) | help |
-tls-min-version string | minimum version of TLS supported (default "1.3") | help |
-v value | log level for V logs | help |
-validating-webhook-configuration-name string | name of the ValidatingWebhookConfiguration (default "gatekeeper-validating-webhook-configuration") | help |
-vmodule value | comma-separated list of pattern=N settings for file-filtered logging | help |