Onboarding with ArgoCD
Learn how to install PerfectScale exporter with ArgoCD with this comprehensive guide
Last updated
Learn how to install PerfectScale exporter with ArgoCD with this comprehensive guide
Last updated
To install the exporter with ArgoCD, use the following instructions.
Complete 1-5 steps from Onboarding a cluster.
Make sure to save the clientId and clientSecret, as we will require it later on.
Download the most recent Helm chart that is used for ArgoCD to your repository (for this guide, we'll be utilizing git@github.com:perfectscale/ps-kube.git).
Create an additional (for example, dev.yaml
value) file with the following content
clusterName
is mandatory. PerfectScale Agent will not work if the cluster name is not provided.
If you have already installed the exporter and need to recall the clusterName, clientID, and clientSecret, you can retrieve them using the following commands accordingly:
kubectl -n perfectscale describe deployment perfectscale-exporter | grep CLUSTER_NAME
kubectl -n perfectscale get secret perfectscale-exporter-secret -o jsonpath="{.data.clientId}" | base64 --decode
kubectl -n perfectscale get secret perfectscale-exporter-secret -o jsonpath="{.data.clientSecret}" | base64 --decode
Push all the modifications to your git repository, which is accessible by ArgoCD.
Login to the ArgoCD Web UI interface and click the NEW APP
button.
Once the creation process is completed, you will see the OutOFSync application.
Synchronize the application.
Ensure that all pods are running.
Create a Custom Resource Definition file for the ArgoCD.
Apply the following command in the cluster application.
Check a new application in the ArgoCD.
Synchronize the application.
Ensure that all pods are running.
Replace clientSecret
and clientId
with copied before.
Replace the namespace for argo-cd
with the one where you have stored all of your applications.