github.com/argoproj/argo-cd/v3@v3.2.1/docs/operator-manual/server-commands/argocd-application-controller.md (about) 1 # `argocd-application-controller` Command Reference 2 3 ## argocd-application-controller 4 5 Run ArgoCD Application Controller 6 7 ### Synopsis 8 9 ArgoCD application controller is a Kubernetes controller that continuously monitors running applications and compares the current, live state against the desired target state (as specified in the repo). This command runs Application Controller in the foreground. It can be configured by following options. 10 11 ``` 12 argocd-application-controller [flags] 13 ``` 14 15 ### Options 16 17 ``` 18 --app-hard-resync int Time period in seconds for application hard resync. 19 --app-resync int Time period in seconds for application resync. (default 120) 20 --app-resync-jitter int Maximum time period in seconds to add as a delay jitter for application resync. (default 60) 21 --app-state-cache-expiration duration Cache expiration for app state (default 1h0m0s) 22 --application-namespaces strings List of additional namespaces that applications are allowed to be reconciled from 23 --as string Username to impersonate for the operation 24 --as-group stringArray Group to impersonate for the operation, this flag can be repeated to specify multiple groups. 25 --as-uid string UID to impersonate for the operation 26 --certificate-authority string Path to a cert file for the certificate authority 27 --client-certificate string Path to a client certificate file for TLS 28 --client-key string Path to a client key file for TLS 29 --cluster string The name of the kubeconfig cluster to use 30 --commit-server string Commit server address. (default "argocd-commit-server:8086") 31 --context string The name of the kubeconfig context to use 32 --default-cache-expiration duration Cache expiration default (default 24h0m0s) 33 --disable-compression If true, opt-out of response compression for all requests to the server 34 --dynamic-cluster-distribution-enabled Enables dynamic cluster distribution. 35 --enable-k8s-event none Enable ArgoCD to use k8s event. For disabling all events, set the value as none. (e.g --enable-k8s-event=none), For enabling specific events, set the value as `event reason`. (e.g --enable-k8s-event=StatusRefreshed,ResourceCreated) (default [all]) 36 --gloglevel int Set the glog logging level 37 -h, --help help for argocd-application-controller 38 --hydrator-enabled Feature flag to enable Hydrator. Default ("false") 39 --ignore-normalizer-jq-execution-timeout-seconds duration Set ignore normalizer JQ execution timeout 40 --insecure-skip-tls-verify If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure 41 --kubeconfig string Path to a kube config. Only required if out-of-cluster 42 --kubectl-parallelism-limit int Number of allowed concurrent kubectl fork/execs. Any value less than 1 means no limit. (default 20) 43 --logformat string Set the logging format. One of: json|text (default "json") 44 --loglevel string Set the logging level. One of: debug|info|warn|error (default "info") 45 --metrics-application-conditions strings List of Application conditions that will be added to the argocd_application_conditions metric 46 --metrics-application-labels strings List of Application labels that will be added to the argocd_application_labels metric 47 --metrics-cache-expiration duration Prometheus metrics cache expiration (disabled by default. e.g. 24h0m0s) 48 --metrics-cluster-labels strings List of Cluster labels that will be added to the argocd_cluster_labels metric 49 --metrics-port int Start metrics server on given port (default 8082) 50 -n, --namespace string If present, the namespace scope for this CLI request 51 --operation-processors int Number of application operation processors (default 10) 52 --otlp-address string OpenTelemetry collector address to send traces to 53 --otlp-attrs strings List of OpenTelemetry collector extra attrs when send traces, each attribute is separated by a colon(e.g. key:value) 54 --otlp-headers stringToString List of OpenTelemetry collector extra headers sent with traces, headers are comma-separated key-value pairs(e.g. key1=value1,key2=value2) (default []) 55 --otlp-insecure OpenTelemetry collector insecure mode (default true) 56 --password string Password for basic authentication to the API server 57 --persist-resource-health Enables storing the managed resources health in the Application CRD 58 --proxy-url string If provided, this URL will be used to connect via proxy 59 --redis string Redis server hostname and port (e.g. argocd-redis:6379). 60 --redis-ca-certificate string Path to Redis server CA certificate (e.g. /etc/certs/redis/ca.crt). If not specified, system trusted CAs will be used for server certificate validation. 61 --redis-client-certificate string Path to Redis client certificate (e.g. /etc/certs/redis/client.crt). 62 --redis-client-key string Path to Redis client key (e.g. /etc/certs/redis/client.crt). 63 --redis-compress string Enable compression for data sent to Redis with the required compression algorithm. (possible values: gzip, none) (default "gzip") 64 --redis-insecure-skip-tls-verify Skip Redis server certificate validation. 65 --redis-use-tls Use TLS when connecting to Redis. 66 --redisdb int Redis database. 67 --repo-error-grace-period-seconds int Grace period in seconds for ignoring consecutive errors while communicating with repo server. (default 180) 68 --repo-server string Repo server address. (default "argocd-repo-server:8081") 69 --repo-server-plaintext Disable TLS on connections to repo server 70 --repo-server-strict-tls Whether to use strict validation of the TLS cert presented by the repo server 71 --repo-server-timeout-seconds int Repo server RPC call timeout seconds. (default 60) 72 --request-timeout string The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests. (default "0") 73 --self-heal-backoff-cap-seconds int Specifies max timeout of exponential backoff between application self heal attempts (default 300) 74 --self-heal-backoff-cooldown-seconds int Specifies period of time the app needs to stay synced before the self heal backoff can reset (default 330) 75 --self-heal-backoff-factor int Specifies factor of exponential timeout between application self heal attempts (default 3) 76 --self-heal-backoff-timeout-seconds int Specifies initial timeout of exponential backoff between self heal attempts (default 2) 77 --self-heal-timeout-seconds int Specifies timeout between application self heal attempts 78 --sentinel stringArray Redis sentinel hostname and port (e.g. argocd-redis-ha-announce-0:6379). 79 --sentinelmaster string Redis sentinel master group name. (default "master") 80 --server string The address and port of the Kubernetes API server 81 --server-side-diff-enabled Feature flag to enable ServerSide diff. Default ("false") 82 --sharding-method string Enables choice of sharding method. Supported sharding methods are : [legacy, round-robin, consistent-hashing] (default "legacy") 83 --status-processors int Number of application status processors (default 20) 84 --sync-timeout int Specifies the timeout after which a sync would be terminated. 0 means no timeout (default 0). 85 --tls-server-name string If provided, this name will be used to validate server certificate. If this is not provided, hostname used to contact the server is used. 86 --token string Bearer token for authentication to the API server 87 --user string The name of the kubeconfig user to use 88 --username string Username for basic authentication to the API server 89 --wq-backoff-factor float Set Workqueue Per Item Rate Limiter Backoff Factor, default is 1.5 (default 1.5) 90 --wq-basedelay-ns duration Set Workqueue Per Item Rate Limiter Base Delay duration in nanoseconds, default 1000000 (1ms) (default 1ms) 91 --wq-bucket-qps float Set Workqueue Rate Limiter Bucket QPS, default set to MaxFloat64 which disables the bucket limiter (default 1.7976931348623157e+308) 92 --wq-bucket-size int Set Workqueue Rate Limiter Bucket Size, default 500 (default 500) 93 --wq-cooldown-ns duration Set Workqueue Per Item Rate Limiter Cooldown duration in ns, default 0(per item rate limiter disabled) 94 --wq-maxdelay-ns duration Set Workqueue Per Item Rate Limiter Max Delay duration in nanoseconds, default 1000000000 (1s) (default 1s) 95 ``` 96