3 ms·
Thanks! wouldn't that be an issue if a pod "take over" the node , if for some reasons a request use too much CPU?
by eric_khun 7y ago
Thanks! wouldn't that be an issue if a pod "take over" the node , if for some reasons a request use too much CPU?
- dilyevsky 7y agoNot really if you ensure every pod sets cpu request (which sets up cgroups cpu.shares) and your kubelet and system services are running in separate top-level cgroups (—kube-reserved and —system-reserved flags) you have reserved enforcement enabled. On full node contention every container will just consume its proportional share. This is not to say that someone malicious wouldn’t be able to dos a node but untrusted workload is a whole separate topic