Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
e2669110
Commit
e2669110
authored
Jun 20, 2019
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install Helm on dedicated nodes
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
a90f12f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
scripts/review_apps/review-apps.sh
scripts/review_apps/review-apps.sh
+9
-2
No files found.
scripts/review_apps/review-apps.sh
View file @
e2669110
...
@@ -66,7 +66,7 @@ function get_pod() {
...
@@ -66,7 +66,7 @@ function get_pod() {
if
[[
"
${
elapsed_seconds
}
"
-gt
"
${
max_seconds
}
"
]]
;
then
if
[[
"
${
elapsed_seconds
}
"
-gt
"
${
max_seconds
}
"
]]
;
then
echoerr
"The pod name couldn't be found after
${
elapsed_seconds
}
seconds, aborting."
echoerr
"The pod name couldn't be found after
${
elapsed_seconds
}
seconds, aborting."
echo
""
&&
return
0
break
fi
fi
printf
"."
printf
"."
...
@@ -103,9 +103,16 @@ function install_tiller() {
...
@@ -103,9 +103,16 @@ function install_tiller() {
echoinfo
"Initiating the Helm client..."
echoinfo
"Initiating the Helm client..."
helm init
--client-only
helm init
--client-only
# Set toleration for Tiller to be installed on a specific node pool
helm init
\
helm init
\
--wait
\
--upgrade
\
--upgrade
\
--replicas
2
--node-selectors
"app=helm"
\
--replicas
3
\
--override
"spec.template.spec.tolerations[0].key"
=
"dedicated"
\
--override
"spec.template.spec.tolerations[0].operator"
=
"Equal"
\
--override
"spec.template.spec.tolerations[0].value"
=
"helm"
\
--override
"spec.template.spec.tolerations[0].effect"
=
"NoSchedule"
kubectl rollout status
-n
"
$TILLER_NAMESPACE
"
-w
"deployment/tiller-deploy"
kubectl rollout status
-n
"
$TILLER_NAMESPACE
"
-w
"deployment/tiller-deploy"
...
...
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