📈Improving performance of resource discovery
As soon as a cluster is registered in gopaddle, gopaddle installs a few add-ons under gopaddle-servers namespace. The kubeagent
add-on is responsible for discovering Kubernetes resources, tracking resource updates, and annotating the resources with runbook information. For large multi-node clusters, it is recommended to increase the capacity of the kubeagent
to improve the performance of the Cluster Resource View and Runbook discovery.
Increasing capacity of multipass VM in case of MacOS
Before increasing the capacity of the kubeagent, check the current memory capacity and consumption of the multipass microk8s vm on MacOS.
To increase the capacity of the microk8s multipass VM on MacOS, please follow the prerequisites step 5 stated here.
Increasing capacity of kubeagent
Enable metrics-server to check the current consumption of the kubeagent pod.
Get the current usage of the kubeagent pod.
If the resource usage of the kubeagent exceeds the limits set for the deployment, increase the limits of the kubeagent deployment. The default requests and limits of the kubeagent deployment is as below:
Update the requests and limits of the kubeagent, if necessary.
Once the kubeagent deployment is updated, wait for the kubeagent to move to ready state
In the gopaddle UI, Refresh the cluster View -> Resources to check the performance
Increase QPS and Burst limits of kubeagent
Check the kubeagent logs and look for any throttling issues:
A sample throttling message would look like this:
Waited for 1.01761187s due to client-side throttling, not priority and fairness, request: GET:https://10.152.183.1:443/api/v1/nodes
Increase the QPS and Burst parameters by editing the command line arguments of the container in the kubeagent deployment. The default QPS and Burst values are 100 and 200 respectively.
Edit the kubeagent deployment.
Update the command line arguments in the kubeagent specification.
Once the kubeagent deployment is updated, wait for the kubeagent to move to ready state.
In the gopaddle UI, Refresh the cluster View -> Resources to check the performance
Last updated