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
e67667f1
Commit
e67667f1
authored
Nov 30, 2015
by
Brad Erickson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minion->Node rename: comments and vars for e2e.go and e2e.sh
parent
11574ee9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
e2e.go
hack/e2e.go
+4
-4
e2e.sh
hack/jenkins/e2e.sh
+1
-1
No files found.
hack/e2e.go
View file @
e67667f1
...
...
@@ -60,7 +60,7 @@ const (
downloadDirName
=
"_output/downloads"
tarDirName
=
"server"
tempDirName
=
"upgrade-e2e-temp-dir"
min
MinionCount
=
2
min
NodeCount
=
2
)
var
(
...
...
@@ -185,7 +185,7 @@ func Up() bool {
// Ensure that the cluster is large engough to run the e2e tests.
func
ValidateClusterSize
()
{
// Check that there are at least min
MinionCount minion
s running
// Check that there are at least min
NodeCount node
s running
cmd
:=
exec
.
Command
(
path
.
Join
(
*
root
,
"hack/e2e-internal/e2e-cluster-size.sh"
))
if
*
verbose
{
cmd
.
Stderr
=
os
.
Stderr
...
...
@@ -200,8 +200,8 @@ func ValidateClusterSize() {
log
.
Fatalf
(
"Could not count number of nodes to validate cluster size (%s)"
,
err
)
}
if
numNodes
<
min
Minion
Count
{
log
.
Fatalf
(
"Cluster size (%d) is too small to run e2e tests. %d
Minions are required."
,
numNodes
,
minMinion
Count
)
if
numNodes
<
min
Node
Count
{
log
.
Fatalf
(
"Cluster size (%d) is too small to run e2e tests. %d
Nodes are required."
,
numNodes
,
minNode
Count
)
}
}
...
...
hack/jenkins/e2e.sh
View file @
e67667f1
...
...
@@ -1229,7 +1229,7 @@ case ${JOB_NAME} in
NUM_NODES
=
"11"
MASTER_SIZE
=
"n1-standard-4"
NODE_SIZE
=
"n1-standard-8"
# Note: can fit about 17 hollow nodes per core
# so NUM_NODES x cores_per_
minion
should
# so NUM_NODES x cores_per_
node
should
# be set accordingly.
KUBE_GCE_INSTANCE_PREFIX
=
"kubemark1000"
E2E_ZONE
=
"asia-east1-a"
...
...
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