デフォルトでは、image-gc-high-thresholdとimage-gc-low-thresholdの値はそれぞれ90%と80%です。Kubernetesガベージコレクションのしきい値を変更するには
私たちは80と70に変更したいと思います。どのようにKubernetesイメージガベージコレクションのしきい値を変更できますか?
ありがとうございます。
デフォルトでは、image-gc-high-thresholdとimage-gc-low-thresholdの値はそれぞれ90%と80%です。Kubernetesガベージコレクションのしきい値を変更するには
私たちは80と70に変更したいと思います。どのようにKubernetesイメージガベージコレクションのしきい値を変更できますか?
ありがとうございます。
ガベージコレクションのしきい値を変更するには、kubelet
のスイッチを使用します。 the docs
--image-gc-high-threshold int32 The percent of disk usage after which image garbage collection is always run. (default 85)
--image-gc-low-threshold int32 The percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to. (default 80)
から
以下のマニュアルに記載されている基本的にデフォルトのユーザーの値を上書きすることができます。
https://kubernetes.io/docs/concepts/cluster-administration/kubelet-garbage-collection/