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 managerpod.
# kubectl exec -it <luigi-controller-manager_pod_name> -c manager -n <namespace> -- bashGo to directory
/etc/plugin_templates/pf9-hostplumber.There you will havehostplumber.yamlfile.
bash-5.1# cd /etc/plugin_templates/pf9-hostplumber
bash-5.1# pwd
/etc/plugin_templates/pf9-hostplumber
bash-5.1# ls
hostplumber.yamlEdit 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.
PreviousHow to do Backup/Restore of DU VM In LTS2 Environment
NextHow To Manually Push Docker Image Registry?
Last updated
