Platform9 Edge Cloud
Latest
Frequently Asked Questions
How To
Solution
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Kubelet Service is Unstable due to Invalid vm/Overcommit_memory Kernel Flag
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- kubelet service is unstable showing the below error in the log:
Kubelet log
xxxxxxxxxxFailed to start ContainerManager invalid kernel flag: vm/overcommit_memory, expected value: 1, actual value: 0Environment
- Platform9 Edge Cloud v-5.3.0
Cause
- In one of the master node, the vm.overcommit_memory parameter in the /etc/sysctl.conf file set to "0"
/etc/sysctl.conf
xxxxxxxxxx#sysctl vm.overcommit_memory vm.overcommit_memory = 0Resolution
- Replace the value of above parameter in the /etc/sysctl.conffile with 1
Terminal
xxxxxxxxxx# overcommit memory vm.overcommit_memory=0 >>>>>>>>>>>>>> Replace this with 1- Run below command to persist the change made above:
Terminal
xxxxxxxxxx# sysctl -p- After making the change, confirm if the value is reflected for the parameter:
Terminal
xxxxxxxxxx# sysctl vm.overcommit_memory- Check pf9-kubelet.service status, if it is still stuck in failed state, restart once and confirm if it becomes healthy.
Terminal
xxxxxxxxxx# systemctl status pf9-kubelet# systemctl restart pf9-kubeletVariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message