Add Second Kubernetes Cluster to ArgoCD

We have learned how to install ArgoCD in previous post, which it can deploy deployment resources within kubernetes. If we want to deploy applicatons to other kubertes, how do we do it? you will learn it in this post.

Install kubecm to manage config

Kubecm is a free software tool that can manage multiple kubernetes config. it can be used to merge multiple configs into one config.

Install, it’s quite simple, unzip and move it to /usr/bin/

tar zxvf 
mv kubecm /usr/bin

merge two config files into one

set default context

Add additonal Kubernetes

Download cli


login argocd server and list cluster

[root@localhost ~]# argocd login --insecure

add second kubernetes



we have learned how to add additional cluster into ArgoCD.