Skip to content

Commit a92f7d4

Browse files
Yongli Chenjaer-tsun
authored andcommitted
E2E test apimodel (#295)
* e2e test acs-engine deployment template * update windows cni url * update windows credentials * leave cni url empty * apply windows patch to fix dns error * Update cniLinux.json
1 parent 84365f9 commit a92f7d4

File tree

2 files changed

+102
-0
lines changed

2 files changed

+102
-0
lines changed

test/e2e/kubernetes/cniLinux.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"apiVersion": "vlabs",
3+
"properties": {
4+
"orchestratorProfile": {
5+
"orchestratorType": "Kubernetes",
6+
"orchestratorRelease": "1.11",
7+
"kubernetesConfig":{
8+
"networkPlugin":"azure",
9+
"networkPolicy":"azure",
10+
"azureCNIVersion":"v1.0.16",
11+
"azureCNIURLLinux":""
12+
}
13+
},
14+
"masterProfile": {
15+
"count": 1,
16+
"dnsPrefix": "cniLinux",
17+
"vmSize": "Standard_D2_v2"
18+
},
19+
"agentPoolProfiles": [
20+
{
21+
"name": "agentpool1",
22+
"count": 3,
23+
"vmSize": "Standard_D2_v2",
24+
"availabilityProfile": "AvailabilitySet"
25+
}
26+
],
27+
"linuxProfile": {
28+
"adminUsername": "azureuser",
29+
"ssh": {
30+
"publicKeys": [
31+
{
32+
"keyData":""
33+
}
34+
]
35+
}
36+
},
37+
"servicePrincipalProfile": {
38+
"clientId": "",
39+
"secret": ""
40+
}
41+
}
42+
}
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{
2+
"apiVersion":"vlabs",
3+
"properties":{
4+
"orchestratorProfile":{
5+
"orchestratorType":"Kubernetes",
6+
"orchestratorRelease": "1.11",
7+
"kubernetesConfig":{
8+
"networkPlugin":"azure",
9+
"networkPolicy":"azure",
10+
"azureCNIVersion":"v1.0.16",
11+
"azureCNIURLWindows":""
12+
}
13+
},
14+
"masterProfile":{
15+
"count":1,
16+
"dnsPrefix":"cniWindows",
17+
"vmSize":"Standard_D2_v2"
18+
},
19+
"agentPoolProfiles":[
20+
{
21+
"name":"windowspool2",
22+
"count":2,
23+
"vmSize":"Standard_D2_v2",
24+
"availabilityProfile":"AvailabilitySet",
25+
"osType":"Windows",
26+
"extensions": [
27+
{
28+
"name": "windows-patches"
29+
}
30+
]
31+
}
32+
],
33+
"extensionProfiles": [
34+
{
35+
"name": "windows-patches",
36+
"version": "v1",
37+
"rootURL": "https://raw.githubusercontent.com/Azure/aks-engine/master/",
38+
"extensionParameters": "'http://download.windowsupdate.com/c/msdownload/update/software/updt/2019/01/windows10.0-kb4476976-x64_a9c241844c041cb8dbcf28b5635eecb1a57e028a.msu'"
39+
}
40+
],
41+
"windowsProfile":{
42+
"adminUsername":"azureuser",
43+
"adminPassword":"azureTest@!"
44+
},
45+
"linuxProfile":{
46+
"adminUsername":"azureuser",
47+
"ssh":{
48+
"publicKeys":[
49+
{
50+
"keyData":""
51+
}
52+
]
53+
}
54+
},
55+
"servicePrincipalProfile":{
56+
"clientId":"",
57+
"secret":""
58+
}
59+
}
60+
}

0 commit comments

Comments
 (0)