argocd-cli
Skill2 starsChanged 10 months agoMITView on GitHub
ArgoCD CLI operations for GitOps workflows — installation, bootstrap, and day-2 management
1 other project uses a version of this.
Adopted by
Most recently taken up by
- abdullahkhawer/devops-skillstheir own version, first seen May 7, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- abdullahkhawer/devops-skills★ 8same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository19 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- ai-foundry-operationsSkill
- aro-deploymentSkill
- azure-cliSkill
- azure-infrastructureSkill
- database-managementSkill
- deploy-orchestrationSkill
- github-cliSkill
- helm-cliSkill
- kubectl-cliSkill
- mcp-cliSkill
- observability-stackSkill
- oc-cliSkill
- openshift-operationsSkill
- prerequisitesSkill
- rhdh-portalSkill
- terraform-cliSkill
- validation-scriptsSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 159
ALWAYS diff before sync
- Very specific: line 160
Use --prune carefully in production
- Distinctive: line 161
Verify health after sync
- Distinctive: line 162
Use projects for access control
- Distinctive: line 165
Use sync waves for ordered deployments
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
When to Use
- Install ArgoCD on AKS/ARO cluster
- Bootstrap app-of-apps pattern
- ArgoCD application management
- Sync status verification and drift detection
- Repository credential configuration
Prerequisites
- kubectl access to target cluster
- Helm 3.12+ installed
- ArgoCD CLI installed (for day-2 operations)
- GitHub credentials for repository access
Installation & Bootstrap
1. Install ArgoCD via Helm
# Add ArgoCD Helm repo
helm repo add argo https://argoproj.github.io/argo-helm
helm repo update
# Create namespace
kubectl create namespace argocd
# Install with project values
helm install argocd argo/argo-cd \
--namespace argocd \
--values deploy/helm/argocd/values.yaml \
--wait --timeout 10m
# Verify installation
kubectl get pods -n argocd
kubectl wait --for=condition=ready pod -l app.kubernetes.io/name=argocd-server -n argocd --timeout=300s2. Get Initial Admin Password
# Get auto-generated admin password
kubectl -n argocd get secret argocd-initial-admin-secret \
-o jsonpath="{.data.password}" | base64 -d; echo
# Login via CLI
argocd login argocd.${DNS_ZONE_NAME} --username admin --password <password>3. Configure Repository Credentials
# Apply repository credentials from manifests
kubectl apply -f argocd/repo-credentials.yaml
# Or add via CLI
argocd repo add https://github.com/${GITHUB_ORG}/three-horizons-accelerator-v4.git \
--username <username> --password <github-token>
# Verify
argocd repo list4. Bootstrap App-of-Apps
# Apply root application (bootstraps all child apps)
kubectl apply -f argocd/app-of-apps/root-application.yaml
# Apply sync policies
kubectl apply -f argocd/sync-policies.yaml
# Verify apps are created
argocd app list5. Configure External Secrets Integration
# Apply cluster secret store
kubectl apply -f argocd/secrets/cluster-secret-store.yaml
# Deploy External Secrets app
kubectl apply -f argocd/apps/external-secrets.yaml
# Deploy Gatekeeper
kubectl apply -f argocd/apps/gatekeeper.yamlDay-2 Operations
Authentication
# Login to ArgoCD
argocd login <ARGOCD_SERVER> --username admin --password <password>
# Current context
argocd contextApplication Operations
# List applications
argocd app list
# Get application status
argocd app get <app-name>
# Show application diff (ALWAYS do before sync)
argocd app diff <app-name>
# Sync application
argocd app sync <app-name>
# Sync with prune (careful in production)
argocd app sync <app-name> --prune
# Hard refresh
argocd app get <app-name> --hard-refreshHealth & Status
# Application health
argocd app get <app-name> -o json | jq '.status.health.status'
# Sync status
argocd app get <app-name> -o json | jq '.status.sync.status'
# Resources status
argocd app resources <app-name>Troubleshooting
# Check ArgoCD server logs
kubectl logs -n argocd -l app.kubernetes.io/name=argocd-server --tail=100
# Check application controller logs
kubectl logs -n argocd -l app.kubernetes.io/name=argocd-application-controller --tail=100
# Check repo server logs
kubectl logs -n argocd -l app.kubernetes.io/name=argocd-repo-server --tail=100
# Force sync
argocd app sync <app-name> --force
# Check events
kubectl get events -n argocd --sort-by='.lastTimestamp'Project Files Reference
- Helm values:
deploy/helm/argocd/values.yaml - App-of-apps:
argocd/app-of-apps/root-application.yaml - Sync policies:
argocd/sync-policies.yaml - Repo credentials:
argocd/repo-credentials.yaml - Secret store:
argocd/secrets/cluster-secret-store.yaml - Terraform module:
terraform/modules/argocd/
Best Practices
- ALWAYS diff before sync
- Use --prune carefully in production
- Verify health after sync
- Use projects for access control
- Enable auto-sync only for non-prod environments
- Configure notifications for sync failures
- Use sync waves for ordered deployments
Output Format
- Command executed
- Sync/health status
- Any drift detected
- Recommended actions
Integration with Agents
Used by: @devops, @sre
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

