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
ea9cedab
Commit
ea9cedab
authored
Jun 22, 2016
by
Madhusudan.C.S
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dumbed down version of providing a separate IP range for each cluster in the federation.
parent
b7ac841e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
e2e-up.sh
hack/e2e-internal/e2e-up.sh
+9
-6
No files found.
hack/e2e-internal/e2e-up.sh
View file @
ea9cedab
...
@@ -29,16 +29,19 @@ source "${KUBE_ROOT}/cluster/kube-util.sh"
...
@@ -29,16 +29,19 @@ source "${KUBE_ROOT}/cluster/kube-util.sh"
prepare-e2e
prepare-e2e
if
[[
"
${
FEDERATION
:-}
"
==
"true"
]]
;
then
if
[[
"
${
FEDERATION
:-}
"
==
"true"
]]
;
then
#TODO(colhom): the last cluster that was created in the loop above is the current context.
cur_ip_octet2
=
180
# TODO(colhom): the last cluster that was created in the loop above is the current context.
# Hence, it will be the cluster that hosts the federated components.
# Hence, it will be the cluster that hosts the federated components.
# In the future, we will want to loop through the all the federated contexts,
# In the future, we will want to loop through the all the federated contexts,
# select each one and call federated-up
# select each one and call federated-up
for
zone
in
${
E2E_ZONES
}
;
do
for
zone
in
${
E2E_ZONES
}
;
do
(
(
set-federation-zone-vars
"
$zone
"
export
CLUSTER_IP_RANGE
=
"10.
${
cur_ip_octet2
}
.0.0/16"
test-setup
set-federation-zone-vars
"
$zone
"
)
test-setup
)
cur_ip_octet2
=
"
$((
cur_ip_octet2
+
1
))
"
done
done
tagfile
=
"
${
KUBE_ROOT
}
/federation/manifests/federated-image.tag"
tagfile
=
"
${
KUBE_ROOT
}
/federation/manifests/federated-image.tag"
if
[[
!
-f
"
$tagfile
"
]]
;
then
if
[[
!
-f
"
$tagfile
"
]]
;
then
...
...
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