How to onboard a cluster
Step-by-step guide on how to onboard your first cluster and start optimizing within a few minutes
Last updated
Step-by-step guide on how to onboard your first cluster and start optimizing within a few minutes
Last updated
PerfectScale is compatible and can be deployed in any Kubernetes environment, including EKS/EKS Anywhere, GKE, AKS, KOPS, private cloud, and other Kubernetes distributions.
Login into the app.
Once logged in, navigate to the Overview
tab.
You can see a button to connect a new Kubernetes cluster. To connect a new cluster, click the Add Cluster
button. A pop-up window with the following steps will appear.
In a popup window, click Copy to Clipboard
and clone the helm chart provided on p.1.
MaxSavings - maximum cost savings, the best for non-production environments
Balanced (default) - optimally balances cost and resiliency
ExtraHeadroom - the best fit for latency-sensitive environments
MaxHeadroom - keeps the environment above the highest spikes
Click the Generate Secret
button.
For security reasons, PerfectScale does not store your secret key.
Execute the command from Deploy PerfectScale
.
Click on the Finish and Close
button.
PerfectScale allows running the exporter on particular nodes. To run the exporter on the specific nodes, use one of the following options:
nodeSelector
(in case there is no taint on the node).
nodeSelector & toleration
(in case of taint on the node).
In case you are using zsh
shell, make sure to add noglob
before the helm command
If the cluster contains both Windows and Linux nodes, it is necessary to add the following extra nodeSelector
to run PerfectScale exporter on the Linux nodes:
--set nodeSelector.beta\\.kubernetes\\.io/os=linux --set kube-state-metrics.nodeSelector.beta\\.kubernetes\\.io/os=linux
For Step 4 in the Onboarding a cluster
scenario above, utilize the subsequent command to designate the Windows nodes:
To allow PerfectScale to gather all the necessary metrics, additional KSM configurations are required.
It is important to include all the listed configuration parameters to prevent potential issues and ensure PerfectScale runs smoothly.
To uninstall the PerfectScale Agent, execute the following command
To provision clusters dynamically, follow the instructions for .
PerfectScale does not support Windows nodes. If your cluster contains both Windows and Linux nodes, adding the nodeSelector to run PerfectScale exporter on the Linux nodes is necessary. Follow the provided to run PerfectScale on these nodes.
Enter a name for your cluster and select the desired :
The Optimization Policy feature allows you to specify how your resources should be allocated in order to support the individual needs of your workloads. Define the policies that best suit your environment and business goals, depending on whether you want to maximize cost savings or provide extra headroom to maintain the resilience of mission-critical services. The Optimization Policy can be set for the entire and for a specific . The workload's Optimization Policy takes precedence and will override the value defined at the cluster level.
Discover more about customizing the Optimization policy .
If you are utilizing both Windows and Linux nodes within the cluster, it is necessary to run PerfectScale exporter on the Linux nodes. You can do it following the instructions -> .
The newly added cluster will appear under the Clusters
list in the Overview
tab. Once the becomes green, the cluster data will appear, which indicates successful cluster creation.
Discover additional information regarding the .
PerfectScale supports Windows-based containers, allowing you to optimize and manage them seamlessly. To enable this feature, as a Step 4 in a , execute the following command:
To run PerfectScale with your existing KSM, you need to provide additional parameters during the installation of the PerfectScale Agent. While to PerfectScale, use this Helm chart as Step 4 instead of the default one:
For labelSelector
, PerfectScale utilizes kubernetes labels selectors syntax
. For more information, .