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
9b62123b
Commit
9b62123b
authored
Feb 24, 2016
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #21908 from justinsb/aws_spot_instance_timeout
Auto commit by PR queue bot
parents
c0316978
62898319
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
util.sh
cluster/aws/util.sh
+7
-2
No files found.
cluster/aws/util.sh
View file @
9b62123b
...
...
@@ -1154,7 +1154,12 @@ function start-minions() {
function
wait-minions
{
# Wait for the minions to be running
# TODO(justinsb): This is really not needed any more
attempt
=
0
local
attempt
=
0
local
max_attempts
=
30
# Spot instances are slower to launch
if
[[
-n
"
${
NODE_SPOT_PRICE
:-}
"
]]
;
then
max_attempts
=
90
fi
while
true
;
do
find-running-minions
>
$LOG
if
[[
${#
NODE_IDS
[@]
}
==
${
NUM_NODES
}
]]
;
then
...
...
@@ -1162,7 +1167,7 @@ function wait-minions {
break
fi
if
((
attempt
>
30
))
;
then
if
((
attempt
>
max_attempts
))
;
then
echo
echo
"Expected number of minions did not start in time"
echo
...
...
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