Linux command
argocd 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Login
argocd login [argocd.example.com]
List
argocd app list
Create
argocd app create [app-name] --repo [https://github.com/user/repo] --path [k8s/] --dest-server [https://kubernetes.default.svc]
Sync
argocd app sync [app-name]
Get
argocd app get [app-name]
说明
argocd is the CLI for Argo CD, a declarative GitOps continuous delivery tool for Kubernetes. It manages applications, clusters, repositories, and projects through the Argo CD server. The tool enables GitOps workflows where Git repositories are the source of truth for Kubernetes application definitions.
参数
- login _server_
- Authenticate with Argo CD server
- app _command_
- Application management commands
- cluster _command_
- Cluster management commands
- repo _command_
- Repository management commands
- proj _command_
- Project management commands
- account _command_
- Account management commands
- --server _url_
- Argo CD server address
- --auth-token _token_
- Authentication token
- --grpc-web
- Use gRPC-Web for communication
- --insecure
- Skip TLS verification
FAQ
What is the argocd command used for?
argocd is the CLI for Argo CD, a declarative GitOps continuous delivery tool for Kubernetes. It manages applications, clusters, repositories, and projects through the Argo CD server. The tool enables GitOps workflows where Git repositories are the source of truth for Kubernetes application definitions.
How do I run a basic argocd example?
Run `argocd login [argocd.example.com]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does login _server_ do in argocd?
Authenticate with Argo CD server