OS Manuals

/usr/bin/flagger

Progressive delivery Kubernetes operator (Canary, A/B Testing and Blue/Green deployments)

From flagger 1.45.0-r12 (enterprise-packages), captured 2026-11-08 by running flagger --help (exit 0). permalink

Also provided by 1 other package version
Usage of /usr/bin/flagger:
  -add_dir_header
    	If true, adds the file directory to the header of the log messages
  -alsologtostderr
    	log to standard error as well as files (no effect when -logtostderr=true)
  -alsologtostderrthreshold value
    	logs at or above this threshold go to stderr when -alsologtostderr=true (no effect when -logtostderr=true)
  -cluster-name string
    	Cluster name to be included in alert msgs.
  -control-loop-interval duration
    	Kubernetes API sync interval. (default 10s)
  -enable-config-tracking
    	Enable secrets and configmaps tracking. (default true)
  -enable-leader-election
    	Enable leader election.
  -event-webhook string
    	Webhook for publishing flagger events
  -include-label-prefix string
    	List of prefixes of labels that are copied when creating primary deployments or daemonsets. Use * to include all.
  -ingress-annotations-prefix string
    	Annotations prefix for NGINX ingresses. (default "nginx.ingress.kubernetes.io")
  -ingress-class string
    	Ingress class used for annotating HTTPProxy objects.
  -kubeconfig string
    	Path to a kubeconfig. Only required if out-of-cluster.
  -kubeconfig-burst int
    	Set Burst for kubeconfig. (default 250)
  -kubeconfig-qps int
    	Set QPS for kubeconfig. (default 100)
  -kubeconfig-service-mesh string
    	Path to a kubeconfig for the service mesh control plane cluster.
  -leader-election-namespace string
    	Namespace used to create the leader election config map. (default "kube-system")
  -legacy_stderr_threshold_behavior
    	If true, stderrthreshold is ignored when logtostderr=true (legacy behavior). If false, stderrthreshold is honored even when logtostderr=true (default true)
  -log-level string
    	Log level can be: debug, info, warning, error. (default "debug")
  -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 (no effect when -logtostderr=true)
  -log_file string
    	If non-empty, use this log file (no effect when -logtostderr=true)
  -log_file_max_size uint
    	Defines the maximum size a log file can grow to (no effect when -logtostderr=true). Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
  -logtostderr
    	log to standard error instead of files (default true)
  -master string
    	The address of the Kubernetes API server. Overrides any value in kubeconfig. Only required if out-of-cluster.
  -mesh-provider string
    	Service mesh provider, can be apisix, appmesh, appmesh:v1beta2, contour, gatewayapi:v1, gatewayapi:v1beta1, gloo, istio, knative, kubernetes, kuma, linkerd, nginx, osm, skipper, smi:v1alpha1, smi:v1alpha2, smi:v1alpha3, or traefik. (default "istio")
  -metrics-server string
    	Prometheus URL. (default "http://prometheus:9090")
  -msteams-proxy-url string
    	MS Teams proxy URL.
  -msteams-url string
    	MS Teams incoming webhook URL.
  -namespace string
    	Namespace that flagger would watch canary object.
  -no-cross-namespace-refs
    	When set to true, Flagger can only refer to resources in the same namespace.
  -one_output
    	If true, only write logs to their native severity level (vs also writing to each lower severity level; no effect when -logtostderr=true)
  -port string
    	Port to listen on. (default "8080")
  -selector-labels string
    	List of pod labels that Flagger uses to create pod selectors. (default "app,name,app.kubernetes.io/name")
  -skip_headers
    	If true, avoid header prefixes in the log messages
  -skip_log_headers
    	If true, avoid headers when opening log files (no effect when -logtostderr=true)
  -slack-channel string
    	Slack channel.
  -slack-proxy-url string
    	Slack proxy URL.
  -slack-token string
    	Slack bot token.
  -slack-url string
    	Slack hook URL.
  -slack-user string
    	Slack user name. (default "flagger")
  -stderrthreshold value
    	logs at or above this threshold go to stderr when writing to files and stderr (no effect when -logtostderr=true or -alsologtostderr=true unless -legacy_stderr_threshold_behavior=false) (default 2)
  -threadiness int
    	Worker concurrency. (default 2)
  -v value
    	number for the log level verbosity
  -version
    	Print version
  -vmodule value
    	comma-separated list of pattern=N settings for file-filtered logging
  -zap-encoding string
    	Zap logger encoding. (default "json")
  -zap-replace-globals
    	Whether to change the logging level of the global zap logger.
Options (47)
OptionDescriptionSource
-add_dir_headerIf true, adds the file directory to the header of the log messageshelp
-alsologtostderrlog to standard error as well as files (no effect when -logtostderr=true)help
-alsologtostderrthreshold valuelogs at or above this threshold go to stderr when -alsologtostderr=true (no effect when -logtostderr=true)help
-cluster-name stringCluster name to be included in alert msgs.help
-control-loop-interval durationKubernetes API sync interval.help
-enable-config-trackingEnable secrets and configmaps tracking.help
-enable-leader-electionEnable leader election.help
-event-webhook stringWebhook for publishing flagger eventshelp
-include-label-prefix stringList of prefixes of labels that are copied when creating primary deployments or daemonsets.help
-ingress-annotations-prefix stringAnnotations prefix for NGINX ingresses.help
-ingress-class stringIngress class used for annotating HTTPProxy objects.help
-kubeconfig stringPath to a kubeconfig.help
-kubeconfig-burst intSet Burst for kubeconfig.help
-kubeconfig-qps intSet QPS for kubeconfig.help
-kubeconfig-service-mesh stringPath to a kubeconfig for the service mesh control plane cluster.help
-leader-election-namespace stringNamespace used to create the leader election config map.help
-legacy_stderr_threshold_behaviorIf true, stderrthreshold is ignored when logtostderr=true (legacy behavior).help
-log-level stringLog level can be: debug, info, warning, error.help
-log_backtrace_at valuewhen logging hits line file:N, emit a stack tracehelp
-log_dir stringIf non-empty, write log files in this directory (no effect when -logtostderr=true)help
-log_file stringIf non-empty, use this log file (no effect when -logtostderr=true)help
-log_file_max_size uintDefines the maximum size a log file can grow to (no effect when -logtostderr=true).help
-logtostderrlog to standard error instead of files (default true)help
-master stringThe address of the Kubernetes API server.help
-mesh-provider stringService mesh provider, can be apisix, appmesh, appmesh:v1beta2, contour, gatewayapi:v1, gatewayapi:v1beta1, gloo, istio, knative, kubernetes, kuma, linkerd, nginx, osm, skipper, smi:v1alpha1,…help
-metrics-server stringPrometheus URL.help
-msteams-proxy-url stringMS Teams proxy URL.help
-msteams-url stringMS Teams incoming webhook URL.help
-namespace stringNamespace that flagger would watch canary object.help
-no-cross-namespace-refsWhen set to true, Flagger can only refer to resources in the same namespace.help
-one_outputIf true, only write logs to their native severity level (vs also writing to each lower severity level;help
-port stringPort to listen on.help
-selector-labels stringList of pod labels that Flagger uses to create pod selectors.help
-skip_headersIf true, avoid header prefixes in the log messageshelp
-skip_log_headersIf true, avoid headers when opening log files (no effect when -logtostderr=true)help
-slack-channel stringSlack channel.help
-slack-proxy-url stringSlack proxy URL.help
-slack-token stringSlack bot token.help
-slack-url stringSlack hook URL.help
-slack-user stringSlack user name.help
-stderrthreshold valuelogs at or above this threshold go to stderr when writing to files and stderr (no effect when -logtostderr=true or -alsologtostderr=true unless -legacy_stderr_threshold_behavior=false) (default 2)help
-threadiness intWorker concurrency.help
-v valuenumber for the log level verbosityhelp
-versionPrint versionhelp
-vmodule valuecomma-separated list of pattern=N settings for file-filtered logginghelp
-zap-encoding stringZap logger encoding.help
-zap-replace-globalsWhether to change the logging level of the global zap logger.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.