Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

[Pod Eviction] Disable kubernetes's hard Eviction #2124

Merged
merged 3 commits into from
Feb 11, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion deployment/k8sPaiLibrary/template/kubelet.sh.template
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ docker run \
--image-pull-progress-deadline=10m \
--docker-root=${DOCKER_ROOT_DIR_FOR_KUBELET} \
--system-reserved=memory=3Gi \
--eviction-hard="memory.available<5%,nodefs.available<5%,imagefs.available<5%,nodefs.inodesFree<5%,imagefs.inodesFree<5%" \
--eviction-hard= \
--image-gc-high-threshold=100 \
--image-gc-low-threshold=95 \
--healthz-bind-address="0.0.0.0" \
--healthz-port="10248" \
--feature-gates="DevicePlugins=true,TaintBasedEvictions=true" \
Expand Down