Member-only story

Let’s do GitOps using ArgoCD on OpenShift

Karan Singh
5 min readJul 4, 2021

--

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes (OpenShift). Argo CD follows the GitOps pattern of using Git repositories as the source of truth for defining the desired application state.

Installing ArgoCD Operator on OpenShift

To deploy ArgoCD, you can follow the ArgoCD Operator installation guide here. To ease out things for you (and me), i composed a nifty yaml that can deploy ArgoCD on an OpenShift 4 ( tested on v4.7 ) cluster. Github Repo

git clone https://github.com/ksingh7/argocd-openshift.git
cd argocd-openshift
# Login as Kubeadmin# Deploy ArgoCD Operator
oc create -f 1_argocd_operator.yaml

This will create a namespace argocd and create an openshift subscription for argocd-operator . Once created you can validate the deployment of ArgoCD Operator is successful, by checking on the pods oc get po

NAME                                 READY   STATUS    RESTARTS   AGE
argocd-application-controller-0 1/1 Running 0 4h56m
argocd-dex-server-c79b779d-rgvg2 1/1 Running 0 4h56m
argocd-redis-6f7cfddbcb-4sx7n 1/1 Running 0 4h56m
argocd-repo-server-9dc579fc5-qhm26 1/1 Running 0 4h56m…

--

--

Karan Singh
Karan Singh

Written by Karan Singh

Co-Founder & CTO @ Scogo AI ♦ I Love to solve problems using Tech

No responses yet