Michał Dygas
Michał Dygas

Reputation: 89

Is there any way to turn off eviction in kubelet?

According to this article it is the only way to preserve system pods when eviction might happen. I was wondering if there is chance to turn off eviction mechanism and keep all pods - allow starvation in kubelet configuration? I would like to keep pods from certain namespaces always up even if node is low in resources.

Upvotes: 0

Views: 527

Answers (1)

Shawlz
Shawlz

Reputation: 658

You can use priority classes to prioritise your important pods over others. You can also use system-cluster-critical or system-node-critical as the priorityClassName to mark the pod as critical if you have PodPriority feature gates enabled. See Guaranteed Scheduling For Critical Add-On Pods for details

Upvotes: 3

Related Questions