In this article In this article we are going to cover How to Install ArgoCD on Minikube and How to Deploy Application on Minikube using ArgoCD CLI
Table of Contents
Prerequisite:
- Install kubectl
- Install Docker
- Install minikube
Step #1:Install Argocd UI on Minikube
Lets install argocd and access in browser using below article
Step #2:Install Argocd CLI on Minikube
ArgoCD provides a web interface and a command line interface. Let’s install the ArgoCD CLI.
wget https://github.com/argoproj/argo-cd/releases/download/v2.4.14/argocd-linux-amd64
Give permission to this folder
chmod +x argocd-linux-amd64
Move this folder to /usr/local/bin/argocd location
sudo mv argocd-linux-amd64 /usr/local/bin/argocd
Check the version:
argocd version

Step #3:Login to Argocd using CLI
Lets login to Argocd using cli
argocd login instance_ip:8080

Step #4:Deploying an Example Application on Minikube using ArgoCD CLI
you’ll use the argocd app create
command, providing the path to the Git repository, the specific helm-guestbook
example, and passing your default destination and namespace:
argocd app create helm-guestbook --repo https://github.com/argoproj/argocd-example-apps.git --path helm-guestbook --dest-server https://kubernetes.default.svc --dest-namespace default

After “creating” the application inside of Argo CD, you can check its status with argocd app get
argocd app get helm-guestbook

The OutOfSync
application status is normal. You’ve retrieved the application’s helm chart from Github and created an entry for it in Argo CD. In order to actually deploy the application you’ll run below command
argocd app sync helm-guestbook

Check in argocd UI You have now successfully deployed an application using Argo CD
You can see that by opening instance_ip:8080
in a browser:

To check help-guestbook pods status using kubectl
kubectl get pods
To check help-guestbook deployment status using kubectl
kubectl get deploy
To check help-guestbook service status using kubectl
kubectl get svc
After App Heath is Healthy. To access helm-guestbook
deployment on browser forward svc/helm-guestbook to port 9090 using kubectl
kubectl port-forward --address 0.0.0.0 svc/helm-guestbook 9090:80
After that Instance_ip:9090 hit on browser you will get the output

Conclusion:
In this article we have covered Install ArgoCD on Minikube and How to Deploy Application on Minikube using ArgoCD CLI
Related Articles:
How to Install ArgoCD on Minikube using Helm
Reference:
Thanks but would have love to see argocd installation and application deployment on an actual cluster like aws eks not minikube (single not cluster), please cover that thanks