Simple demo of Nginx where we will be covering a nginx deployment.
argoCD/
├── README.md
├── argoDeployment
│ ├── app.yaml
│ └── install.yaml
└── nginx
├── deployment
│ └── nginx-deployment.yaml
├── namespace
│ └── namespace.yaml
└── service
└── nginx-service.yaml
# Clone repo
git clone https://github.com/lopes221/argoCD.git
# Make sure you're in the correct cluster
kubectl config current-context
# Create namespace
kubectl create namespace argocd
# Deploy ArgoCD on argocd namespace
kubectl apply -f argoDeployment/install.yaml -n argocd
# Get ArgoCD secret for user admin login
kubectl get secret -n argocd argocd-initial-admin-secret -o jsonpath='{.data.*}' | base64 -d
# Deploy an ArgoCD app
kubectl apply -f argoDeployment/app.yaml -n argocd
Anderson Soares Lopes