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
323f5c4f
Commit
323f5c4f
authored
Mar 14, 2016
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #22934 from gmarek/master
Auto commit by PR queue bot
parents
c195b574
c325319c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
util.sh
cluster/gce/util.sh
+3
-3
kubernetes-e2e-gce-enormous-startup.yaml
...bernetes-jenkins/kubernetes-e2e-gce-enormous-startup.yaml
+0
-1
No files found.
cluster/gce/util.sh
View file @
323f5c4f
...
@@ -698,11 +698,11 @@ function create-nodes-template() {
...
@@ -698,11 +698,11 @@ function create-nodes-template() {
# exports:
# exports:
# - NUM_MIGS
# - NUM_MIGS
function
set_num_migs
()
{
function
set_num_migs
()
{
local
defaulted_max_instances_per_mig
=
${
MAX_INSTANCES_PER_MIG
:-
5
00
}
local
defaulted_max_instances_per_mig
=
${
MAX_INSTANCES_PER_MIG
:-
10
00
}
if
[[
${
defaulted_max_instances_per_mig
}
-le
"0"
]]
;
then
if
[[
${
defaulted_max_instances_per_mig
}
-le
"0"
]]
;
then
echo
"MAX_INSTANCES_PER_MIG cannot be negative. Assuming default
5
00"
echo
"MAX_INSTANCES_PER_MIG cannot be negative. Assuming default
10
00"
defaulted_max_instances_per_mig
=
5
00
defaulted_max_instances_per_mig
=
10
00
fi
fi
export
NUM_MIGS
=
$((
(
${
NUM_NODES
}
+
${
defaulted_max_instances_per_mig
}
-
1
)
/
${
defaulted_max_instances_per_mig
}))
export
NUM_MIGS
=
$((
(
${
NUM_NODES
}
+
${
defaulted_max_instances_per_mig
}
-
1
)
/
${
defaulted_max_instances_per_mig
}))
}
}
...
...
hack/jenkins/job-configs/kubernetes-jenkins/kubernetes-e2e-gce-enormous-startup.yaml
View file @
323f5c4f
...
@@ -25,7 +25,6 @@
...
@@ -25,7 +25,6 @@
export NUM_NODES="1000"
export NUM_NODES="1000"
# Reduce logs verbosity
# Reduce logs verbosity
export TEST_CLUSTER_LOG_LEVEL="--v=1"
export TEST_CLUSTER_LOG_LEVEL="--v=1"
export MAX_INSTANCES_PER_MIG="1000"
# Increase resync period to simulate production
# Increase resync period to simulate production
export TEST_CLUSTER_RESYNC_PERIOD="--min-resync-period=12h"
export TEST_CLUSTER_RESYNC_PERIOD="--min-resync-period=12h"
{post-env}
{post-env}
...
...
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