github.com/argoproj/argo-cd/v2@v2.10.5/docs/user-guide/commands/argocd.md (about) 1 # `argocd` Command Reference 2 3 ## argocd 4 5 argocd controls a Argo CD server 6 7 ``` 8 argocd [flags] 9 ``` 10 11 ### Options 12 13 ``` 14 --auth-token string Authentication token 15 --client-crt string Client certificate file 16 --client-crt-key string Client certificate key file 17 --config string Path to Argo CD config (default "/home/user/.config/argocd/config") 18 --controller-name string Name of the Argo CD Application controller; set this or the ARGOCD_APPLICATION_CONTROLLER_NAME environment variable when the controller's name label differs from the default, for example when installing via the Helm chart (default "argocd-application-controller") 19 --core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server 20 --grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. 21 --grpc-web-root-path string Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. Set web root. 22 -H, --header strings Sets additional header to all requests made by Argo CD CLI. (Can be repeated multiple times to add multiple headers, also supports comma separated headers) 23 -h, --help help for argocd 24 --http-retry-max int Maximum number of retries to establish http connection to Argo CD server 25 --insecure Skip server certificate and domain verification 26 --kube-context string Directs the command to the given kube-context 27 --logformat string Set the logging format. One of: text|json (default "text") 28 --loglevel string Set the logging level. One of: debug|info|warn|error (default "info") 29 --plaintext Disable TLS 30 --port-forward Connect to a random argocd-server port using port forwarding 31 --port-forward-namespace string Namespace name which should be used for port forwarding 32 --redis-haproxy-name string Name of the Redis HA Proxy; set this or the ARGOCD_REDIS_HAPROXY_NAME environment variable when the HA Proxy's name label differs from the default, for example when installing via the Helm chart (default "argocd-redis-ha-haproxy") 33 --redis-name string Name of the Redis deployment; set this or the ARGOCD_REDIS_NAME environment variable when the Redis's name label differs from the default, for example when installing via the Helm chart (default "argocd-redis") 34 --repo-server-name string Name of the Argo CD Repo server; set this or the ARGOCD_REPO_SERVER_NAME environment variable when the server's name label differs from the default, for example when installing via the Helm chart (default "argocd-repo-server") 35 --server string Argo CD server address 36 --server-crt string Server certificate file 37 --server-name string Name of the Argo CD API server; set this or the ARGOCD_SERVER_NAME environment variable when the server's name label differs from the default, for example when installing via the Helm chart (default "argocd-server") 38 ``` 39 40 ### SEE ALSO 41 42 * [argocd account](argocd_account.md) - Manage account settings 43 * [argocd admin](argocd_admin.md) - Contains a set of commands useful for Argo CD administrators and requires direct Kubernetes access 44 * [argocd app](argocd_app.md) - Manage applications 45 * [argocd appset](argocd_appset.md) - Manage ApplicationSets 46 * [argocd cert](argocd_cert.md) - Manage repository certificates and SSH known hosts entries 47 * [argocd cluster](argocd_cluster.md) - Manage cluster credentials 48 * [argocd completion](argocd_completion.md) - output shell completion code for the specified shell (bash or zsh) 49 * [argocd context](argocd_context.md) - Switch between contexts 50 * [argocd gpg](argocd_gpg.md) - Manage GPG keys used for signature verification 51 * [argocd login](argocd_login.md) - Log in to Argo CD 52 * [argocd logout](argocd_logout.md) - Log out from Argo CD 53 * [argocd proj](argocd_proj.md) - Manage projects 54 * [argocd relogin](argocd_relogin.md) - Refresh an expired authenticate token 55 * [argocd repo](argocd_repo.md) - Manage repository connection parameters 56 * [argocd repocreds](argocd_repocreds.md) - Manage repository connection parameters 57 * [argocd version](argocd_version.md) - Print version information 58