Tweak the containerd garbage collect threshold on kubelets.
Pods were getting evicted due to disk pressure, so this causes garbage collection to trigger sooner.
This commit is contained in:
@@ -48,6 +48,12 @@ let
|
||||
"fd00:3e42:e349::10"
|
||||
];
|
||||
imageMaximumGCAge = "24h"; # Delete unused images after 1 day.
|
||||
imageGCHighThresholdPercent = 80;
|
||||
imageGCLowThresholdPercent = 70;
|
||||
evictionHard = {
|
||||
"nodefs.available" = "5%";
|
||||
"imagefs.available" = "10%";
|
||||
};
|
||||
};
|
||||
kubelet_config_file = (to_yaml_file "kubelet-config.yaml" kubelet_config);
|
||||
in
|
||||
|
||||
Reference in New Issue
Block a user