mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Merge pull request #31545 from vishh/inodes-eviction
Automatic merge from submit-queue Enable kubelet eviction whenever inodes free is < 5% on GCE This is a pre-req for enabling inodes based evictions in GKE.
This commit is contained in:
commit
d1569489a3
@ -157,7 +157,7 @@ HAIRPIN_MODE="${HAIRPIN_MODE:-promiscuous-bridge}" # promiscuous-bridge, hairpin
|
|||||||
E2E_STORAGE_TEST_ENVIRONMENT=${KUBE_E2E_STORAGE_TEST_ENVIRONMENT:-false}
|
E2E_STORAGE_TEST_ENVIRONMENT=${KUBE_E2E_STORAGE_TEST_ENVIRONMENT:-false}
|
||||||
|
|
||||||
# Evict pods whenever compute resource availability on the nodes gets below a threshold.
|
# Evict pods whenever compute resource availability on the nodes gets below a threshold.
|
||||||
EVICTION_HARD="${EVICTION_HARD:-memory.available<100Mi,nodefs.available<10%}"
|
EVICTION_HARD="${EVICTION_HARD:-memory.available<100Mi,nodefs.available<10%,nodefs.inodesFree<5%}"
|
||||||
|
|
||||||
# Optional: custom scheduling algorithm
|
# Optional: custom scheduling algorithm
|
||||||
SCHEDULING_ALGORITHM_PROVIDER="${SCHEDULING_ALGORITHM_PROVIDER:-}"
|
SCHEDULING_ALGORITHM_PROVIDER="${SCHEDULING_ALGORITHM_PROVIDER:-}"
|
||||||
|
@ -192,7 +192,7 @@ E2E_STORAGE_TEST_ENVIRONMENT=${KUBE_E2E_STORAGE_TEST_ENVIRONMENT:-false}
|
|||||||
PREPULL_E2E_IMAGES="${PREPULL_E2E_IMAGES:-true}"
|
PREPULL_E2E_IMAGES="${PREPULL_E2E_IMAGES:-true}"
|
||||||
|
|
||||||
# Evict pods whenever compute resource availability on the nodes gets below a threshold.
|
# Evict pods whenever compute resource availability on the nodes gets below a threshold.
|
||||||
EVICTION_HARD="${EVICTION_HARD:-memory.available<100Mi,nodefs.available<10%}"
|
EVICTION_HARD="${EVICTION_HARD:-memory.available<100Mi,nodefs.available<10%,nodefs.inodesFree<5%}"
|
||||||
|
|
||||||
# Optional: custom scheduling algorithm
|
# Optional: custom scheduling algorithm
|
||||||
SCHEDULING_ALGORITHM_PROVIDER="${SCHEDULING_ALGORITHM_PROVIDER:-}"
|
SCHEDULING_ALGORITHM_PROVIDER="${SCHEDULING_ALGORITHM_PROVIDER:-}"
|
||||||
|
Loading…
Reference in New Issue
Block a user