-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Review request for Microsoft.ContainerService to add version 2022-07-…
…01 (#20285) * Adds base for updating Microsoft.ContainerService from version stable/2022-06-01 to version 2022-07-01 * Updates readme * Updates API version in new specs and examples * update readmes (#19871) * Add example of Azure KeyVault Secrets Provider Addon for 2022-07-01 (#19875) * add example of kv secret provider addon * fix lint * AKS OSSKU supports Windows options (#19976) * OSSKU supports Windows options * Improve description * add default for availableAgentPoolVersions (#19901) * sync PR #19592 ARM ID annotations for ContainerService * separate examples for list cluster credentials operations Co-authored-by: Shiqian Tao <[email protected]>
- Loading branch information
1 parent
8c6f54e
commit 217094c
Showing
88 changed files
with
18,496 additions
and
1 deletion.
There are no files selected for viewing
124 changes: 124 additions & 0 deletions
124
...rosoft.ContainerService/stable/2022-07-01/examples/AgentPoolsCreate_CustomNodeConfig.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-07-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1", | ||
"parameters": { | ||
"properties": { | ||
"orchestratorVersion": "", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"osType": "Linux", | ||
"kubeletConfig": { | ||
"cpuManagerPolicy": "static", | ||
"cpuCfsQuota": true, | ||
"cpuCfsQuotaPeriod": "200ms", | ||
"imageGcHighThreshold": 90, | ||
"imageGcLowThreshold": 70, | ||
"topologyManagerPolicy": "best-effort", | ||
"allowedUnsafeSysctls": [ | ||
"kernel.msg*", | ||
"net.core.somaxconn" | ||
], | ||
"failSwapOn": false | ||
}, | ||
"linuxOSConfig": { | ||
"sysctls": { | ||
"netCoreWmemDefault": 12345, | ||
"netIpv4TcpTwReuse": true, | ||
"netIpv4IpLocalPortRange": "20000 60000", | ||
"kernelThreadsMax": 99999 | ||
}, | ||
"transparentHugePageEnabled": "always", | ||
"transparentHugePageDefrag": "madvise", | ||
"swapFileSizeMB": 1500 | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", | ||
"type": "Microsoft.ContainerService/managedClusters/agentPools", | ||
"name": "agentpool1", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"orchestratorVersion": "1.17.8", | ||
"currentOrchestratorVersion": "1.17.8", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"kubeletConfig": { | ||
"cpuManagerPolicy": "static", | ||
"cpuCfsQuota": true, | ||
"cpuCfsQuotaPeriod": "200ms", | ||
"imageGcHighThreshold": 90, | ||
"imageGcLowThreshold": 70, | ||
"topologyManagerPolicy": "best-effort", | ||
"allowedUnsafeSysctls": [ | ||
"kernel.msg*", | ||
"net.core.somaxconn" | ||
], | ||
"failSwapOn": false | ||
}, | ||
"linuxOSConfig": { | ||
"sysctls": { | ||
"netCoreWmemDefault": 12345, | ||
"netIpv4TcpTwReuse": true, | ||
"netIpv4IpLocalPortRange": "20000 60000", | ||
"kernelThreadsMax": 99999 | ||
}, | ||
"transparentHugePageEnabled": "always", | ||
"transparentHugePageDefrag": "madvise", | ||
"swapFileSizeMB": 1500 | ||
} | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", | ||
"type": "Microsoft.ContainerService/managedClusters/agentPools", | ||
"name": "agentpool1", | ||
"properties": { | ||
"provisioningState": "Creating", | ||
"orchestratorVersion": "1.17.8", | ||
"currentOrchestratorVersion": "1.17.8", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"kubeletConfig": { | ||
"cpuManagerPolicy": "static", | ||
"cpuCfsQuota": true, | ||
"cpuCfsQuotaPeriod": "200ms", | ||
"imageGcHighThreshold": 90, | ||
"imageGcLowThreshold": 70, | ||
"topologyManagerPolicy": "best-effort", | ||
"allowedUnsafeSysctls": [ | ||
"kernel.msg*", | ||
"net.core.somaxconn" | ||
], | ||
"failSwapOn": false, | ||
"podMaxPids": 100 | ||
}, | ||
"linuxOSConfig": { | ||
"sysctls": { | ||
"netCoreWmemDefault": 65536, | ||
"netIpv4TcpTwReuse": true, | ||
"netIpv4IpLocalPortRange": "20000 60000", | ||
"kernelThreadsMax": 99999 | ||
}, | ||
"transparentHugePageEnabled": "always", | ||
"transparentHugePageDefrag": "madvise", | ||
"swapFileSizeMB": 1500 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
...soft.ContainerService/stable/2022-07-01/examples/AgentPoolsCreate_DedicatedHostGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-01-02-preview", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1", | ||
"parameters": { | ||
"properties": { | ||
"orchestratorVersion": "", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"osType": "Linux", | ||
"hostGroupID": "/subscriptions/subid1/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", | ||
"type": "Microsoft.ContainerService/managedClusters/agentPools", | ||
"name": "agentpool1", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"orchestratorVersion": "1.19.6", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"hostGroupID": "/subscriptions/subid1/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", | ||
"type": "Microsoft.ContainerService/managedClusters/agentPools", | ||
"name": "agentpool1", | ||
"properties": { | ||
"provisioningState": "Creating", | ||
"orchestratorVersion": "1.19.6", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"hostGroupID": "/subscriptions/subid1/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1" | ||
} | ||
} | ||
} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
....ContainerService/stable/2022-07-01/examples/AgentPoolsCreate_EnableEncryptionAtHost.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-07-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1", | ||
"parameters": { | ||
"properties": { | ||
"orchestratorVersion": "", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"osType": "Linux", | ||
"enableEncryptionAtHost": true | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", | ||
"type": "Microsoft.ContainerService/managedClusters/agentPools", | ||
"name": "agentpool1", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"orchestratorVersion": "1.17.13", | ||
"currentOrchestratorVersion": "1.17.13", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"enableEncryptionAtHost": true | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", | ||
"type": "Microsoft.ContainerService/managedClusters/agentPools", | ||
"name": "agentpool1", | ||
"properties": { | ||
"provisioningState": "Creating", | ||
"orchestratorVersion": "1.17.13", | ||
"currentOrchestratorVersion": "1.17.13", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"enableEncryptionAtHost": true | ||
} | ||
} | ||
} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...er/Microsoft.ContainerService/stable/2022-07-01/examples/AgentPoolsCreate_EnableFIPS.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-07-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1", | ||
"parameters": { | ||
"properties": { | ||
"orchestratorVersion": "", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"osType": "Linux", | ||
"enableFIPS": true | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", | ||
"type": "Microsoft.ContainerService/managedClusters/agentPools", | ||
"name": "agentpool1", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"orchestratorVersion": "1.19.6", | ||
"currentOrchestratorVersion": "1.19.6", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"enableFIPS": true | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", | ||
"type": "Microsoft.ContainerService/managedClusters/agentPools", | ||
"name": "agentpool1", | ||
"properties": { | ||
"provisioningState": "Creating", | ||
"orchestratorVersion": "1.19.6", | ||
"currentOrchestratorVersion": "1.19.6", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"enableFIPS": true | ||
} | ||
} | ||
} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...icrosoft.ContainerService/stable/2022-07-01/examples/AgentPoolsCreate_EnableUltraSSD.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-07-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1", | ||
"parameters": { | ||
"properties": { | ||
"orchestratorVersion": "", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"osType": "Linux", | ||
"enableUltraSSD": true | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", | ||
"type": "Microsoft.ContainerService/managedClusters/agentPools", | ||
"name": "agentpool1", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"orchestratorVersion": "1.17.13", | ||
"currentOrchestratorVersion": "1.17.13", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"enableUltraSSD": true | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", | ||
"type": "Microsoft.ContainerService/managedClusters/agentPools", | ||
"name": "agentpool1", | ||
"properties": { | ||
"provisioningState": "Creating", | ||
"orchestratorVersion": "1.17.13", | ||
"currentOrchestratorVersion": "1.17.13", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"enableUltraSSD": true | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.