Argo CD on Minikube with Ubuntu 24.04 provides a complete local GitOps lab environment.
Minikube creates a single-node Kubernetes cluster that’s easy to manage on a local machine.
Argo CD, an open-source continuous delivery tool for Kubernetes, automates the synchronization between your Git repositories and cluster states — ensuring that your deployments match the declared configuration in Git.
The setup process involves:
Installing kubectl and Minikube on Ubuntu 24.04.
Starting Minikube with sufficient resources (e.g., minikube start –cpus=4 –memory=8g).
Installing Argo CD into the argocd namespace using the official manifests.
Exposing the Argo CD API server via port-forward or NodePort to access the Argo CD Web UI.
Once deployed, you can connect Argo CD to a Git repository, define application manifests, and automatically sync updates — demonstrating GitOps automation from code commit to cluster deployment.
This environment is perfect for developers, DevOps engineers, or students who want to practice Kubernetes continuous delivery workflows safely on a local Ubuntu system.
It will take a few minutes for your VM to be deployed. When the deployment is finished, move on to the next section.
Connect to virtual machine
Create an SSH connection with the VM.
ssh azureuser@<ip>
Step 1: SSH into your instance with username ubuntu and key pair to start the application
Username: ubuntu
ssh -i ssh_key.pem ubuntu@instance-IP
su – ubuntu
minikube start –vm-driver docker
$ kubectl port-forward svc/argocd-server -n argocd –address 0.0.0.0 8080:443
The ArgoCD UI will be available at http://localhost/IP:8080.
Get the initial password for the admin user to log in
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath=”{.data.password}” | base64 -d
if taking long to sart minikube then follow below steps:-……
minikube delete
then
minikube start –vm-driver docker
kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
kubectl port-forward svc/argocd-server -n argocd –address 0.0.0.0 8080:443
Step 2: Use your web browser to access the application at:
http://<instance-ip-address>:8080
After this, access Argo CD at http://<host-ip>:8080
