ArgoCD HA Setup for Production
Two types of installation manifests are provided by ArgoCD.
1:- Non-High Availability
2:- High Availability
We will discuss ArgoCD's high availability installation because it is necessary and advised for production use cases.
As stated, for production use, a high-availability installation is advised. The components in the below bundle have been enhanced for high availability and resilience.
ha/install.yaml: Multiple replicas for supported components. [Official repo URL]
For the demonstration, I’m using ArgoCD V2.4.7, and I currently find it to be much more stable.
In my Git repository, you may find a direct link to the aforementioned ArgoCD version.
argocd-ha-install.yaml — This file contains ArgoCD V2.4.7
There are various methods you may use to install argocd-ha-install.yaml on your Kubernetes cluster. On my setup, I use Kustomization.
Latest Argocd manifest :-
https://github.com/argoproj/argo-cd/blob/master/manifests/ha/install.yaml
ArgoCD V2.4.7 manifest :-
# If you want to Deploy using the Kubernetes-native way
# wget https://raw.githubusercontent.com/argoproj/argo-cd/v2.4.7/manifests/ha/install.yaml
# kubectl apply -f install.yaml
OR
# If you want to Deploy using Kustomization
git clone https://github.com/devopsbucket/argocd
cd argocd/HA
# Perform a dry run before the actual deployment to observe the changes.
kustomize build overlays/dev
#Create Namespace Called- argcod
kubectl create ns argocd
#Actual deployment
kubectl apply -k overlays/dev
The output of. # kubectl apply -k overlays/dev
Check to see if all of the pods are operational.
# Kubectl get pods -n argocd
Check the Service Status created by argocd deployments.
# Kubectl get svc -n argocd
See how we can access the Argocd dashboard in the real world by looking at the Network setup [ArgoCD Ingress Setup] .
Click Me-
ArgoCD All-in-One Setup Guide.
I hope you find this article educational and beneficial.
If you enjoy the blog, please give me a Clap : ) and Follow me for more such content.
Your applause motivates me to continue writing such blogs