changing memory allocation of a kubernetes worker node
It's a long shot, but you can try to restart kubelet via systemctl restart kubelet
. The containers should not be restarted this way and there's a hope that once restarted, it'll notice the increased memory configuration.
- Please provide output of below command
kubectl describe nodes
- Restarting kubelet with below command should work because kubelet recalculates the allocatable cpu and memory every time it starts
systemctl restart kubelet
- Did you try removing and recreating the third pod after restarting kubelet ?