Watch all our Tutorials and Training Videos for Free on our Youtube Channel, Get Online Web Tools for Free on

Search Suggest

Installing ArgoCD on Kubernetes

Installing ArgoCD on Kubernetes, install argocd on kubernetes, argocd install kubernetes, argocd installation on kubernetes
Installing ArgoCD on Kubernetes

ArgoCD is an open-source continuous delivery tool that allows you to automate the deployment of applications on Kubernetes clusters. With ArgoCD, you can manage your application deployments and rollbacks seamlessly. In this article, we will walk you through the steps to install ArgoCD on your Kubernetes cluster.


  • A running Kubernetes cluster
  • kubectl CLI tool installed and configured to access your cluster

Step 1: Install ArgoCD using kubectl

To install ArgoCD using kubectl, run the following command:

kubectl create namespace argocd
kubectl apply -n argocd -f

This will create a new namespace called argocd and install the latest version of ArgoCD on your cluster.

Step 2: Access the ArgoCD UI

Once ArgoCD is installed, you can access its web UI by forwarding a local port to the ArgoCD server pod. To do this, run the following command:

kubectl port-forward svc/argocd-server -n argocd 8080:443

This will forward port 8080 on your local machine to the ArgoCD server running in the argocd namespace. You can now access the ArgoCD UI by opening a web browser and navigating to https://localhost:8080. You will need to accept the self-signed SSL certificate to access the UI.

Step 3: Login to ArgoCD

The default username and password for ArgoCD is admin and password. To login, navigate to the ArgoCD UI and enter these credentials.

Step 4: Create a new Application

Once you are logged in, you can create a new application in ArgoCD. Click on the + New App button on the top right corner of the UI. This will open a form where you can specify the details of your application.

In the General tab, specify the following details:

  • Application name: a unique name for your application
  • Project: the project to which this application belongs
  • Sync Policy: how often to sync the application state with the desired state

In the Source tab, specify the following details:

  • Repository URL: the URL of your Git repository
  • Revision: the branch or tag to use for this application
  • Path: the directory within the repository containing your Kubernetes manifests
  • Helm Chart: if your application is using Helm charts, specify the chart name and version here

In the Destination tab, specify the following details:

  • Namespace: the Kubernetes namespace to deploy your application to
  • Server: the Kubernetes cluster to deploy your application to

Step 5: Sync the Application

Once you have created your application, ArgoCD will automatically start syncing it with the desired state. You can view the status of your application by clicking on its name in the UI. If there are any errors or warnings, ArgoCD will display them in the UI.

Step 6: Roll out a New Version

To roll out a new version of your application, simply push your changes to your Git repository and ArgoCD will automatically detect the changes and sync your application with the new state.

In this article, we have shown you how to install ArgoCD on your Kubernetes cluster and deploy your applications using ArgoCD. ArgoCD provides a powerful and easy-to-use interface for managing your application deployments on Kubernetes.

Related Searches and Questions asked:

  • CD Workflow Without ArgoCD
  • CD Workflow with ArgoCD
  • What is the difference between Jenkins and ArgoCD?
  • What is the difference between GitOps and ArgoCD?
  • That's it for this post. Keep practicing and have fun. Leave your comments if any.