❤️ ABS is one of the five Certified Kubernetes Service Providers in India ❤️

Install and Configure ArgoCD in Kubernetes Cluster

ArgoCD is a declarative GitOps tool built to deploy applications to Kubernetes. While the continuous delivery (CD) space is seen by some as crowded these days, ArgoCD does bring some interesting capabilities to the table.

  • Kubernetes Cluster
  • kubectl
  • Helm
Step 1: Install ArgoCD
					kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/core-install.yaml


This will create a new namespace called argocd, where Argo CD services and application resources will live.

Step 2: Access the ArgoCD Web UI
					kubectl port-forward svc/argocd-server -n argocd 8080:443
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d
Step 3: Configure ArgoCD Applications
  1. Log in to the ArgoCD web UI.
  2. Click on “New App” to create a new application.
  3. Configure the application settings:
    • Application Name: Give your application a name.
    • Project: Create a new project or use the default project.
    • Source: Set the Git repository URL and branch for your application’s configuration.
    • Destination: Specify the target Kubernetes cluster and namespace.
    • Sync Policy: Define the sync policy (automatic or manual).
    • Sync Options: Set any additional sync options.
  4. Click “Create” to save the application configuration.
  5. Click on the newly created application, and you can manually sync it or set up automatic synchronisation based on your preferences.
Step 4: Manage ArgoCD Applications

You can continue to manage and update your applications using the ArgoCD web UI. ArgoCD will continuously monitor the Git repository for changes and apply them to your Kubernetes cluster.