Skip to content

Commit f956be8

Browse files
committed
latest
Signed-off-by: Braulio Dumba <brauliodumba@gmail.com>
1 parent 08b1fbf commit f956be8

File tree

5 files changed

+131
-6
lines changed

5 files changed

+131
-6
lines changed

test/scale-infra/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
A scalable Kubernetes-based testbed for KubeStellar Performance Tests
22
---------------------------------------------------------------------
33

4-
<img src="images/ks-scale-test-infra.png" width="60%" height="60%" title="ks-scale-test-infra">
4+
<img src="images/ks-scale-test-infra.jpg" width="60%" height="60%" title="ks-scale-test-infra">
55

66
### Requirements
7-
AWS is the cloud environment used to setup the testbed. So AWS credentials are required.
8-
They can be set by environment variables, e.g. `AWS_ACCESS_KEY` and `AWS_SECRET_KEY`.
7+
AWS is the cloud provider used to setup the testbed. So AWS credentials are required.
8+
They can be set by shell environment variables, e.g. `AWS_ACCESS_KEY` and `AWS_SECRET_KEY`.
99

1010
### Overview
1111

@@ -58,7 +58,7 @@ b) Create Kind cluster WECs and connect to KS Core cluster
5858
ansible-playbook -i .data/hosts_wec deploy_ks_wec.yaml --ssh-common-args='-o StrictHostKeyChecking=no' -e 'num_wecs=1 wec_name_prefix=location'
5959
```
6060

61-
Use the input paramater 'num_wecs` to specify the number of kind clusters to be created.
61+
Use the input paramater `num_wecs` to specify the number of kind clusters to be created.
6262
The above command creates kind WEC clusters and connects them to the KubeStellar core cluster created in step-1.
6363

6464

test/scale-infra/delete_all_infra.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ done
2626

2727

2828
## 1. Delete WECs:
29-
#ansible-playbook -i .data/hosts_wec delete-ec2.yaml -e "cluster_name=wec region=$region"
29+
ansible-playbook -i .data/hosts_wec delete-ec2.yaml -e "cluster_name=wec region=$region"
3030

3131
## 2. Delete CORE:
32-
#ansible-playbook -i .data/hosts_core delete-ec2.yaml -e "cluster_name=core region=$region"
32+
ansible-playbook -i .data/hosts_core delete-ec2.yaml -e "cluster_name=core region=$region"
3333

3434
## 3. Delete VPC:
3535
ansible-playbook delete_vpc_infra.yaml -e "region=$region"
Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
<mxfile host="Electron" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/26.0.4 Chrome/128.0.6613.186 Electron/32.2.5 Safari/537.36" version="26.0.4">
2+
<diagram name="Page-1" id="tsfkz3_fQ2Cdq-M0bNKg">
3+
<mxGraphModel dx="1122" dy="740" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
4+
<root>
5+
<mxCell id="0" />
6+
<mxCell id="1" parent="0" />
7+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-1" value="&lt;font style=&quot;font-size: 16px;&quot;&gt;KUBESTELLAR CONTROL PLANE HOSTING CLUSTER&lt;/font&gt;" style="rounded=0;whiteSpace=wrap;html=1;sketch=1;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;fillColor=#cce5ff;strokeColor=#36393d;" vertex="1" parent="1">
8+
<mxGeometry x="190" y="80" width="450" height="160" as="geometry" />
9+
</mxCell>
10+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-2" value="" style="aspect=fixed;sketch=0;html=1;dashed=0;whitespace=wrap;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon2;prIcon=api;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;" vertex="1" parent="1">
11+
<mxGeometry x="200" y="199.2" width="30" height="28.8" as="geometry" />
12+
</mxCell>
13+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-4" value="" style="rounded=0;whiteSpace=wrap;html=1;sketch=1;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;dashed=1;dashPattern=8 8;" vertex="1" parent="1">
14+
<mxGeometry x="10" y="360" width="370" height="200" as="geometry" />
15+
</mxCell>
16+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-8" value="KIND CLUSTER&lt;div&gt;(LOCATION-1)&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;sketch=1;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;fillColor=#ffcc99;strokeColor=#36393d;" vertex="1" parent="1">
17+
<mxGeometry x="50" y="390" width="120" height="60" as="geometry" />
18+
</mxCell>
19+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-9" value="KIND CLUSTER&lt;div&gt;(LOCATION-N)&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;sketch=1;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;fillColor=#ffcc99;strokeColor=#36393d;" vertex="1" parent="1">
20+
<mxGeometry x="230" y="390" width="120" height="60" as="geometry" />
21+
</mxCell>
22+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-12" value="FAKE NODE" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;sketch=1;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;" vertex="1" parent="1">
23+
<mxGeometry x="80" y="490" width="50" height="50" as="geometry" />
24+
</mxCell>
25+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-13" value="FAKE NODE" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;sketch=1;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;" vertex="1" parent="1">
26+
<mxGeometry x="257" y="490" width="50" height="50" as="geometry" />
27+
</mxCell>
28+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-14" value="" style="endArrow=classic;html=1;rounded=0;sketch=1;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1">
29+
<mxGeometry width="50" height="50" relative="1" as="geometry">
30+
<mxPoint x="106" y="491" as="sourcePoint" />
31+
<mxPoint x="116" y="451" as="targetPoint" />
32+
</mxGeometry>
33+
</mxCell>
34+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-15" value="" style="endArrow=classic;html=1;rounded=0;sketch=1;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1">
35+
<mxGeometry width="50" height="50" relative="1" as="geometry">
36+
<mxPoint x="284" y="490" as="sourcePoint" />
37+
<mxPoint x="294" y="450" as="targetPoint" />
38+
</mxGeometry>
39+
</mxCell>
40+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-17" value="" style="endArrow=classic;html=1;rounded=0;sketch=1;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;entryX=0.442;entryY=1.003;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" target="GxJFPe5zSJm2rkMYr1Sb-1">
41+
<mxGeometry width="50" height="50" relative="1" as="geometry">
42+
<mxPoint x="110" y="390" as="sourcePoint" />
43+
<mxPoint x="160" y="340" as="targetPoint" />
44+
</mxGeometry>
45+
</mxCell>
46+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-18" value="" style="endArrow=classic;html=1;rounded=0;sketch=1;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;exitX=0.625;exitY=-0.042;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="1" source="GxJFPe5zSJm2rkMYr1Sb-9">
47+
<mxGeometry width="50" height="50" relative="1" as="geometry">
48+
<mxPoint x="320" y="380" as="sourcePoint" />
49+
<mxPoint x="400" y="240" as="targetPoint" />
50+
</mxGeometry>
51+
</mxCell>
52+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-19" value="" style="rounded=0;whiteSpace=wrap;html=1;sketch=1;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;dashed=1;dashPattern=8 8;" vertex="1" parent="1">
53+
<mxGeometry x="450" y="360" width="380" height="200" as="geometry" />
54+
</mxCell>
55+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-20" value="KIND CLUSTER&lt;div&gt;(EDGE-1)&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;sketch=1;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;fillColor=#cdeb8b;strokeColor=#36393d;" vertex="1" parent="1">
56+
<mxGeometry x="480" y="390" width="120" height="60" as="geometry" />
57+
</mxCell>
58+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-21" value="KIND CLUSTER&lt;div&gt;(EDGE-N)&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;sketch=1;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;fillColor=#cdeb8b;strokeColor=#36393d;" vertex="1" parent="1">
59+
<mxGeometry x="670" y="390" width="120" height="60" as="geometry" />
60+
</mxCell>
61+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-22" value="FAKE NODE" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;sketch=1;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;" vertex="1" parent="1">
62+
<mxGeometry x="515" y="490" width="50" height="50" as="geometry" />
63+
</mxCell>
64+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-23" value="FAKE NODE" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;sketch=1;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;" vertex="1" parent="1">
65+
<mxGeometry x="705" y="490" width="50" height="50" as="geometry" />
66+
</mxCell>
67+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-24" value="" style="endArrow=classic;html=1;rounded=0;sketch=1;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1">
68+
<mxGeometry width="50" height="50" relative="1" as="geometry">
69+
<mxPoint x="537" y="489" as="sourcePoint" />
70+
<mxPoint x="547" y="449" as="targetPoint" />
71+
</mxGeometry>
72+
</mxCell>
73+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-25" value="" style="endArrow=classic;html=1;rounded=0;sketch=1;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1">
74+
<mxGeometry width="50" height="50" relative="1" as="geometry">
75+
<mxPoint x="725" y="490" as="sourcePoint" />
76+
<mxPoint x="735" y="450" as="targetPoint" />
77+
</mxGeometry>
78+
</mxCell>
79+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-26" value="" style="endArrow=classic;html=1;rounded=0;sketch=1;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;exitX=0.408;exitY=-0.025;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="1" source="GxJFPe5zSJm2rkMYr1Sb-20">
80+
<mxGeometry width="50" height="50" relative="1" as="geometry">
81+
<mxPoint x="514.9988235294118" y="380" as="sourcePoint" />
82+
<mxPoint x="407.94" y="240" as="targetPoint" />
83+
</mxGeometry>
84+
</mxCell>
85+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-29" value="" style="endArrow=classic;html=1;rounded=0;sketch=1;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.62;entryY=1.009;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1">
86+
<mxGeometry width="50" height="50" relative="1" as="geometry">
87+
<mxPoint x="691" y="388.56" as="sourcePoint" />
88+
<mxPoint x="430" y="240.00000000000006" as="targetPoint" />
89+
</mxGeometry>
90+
</mxCell>
91+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-30" value="" style="aspect=fixed;sketch=0;html=1;dashed=0;whitespace=wrap;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon2;prIcon=api;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;" vertex="1" parent="1">
92+
<mxGeometry x="146.17000000000002" y="427" width="20.83" height="20" as="geometry" />
93+
</mxCell>
94+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-31" value="" style="aspect=fixed;sketch=0;html=1;dashed=0;whitespace=wrap;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon2;prIcon=api;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;" vertex="1" parent="1">
95+
<mxGeometry x="325.17" y="429" width="20.83" height="20" as="geometry" />
96+
</mxCell>
97+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-32" value="" style="aspect=fixed;sketch=0;html=1;dashed=0;whitespace=wrap;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon2;prIcon=api;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;" vertex="1" parent="1">
98+
<mxGeometry x="574.1700000000001" y="427" width="20.83" height="20" as="geometry" />
99+
</mxCell>
100+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-33" value="" style="aspect=fixed;sketch=0;html=1;dashed=0;whitespace=wrap;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon2;prIcon=api;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;" vertex="1" parent="1">
101+
<mxGeometry x="764.1700000000001" y="427" width="20.83" height="20" as="geometry" />
102+
</mxCell>
103+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-34" value="" style="shape=waypoint;sketch=0;fillStyle=solid;size=6;pointerEvents=1;points=[];fillColor=none;resizable=0;rotatable=0;perimeter=centerPerimeter;snapToPoint=1;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;" vertex="1" parent="1">
104+
<mxGeometry x="390" y="440" width="20" height="20" as="geometry" />
105+
</mxCell>
106+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-35" value="" style="shape=waypoint;sketch=0;fillStyle=solid;size=6;pointerEvents=1;points=[];fillColor=none;resizable=0;rotatable=0;perimeter=centerPerimeter;snapToPoint=1;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;" vertex="1" parent="1">
107+
<mxGeometry x="404" y="440" width="20" height="20" as="geometry" />
108+
</mxCell>
109+
<mxCell id="GxJFPe5zSJm2rkMYr1Sb-36" value="" style="shape=waypoint;sketch=0;fillStyle=solid;size=6;pointerEvents=1;points=[];fillColor=none;resizable=0;rotatable=0;perimeter=centerPerimeter;snapToPoint=1;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;" vertex="1" parent="1">
110+
<mxGeometry x="417" y="440" width="20" height="20" as="geometry" />
111+
</mxCell>
112+
<UserObject label="&lt;font style=&quot;font-size: 19px;&quot;&gt;WECs Hosting Instance-1&lt;/font&gt;" placeholders="1" name="Variable" id="GxJFPe5zSJm2rkMYr1Sb-39">
113+
<mxCell style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;" vertex="1" parent="1">
114+
<mxGeometry x="70" y="570" width="220" height="40" as="geometry" />
115+
</mxCell>
116+
</UserObject>
117+
<UserObject label="&lt;font style=&quot;font-size: 19px;&quot;&gt;WECs Hosting Instance-N&lt;/font&gt;" placeholders="1" name="Variable" id="GxJFPe5zSJm2rkMYr1Sb-40">
118+
<mxCell style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;" vertex="1" parent="1">
119+
<mxGeometry x="520" y="570" width="220" height="40" as="geometry" />
120+
</mxCell>
121+
</UserObject>
122+
</root>
123+
</mxGraphModel>
124+
</diagram>
125+
</mxfile>
87.1 KB
Loading
-88.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)