Skip to content

Commit 7848c04

Browse files
FumingZhangUtheManMikolaj UmanskiwenjungaogaogaoWenjun Gao
authored
[Hub Generated] Review request for Microsoft.ContainerService/aks to add version stable/2023-07-01 (#25151)
* Adds base for updating Microsoft.ContainerService/aks from version stable/2023-06-01 to version 2023-07-01 * Updates readme * Updates API version in new specs and examples * feat: add range min/max for custom node config GA changes for 2023-07-01 API (#25068) Co-authored-by: Mikolaj Umanski <mumanski@microsoft.com> * update readmes (#25048) * add force upgrade option (#25100) * add force upgrade option * update msg --------- Co-authored-by: Wenjun Gao <wenjungao@microsoft.com> --------- Co-authored-by: Mikołaj Umański <mik.umanski@gmail.com> Co-authored-by: Mikolaj Umanski <mumanski@microsoft.com> Co-authored-by: Wenjun Gao <wenjungaoat@gmail.com> Co-authored-by: Wenjun Gao <wenjungao@microsoft.com>
1 parent 2888f49 commit 7848c04

File tree

96 files changed

+19823
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+19823
-3
lines changed

specification/containerservice/resource-manager/Microsoft.ContainerService/aks/readme.java.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,20 @@ batch:
7878
- tag: package-2023-05
7979
- tag: package-preview-2023-06
8080
- tag: package-2023-06
81+
- tag: package-2023-07
82+
```
83+
84+
### Tag: package-2023-07 and java
85+
86+
These settings apply only when `--tag=package-2023-07` is specified on the command line.
87+
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`.
88+
89+
``` yaml $(tag) == 'package-2023-07' && $(java) && $(multiapi)
90+
java:
91+
namespace: com.microsoft.azure.management.containerservice.v2023_07_01
92+
output-folder: $(azure-libraries-for-java-folder)/sdk/containerservice/mgmt-v2023_07_01
93+
regenerate-manager: true
94+
generate-interface: true
8195
```
8296

8397
### Tag: package-2023-06 and java

specification/containerservice/resource-manager/Microsoft.ContainerService/aks/readme.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,23 @@ These are the global settings for the ContainerServices API.
3434

3535
``` yaml
3636
openapi-type: arm
37-
tag: package-2023-06
37+
tag: package-2023-07
3838
```
3939
40+
41+
### Tag: package-2023-07
42+
43+
These settings apply only when `--tag=package-2023-07` is specified on the command line.
44+
45+
```yaml $(tag) == 'package-2023-07'
46+
input-file:
47+
- stable/2023-07-01/managedClusters.json
48+
```
4049
### Tag: package-2023-06
4150

4251
These settings apply only when `--tag=package-2023-06` is specified on the command line.
4352

44-
```yaml $(tag) == 'package-2023-06'
53+
``` yaml $(tag) == 'package-2023-06'
4554
input-file:
4655
- stable/2023-06-01/managedClusters.json
4756
```

specification/containerservice/resource-manager/Microsoft.ContainerService/aks/readme.python.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ no-namespace-folders: true
1616
Generate all API versions currently shipped for this package
1717
1818
```yaml $(python)
19-
default-api-version: "2023-06-01"
19+
default-api-version: "2023-07-01"
2020
multiapi: true
2121
batch:
22+
- tag: package-2023-07
2223
- tag: package-2023-06
2324
- tag: package-preview-2023-06
2425
- tag: package-2023-05
@@ -90,6 +91,16 @@ perform-load: false
9091
clear-output-folder: false
9192
```
9293
94+
### Tag: package-2023-07 and python
95+
96+
These settings apply only when `--tag=package-2023-07 --python` is specified on the command line.
97+
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
98+
99+
``` yaml $(tag) == 'package-2023-07' && $(python)
100+
namespace: azure.mgmt.containerservice.v2023_07_01
101+
output-folder: $(python-sdks-folder)/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2023_07_01
102+
```
103+
93104
### Tag: package-2023-06 and python
94105

95106
These settings apply only when `--tag=package-2023-06 --python` is specified on the command line.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-07-01",
4+
"subscriptionId": "subid1",
5+
"resourceGroupName": "rg1",
6+
"resourceName": "clustername1",
7+
"agentPoolName": "agentpool1"
8+
},
9+
"responses": {
10+
"204": {},
11+
"202": {
12+
"headers": {
13+
"location": "https://management.azure.com/subscriptions/subid1/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2023-07-01",
14+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid1/providers/Microsoft.ContainerService/locations/eastus/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2023-07-01"
15+
}
16+
}
17+
}
18+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-07-01",
4+
"subscriptionId": "subid1",
5+
"resourceGroupName": "rg1",
6+
"resourceName": "clustername1",
7+
"agentPoolName": "agentpool1",
8+
"parameters": {
9+
"properties": {
10+
"orchestratorVersion": "",
11+
"count": 3,
12+
"vmSize": "Standard_DS2_v2",
13+
"osType": "Linux",
14+
"kubeletConfig": {
15+
"cpuManagerPolicy": "static",
16+
"cpuCfsQuota": true,
17+
"cpuCfsQuotaPeriod": "200ms",
18+
"imageGcHighThreshold": 90,
19+
"imageGcLowThreshold": 70,
20+
"topologyManagerPolicy": "best-effort",
21+
"allowedUnsafeSysctls": [
22+
"kernel.msg*",
23+
"net.core.somaxconn"
24+
],
25+
"failSwapOn": false
26+
},
27+
"linuxOSConfig": {
28+
"sysctls": {
29+
"netCoreWmemDefault": 12345,
30+
"netIpv4TcpTwReuse": true,
31+
"netIpv4IpLocalPortRange": "20000 60000",
32+
"kernelThreadsMax": 99999
33+
},
34+
"transparentHugePageEnabled": "always",
35+
"transparentHugePageDefrag": "madvise",
36+
"swapFileSizeMB": 1500
37+
}
38+
}
39+
}
40+
},
41+
"responses": {
42+
"200": {
43+
"body": {
44+
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1",
45+
"type": "Microsoft.ContainerService/managedClusters/agentPools",
46+
"name": "agentpool1",
47+
"properties": {
48+
"provisioningState": "Succeeded",
49+
"orchestratorVersion": "1.17.8",
50+
"currentOrchestratorVersion": "1.17.8",
51+
"count": 3,
52+
"vmSize": "Standard_DS2_v2",
53+
"maxPods": 110,
54+
"osType": "Linux",
55+
"kubeletConfig": {
56+
"cpuManagerPolicy": "static",
57+
"cpuCfsQuota": true,
58+
"cpuCfsQuotaPeriod": "200ms",
59+
"imageGcHighThreshold": 90,
60+
"imageGcLowThreshold": 70,
61+
"topologyManagerPolicy": "best-effort",
62+
"allowedUnsafeSysctls": [
63+
"kernel.msg*",
64+
"net.core.somaxconn"
65+
],
66+
"failSwapOn": false
67+
},
68+
"linuxOSConfig": {
69+
"sysctls": {
70+
"netCoreWmemDefault": 12345,
71+
"netIpv4TcpTwReuse": true,
72+
"netIpv4IpLocalPortRange": "20000 60000",
73+
"kernelThreadsMax": 99999
74+
},
75+
"transparentHugePageEnabled": "always",
76+
"transparentHugePageDefrag": "madvise",
77+
"swapFileSizeMB": 1500
78+
}
79+
}
80+
}
81+
},
82+
"201": {
83+
"body": {
84+
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1",
85+
"type": "Microsoft.ContainerService/managedClusters/agentPools",
86+
"name": "agentpool1",
87+
"properties": {
88+
"provisioningState": "Creating",
89+
"orchestratorVersion": "1.17.8",
90+
"currentOrchestratorVersion": "1.17.8",
91+
"count": 3,
92+
"vmSize": "Standard_DS2_v2",
93+
"maxPods": 110,
94+
"osType": "Linux",
95+
"kubeletConfig": {
96+
"cpuManagerPolicy": "static",
97+
"cpuCfsQuota": true,
98+
"cpuCfsQuotaPeriod": "200ms",
99+
"imageGcHighThreshold": 90,
100+
"imageGcLowThreshold": 70,
101+
"topologyManagerPolicy": "best-effort",
102+
"allowedUnsafeSysctls": [
103+
"kernel.msg*",
104+
"net.core.somaxconn"
105+
],
106+
"failSwapOn": false,
107+
"podMaxPids": 100
108+
},
109+
"linuxOSConfig": {
110+
"sysctls": {
111+
"netCoreWmemDefault": 65536,
112+
"netIpv4TcpTwReuse": true,
113+
"netIpv4IpLocalPortRange": "20000 60000",
114+
"kernelThreadsMax": 99999
115+
},
116+
"transparentHugePageEnabled": "always",
117+
"transparentHugePageDefrag": "madvise",
118+
"swapFileSizeMB": 1500
119+
}
120+
}
121+
}
122+
}
123+
}
124+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-07-01",
4+
"subscriptionId": "subid1",
5+
"resourceGroupName": "rg1",
6+
"resourceName": "clustername1",
7+
"agentPoolName": "agentpool1",
8+
"parameters": {
9+
"properties": {
10+
"orchestratorVersion": "",
11+
"count": 3,
12+
"vmSize": "Standard_DS2_v2",
13+
"osType": "Linux",
14+
"hostGroupID": "/subscriptions/subid1/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1"
15+
}
16+
}
17+
},
18+
"responses": {
19+
"200": {
20+
"body": {
21+
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1",
22+
"type": "Microsoft.ContainerService/managedClusters/agentPools",
23+
"name": "agentpool1",
24+
"properties": {
25+
"provisioningState": "Succeeded",
26+
"orchestratorVersion": "1.19.6",
27+
"count": 3,
28+
"vmSize": "Standard_DS2_v2",
29+
"maxPods": 110,
30+
"osType": "Linux",
31+
"hostGroupID": "/subscriptions/subid1/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1"
32+
}
33+
}
34+
},
35+
"201": {
36+
"body": {
37+
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1",
38+
"type": "Microsoft.ContainerService/managedClusters/agentPools",
39+
"name": "agentpool1",
40+
"properties": {
41+
"provisioningState": "Creating",
42+
"orchestratorVersion": "1.19.6",
43+
"count": 3,
44+
"vmSize": "Standard_DS2_v2",
45+
"maxPods": 110,
46+
"osType": "Linux",
47+
"hostGroupID": "/subscriptions/subid1/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1"
48+
}
49+
}
50+
}
51+
}
52+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-07-01",
4+
"subscriptionId": "subid1",
5+
"resourceGroupName": "rg1",
6+
"resourceName": "clustername1",
7+
"agentPoolName": "agentpool1",
8+
"parameters": {
9+
"properties": {
10+
"orchestratorVersion": "",
11+
"count": 3,
12+
"vmSize": "Standard_DS2_v2",
13+
"osType": "Linux",
14+
"enableEncryptionAtHost": true
15+
}
16+
}
17+
},
18+
"responses": {
19+
"200": {
20+
"body": {
21+
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1",
22+
"type": "Microsoft.ContainerService/managedClusters/agentPools",
23+
"name": "agentpool1",
24+
"properties": {
25+
"provisioningState": "Succeeded",
26+
"orchestratorVersion": "1.17.13",
27+
"currentOrchestratorVersion": "1.17.13",
28+
"count": 3,
29+
"vmSize": "Standard_DS2_v2",
30+
"maxPods": 110,
31+
"osType": "Linux",
32+
"enableEncryptionAtHost": true
33+
}
34+
}
35+
},
36+
"201": {
37+
"body": {
38+
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1",
39+
"type": "Microsoft.ContainerService/managedClusters/agentPools",
40+
"name": "agentpool1",
41+
"properties": {
42+
"provisioningState": "Creating",
43+
"orchestratorVersion": "1.17.13",
44+
"currentOrchestratorVersion": "1.17.13",
45+
"count": 3,
46+
"vmSize": "Standard_DS2_v2",
47+
"maxPods": 110,
48+
"osType": "Linux",
49+
"enableEncryptionAtHost": true
50+
}
51+
}
52+
}
53+
}
54+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-07-01",
4+
"subscriptionId": "subid1",
5+
"resourceGroupName": "rg1",
6+
"resourceName": "clustername1",
7+
"agentPoolName": "agentpool1",
8+
"parameters": {
9+
"properties": {
10+
"orchestratorVersion": "",
11+
"count": 3,
12+
"vmSize": "Standard_DS2_v2",
13+
"osType": "Linux",
14+
"enableFIPS": true
15+
}
16+
}
17+
},
18+
"responses": {
19+
"200": {
20+
"body": {
21+
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1",
22+
"type": "Microsoft.ContainerService/managedClusters/agentPools",
23+
"name": "agentpool1",
24+
"properties": {
25+
"provisioningState": "Succeeded",
26+
"orchestratorVersion": "1.19.6",
27+
"currentOrchestratorVersion": "1.19.6",
28+
"count": 3,
29+
"vmSize": "Standard_DS2_v2",
30+
"maxPods": 110,
31+
"osType": "Linux",
32+
"enableFIPS": true
33+
}
34+
}
35+
},
36+
"201": {
37+
"body": {
38+
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1",
39+
"type": "Microsoft.ContainerService/managedClusters/agentPools",
40+
"name": "agentpool1",
41+
"properties": {
42+
"provisioningState": "Creating",
43+
"orchestratorVersion": "1.19.6",
44+
"currentOrchestratorVersion": "1.19.6",
45+
"count": 3,
46+
"vmSize": "Standard_DS2_v2",
47+
"maxPods": 110,
48+
"osType": "Linux",
49+
"enableFIPS": true
50+
}
51+
}
52+
}
53+
}
54+
}

0 commit comments

Comments
 (0)