Create an application from the CLI
Create an ArgoCD app with automatic sync from one command
argocd app create myapp --repo https://github.com/org/repo --path k8s/prod --dest-server https://kubernetes.default.svc --dest-namespace default --sync-policy automated
- tool
- argocd27 commands
More argocd commands
-
argocd app delete myapp --cascade=falseRemove the ArgoCD app object and leave its Kubernetes resources running
-
argocd cluster add my-k8s-contextRegister an external cluster from a kubeconfig context
-
argocd cluster listShow all clusters that ArgoCD manages
-
argocd app set myapp --kustomize-image myapp=myregistry/myapp:v1.2.3Change the container image of a Kustomize app without a commit to Git
-
argocd app set myapp --sync-policy noneTurn off automatic sync so you can sync by hand