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
ec73d28e
Commit
ec73d28e
authored
Aug 11, 2017
by
Beata Skiba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pass config to external Kubemark cluster in e2e tests
When cluster autoscaler is used in kubemark tests, pass default kubeconfig as external cluster config.
parent
a227c1ea
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
config-default.sh
cluster/kubemark/gce/config-default.sh
+3
-0
run-e2e-tests.sh
test/kubemark/run-e2e-tests.sh
+4
-0
No files found.
cluster/kubemark/gce/config-default.sh
View file @
ec73d28e
...
@@ -92,3 +92,6 @@ KUBEPROXY_TEST_ARGS="${KUBEPROXY_TEST_LOG_LEVEL} ${TEST_CLUSTER_API_CONTENT_TYPE
...
@@ -92,3 +92,6 @@ KUBEPROXY_TEST_ARGS="${KUBEPROXY_TEST_LOG_LEVEL} ${TEST_CLUSTER_API_CONTENT_TYPE
SERVICE_CLUSTER_IP_RANGE
=
"10.0.0.0/16"
# formerly PORTAL_NET
SERVICE_CLUSTER_IP_RANGE
=
"10.0.0.0/16"
# formerly PORTAL_NET
ALLOCATE_NODE_CIDRS
=
true
ALLOCATE_NODE_CIDRS
=
true
# Optional: Enable cluster autoscaler.
ENABLE_KUBEMARK_CLUSTER_AUTOSCALER
=
"
${
ENABLE_KUBEMARK_CLUSTER_AUTOSCALER
:-
false
}
"
test/kubemark/run-e2e-tests.sh
View file @
ec73d28e
...
@@ -38,6 +38,10 @@ else
...
@@ -38,6 +38,10 @@ else
ARGS
=
$@
ARGS
=
$@
fi
fi
if
[[
"
${
ENABLE_KUBEMARK_CLUSTER_AUTOSCALER
}
"
==
"true"
]]
;
then
ARGS
=
"
${
ARGS
}
--kubemark-external-kubeconfig=
${
DEFAULT_KUBECONFIG
}
"
fi
if
[[
-f
/.dockerenv
]]
;
then
if
[[
-f
/.dockerenv
]]
;
then
# Running inside a dockerized runner.
# Running inside a dockerized runner.
go run ./hack/e2e.go
--
-v
--check-version-skew
=
false
--test
--test_args
=
"--e2e-verify-service-account=false --dump-logs-on-failure=false
${
ARGS
}
"
go run ./hack/e2e.go
--
-v
--check-version-skew
=
false
--test
--test_args
=
"--e2e-verify-service-account=false --dump-logs-on-failure=false
${
ARGS
}
"
...
...
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