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.