Re-onboarding a cluster
Learn how to re-upload your Kubernetes cluster, ensuring its data continuation
You may encounter situations where re-uploading a cluster is necessary. For example, if you disconnect a cluster, you might later need to upload it again to restore its visibility and management within the PerfectScale.
How to retrieve credentials
To retrieve the clusterName, clientID, and clientSecret by executing the following commands accordingly:
clusterName
kubectl -n perfectscale describe deployment perfectscale-exporter | grep CLUSTER_NAMEclientID
kubectl -n perfectscale get secret perfectscale-exporter-secret -o jsonpath="{.data.clientId}" | base64 --decodeclientSecret
kubectl -n perfectscale get secret perfectscale-exporter-secret -o jsonpath="{.data.clientSecret}" | base64 --decodeRe-installing PerfectScale Agent
Use the following command to re-upload the cluster:
helm upgrade --install -n perfectscale --create-namespace perfectscale \
--set secret.create=true \
--set secret.clientId=your_clientId \
--set secret.clientSecret=your_clientSecret \
--set settings.clusterName=your_cluster_name \
perfectscale/exporterIf taints and tolerations are defined in the node pool, you must include them in the command too, so it will appear like this:
Re-installing PerfectScale Automation Agent
If you've re-uploaded the cluster where PerfectScale Automation was previously operational and wish to resume using Automation for that cluster, it's important to re-install the Automation Agent. This step will ensure that your cluster remains continuously optimized, tailored to your previously configured CR.
When re-installing the Automation Agent, run the following command:
Last updated
Was this helpful?