Enable pod eviction due to disk pressure (default threshold is 10%) in GCE.

This commit is contained in:
bindata-mockuser 2016-08-17 18:29:13 -07:00
parent 3a938dac07
commit 4cddbccd43
2 changed files with 2 additions and 2 deletions

View File

@ -153,4 +153,4 @@ HAIRPIN_MODE="${HAIRPIN_MODE:-promiscuous-bridge}" # promiscuous-bridge, hairpin
E2E_STORAGE_TEST_ENVIRONMENT=${KUBE_E2E_STORAGE_TEST_ENVIRONMENT:-false}
# Evict pods whenever compute resource availability on the nodes gets below a threshold.
EVICTION_HARD="${EVICTION_HARD:-memory.available<100Mi}"
EVICTION_HARD="${EVICTION_HARD:-memory.available<100Mi,nodefs.available<10%}"

View File

@ -183,4 +183,4 @@ E2E_STORAGE_TEST_ENVIRONMENT=${KUBE_E2E_STORAGE_TEST_ENVIRONMENT:-false}
PREPULL_E2E_IMAGES="${PREPULL_E2E_IMAGES:-true}"
# Evict pods whenever compute resource availability on the nodes gets below a threshold.
EVICTION_HARD="${EVICTION_HARD:-memory.available<100Mi,nodefs.available<256Mi}"
EVICTION_HARD="${EVICTION_HARD:-memory.available<100Mi,nodefs.available<10%}"