`argocd` 명령어 참조
argocd 명령어 참조 (Command Reference)
Argo CD CLI의 argocd 명령어 사용법을 정리했어요. 명령어 개요와 사용 가능한 옵션, 관련 하위 명령을 확인할 수 있습니다.
출처: 문서
본문
argocd
Argo CD 서버를 제어합니다.
argocd [flags]
옵션 (Options)
--argocd-context string The name of the Argo-CD server context to use
--auth-token string Authentication token; set this or the ARGOCD_AUTH_TOKEN environment variable
--client-crt string Client certificate file
--client-crt-key string Client certificate key file
--config string Path to Argo CD config (default "/home/user/.config/argocd/config")
--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")
--core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server
--grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2.
--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.
-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)
-h, --help help for argocd
--http-retry-max int Maximum number of retries to establish http connection to Argo CD server
--insecure Skip server certificate and domain verification
--kube-context string Directs the command to the given kube-context
--logformat string Set the logging format. One of: json|text (default "json")
--loglevel string Set the logging level. One of: debug|info|warn|error (default "info")
--plaintext Disable TLS
--port-forward Connect to a random argocd-server port using port forwarding
--port-forward-namespace string Namespace name which should be used for port forwarding
--prompts-enabled Force optional interactive prompts to be enabled or disabled, overriding local configuration. If not specified, the local configuration value will be used, which is false by default.
--redis-compress string Enable this if the application controller is configured with redis compression enabled. (possible values: gzip, none) (default "gzip")
--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")
--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")
--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")
--server string Argo CD server address
--server-crt string Server certificate file
--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")
함께 보기 (SEE ALSO)
- argocd account - 계정 설정을 관리합니다.
- argocd admin - Argo CD 관리자에게 유용한 명령 집합이며 직접적인 Kubernetes 접근이 필요합니다.
- argocd app - 애플리케이션을 관리합니다.
- argocd appset - ApplicationSets를 관리합니다.
- argocd cert - 저장소 인증서와 SSH known hosts 항목을 관리합니다.
- argocd cluster - 클러스터 자격 증명을 관리합니다.
- argocd completion - 지정된 셸(bash, zsh, fish)에 대한 셸 완성 코드를 출력합니다.
- argocd configure - 로컬 구성을 관리합니다.
- argocd context - 컨텍스트 사이를 전환합니다.
- argocd gpg - 서명 검증에 사용되는 GPG 키를 관리합니다.
- argocd login - Argo CD에 로그인합니다.
- argocd logout - Argo CD에서 로그아웃합니다.
- argocd proj - 프로젝트를 관리합니다.
- argocd relogin - 만료된 인증 토큰을 갱신합니다.
- argocd repo - 저장소 연결 매개변수를 관리합니다.
- argocd repocreds - 저장소의 자격 증명 템플릿을 관리합니다.
- argocd version - 버전 정보를 출력합니다.