How to modify resource limits for hostplumber pods?

Problem

By default, host-plumber pods have CPU limits sets to 100m. Due to CPU throttling, need to increase the CPU limit.

Environment

  • Plaform9 Managed Edge Cloud - v-5.3.0-2075501

Procedure

Steps to increase the CPU limit

  • Exec in to the Luigi controller manager pod.

# kubectl exec -it <luigi-controller-manager_pod_name> -c manager -n <namespace> -- bash
  • Go to directory /etc/plugin_templates/pf9-hostplumber. There you will have hostplumber.yaml file.

bash-5.1# cd /etc/plugin_templates/pf9-hostplumber
bash-5.1# pwd
/etc/plugin_templates/pf9-hostplumber
bash-5.1# ls
hostplumber.yaml
  • Edit the hostplumber.yaml and set the new CPU limit

Additional Information

This is only a temporary workaround. If the Luigi controller manager pods are restarted, then the modification will be lost. RFE- 6022 is created to track the requirement to have a proper method to perform modification on add-ons.

Last updated