mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-09 08:55:55 -04:00
Merge pull request #13527 from derekwaynecarr/disable_swap
Disable swap memory on vagrant nodes to support qos properly
This commit is contained in:
commit
de3cf9b712
1 changed files with 4 additions and 0 deletions
|
|
@ -155,6 +155,10 @@ grains:
|
|||
docker_opts: '$(echo "$DOCKER_OPTS" | sed -e "s/'/''/g")'
|
||||
EOF
|
||||
|
||||
# QoS support requires that swap memory is disabled on each of the minions
|
||||
echo "Disable swap memory to ensure proper QoS"
|
||||
swapoff -a
|
||||
|
||||
# we will run provision to update code each time we test, so we do not want to do salt install each time
|
||||
if ! which salt-minion >/dev/null 2>&1; then
|
||||
# Install Salt
|
||||
|
|
|
|||
Loading…
Reference in a new issue