Installing and Configuring ArgoCD
My First ArgoCD Installation (And the Mistakes I Made)
kubectl apply -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yamlPrerequisites
1. Kubernetes Cluster
# Check if you have a cluster
kubectl cluster-info
# Kubernetes control plane is running at https://...
# Check version (ArgoCD needs 1.20+)
kubectl version --short
# Server Version: v1.28.02. kubectl Configured
3. Cluster Admin Access
4. Enough Cluster Resources
Installation Methods
Step 1: Create ArgoCD Namespace
Step 2: Install ArgoCD
Download Manifests (Recommended)
Or Direct Install
What Gets Installed
Step 3: Verify Installation
Step 4: Access ArgoCD UI
Option 1: Port Forward (Quick Testing)
Option 2: NodePort (Development)
Option 3: LoadBalancer (Cloud Clusters)
Option 4: Ingress (Production Recommended)
Step 5: Get Admin Password
Step 6: Install ArgoCD CLI
macOS
Linux
Windows
Step 7: Login via CLI
Step 8: Change Admin Password
Step 9: Connect Git Repository
Via CLI
Via UI
Via YAML
Step 10: Create First Application (Quick Test)
Configuration Options
Enable Auto-Sync Globally
Configure Resource Limits
Enable Metrics
Security Hardening
1. Disable Admin User
2. Enable RBAC
3. Use SSO (Dex)
4. Network Policies
Common Issues and Solutions
Issue 1: Can't Access UI
Issue 2: Login Failed
Issue 3: Can't Connect to Git Repo
Issue 4: High Memory/CPU Usage
Verifying Installation
Key Takeaways
Last updated