Run resource restart action
Trigger a Deployment rollout restart through Argo's resource actions
argocd app actions run <name> restart --kind Deployment --resource-name <id>
- tool
- argocd27 commands
More argocd commands
-
argocd proj windows add <name> --kind deny --schedule '0 0 * * *' --duration 8h --applications '*'Create a deny sync window to freeze deploys during off-hours; cron-based schedule
-
argocd app set <name> --sync-option Prune=true --sync-option ServerSideApply=trueSet sync options for safe prune and SSA; note: SSA fixes large-CRD apply conflicts
-
argocd admin export -n argocd > argo-backup.yaml # restore: argocd admin import -n argocd - < argo-backup.yamlExport/import all apps, projects and settings for DR; cluster-secret aware
-
argocd app sync <name> --resource apps:Deployment:<id>Sync only one resource by group:kind:name; isolates a fix without full app sync
-
argocd login argocd.example.com --username admin --password $(kubectl get secret argocd-initial-admin-secret -n argocd -o jsonpath='{.data.password}' | base64 -d)Authenticate argocd CLI using the initial admin secret