Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
de3cf9b7
Commit
de3cf9b7
authored
Sep 04, 2015
by
Quinton Hoole
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #13527 from derekwaynecarr/disable_swap
Disable swap memory on vagrant nodes to support qos properly
parents
7bbe516b
44e74b4c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
provision-minion.sh
cluster/vagrant/provision-minion.sh
+4
-0
No files found.
cluster/vagrant/provision-minion.sh
View file @
de3cf9b7
...
@@ -155,6 +155,10 @@ grains:
...
@@ -155,6 +155,10 @@ grains:
docker_opts: '
$(
echo
"
$DOCKER_OPTS
"
|
sed
-e
"s/'/''/g"
)
'
docker_opts: '
$(
echo
"
$DOCKER_OPTS
"
|
sed
-e
"s/'/''/g"
)
'
EOF
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
# 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
if
!
which salt-minion
>
/dev/null 2>&1
;
then
# Install Salt
# Install Salt
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment