forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dev containerservice microsoft.container service 2021 02 01 (Azure#12771
) * Adds base for updating Microsoft.ContainerService from version stable/2020-12-01 to version 2021-02-01 * Updates readme * Updates API version in new specs and examples * aks: generate 2021-02-01 sdk (Azure#12311) * aks: add `allowNetworkPluginKubenet` field to `ManagedClusterPodIdentityProfile` (Azure#12309) * aks: add `allowNetworkPluginKubenet` field to `ManagedClusterPodIdentityProfile` * aks: add pod identity example * AKS: add fqdnSubdomain for private cluster with custom private dns zone (Azure#12361) * add fqdnSubdomain for private cluster with custom private dns zone * add example ref * fix example Co-authored-by: Li Ma <[email protected]> * add new disk choice (Azure#12682) * AKS: Add Node Public IP Prefix support. (Azure#12673) * Add azure portal fqdn (Azure#12725) * add azure portal fqdn * add azure portal fqdn * fix prettier Co-authored-by: Super <[email protected]> Co-authored-by: Li Ma <[email protected]> Co-authored-by: Ace Eldeib <[email protected]> Co-authored-by: Jun Sun <[email protected]> Co-authored-by: tilnl <[email protected]>
- Loading branch information
Showing
50 changed files
with
7,667 additions
and
2 deletions.
There are no files selected for viewing
122 changes: 122 additions & 0 deletions
122
...rosoft.ContainerService/stable/2021-02-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,122 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-02-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", | ||
"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", | ||
"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
....ContainerService/stable/2021-02-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,52 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-02-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", | ||
"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", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"enableEncryptionAtHost": true | ||
} | ||
} | ||
} | ||
} | ||
} |
56 changes: 56 additions & 0 deletions
56
...ger/Microsoft.ContainerService/stable/2021-02-01/examples/AgentPoolsCreate_Ephemeral.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,56 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-02-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1", | ||
"parameters": { | ||
"properties": { | ||
"orchestratorVersion": "", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"osType": "Linux", | ||
"osDiskType": "Ephemeral", | ||
"osDiskSizeGB": 64 | ||
} | ||
} | ||
}, | ||
"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", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"osDiskType": "Ephemeral", | ||
"osDiskSizeGB": 64 | ||
} | ||
} | ||
}, | ||
"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", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"osDiskType": "Ephemeral", | ||
"kubeletDiskType": "OS", | ||
"osDiskSizeGB": 64 | ||
} | ||
} | ||
} | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
...e-manager/Microsoft.ContainerService/stable/2021-02-01/examples/AgentPoolsCreate_PPG.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": "2021-02-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1", | ||
"parameters": { | ||
"properties": { | ||
"orchestratorVersion": "", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"osType": "Linux", | ||
"proximityPlacementGroupID": "/subscriptions/subid1/resourcegroups/rg1/providers//Microsoft.Compute/proximityPlacementGroups/ppg1" | ||
} | ||
} | ||
}, | ||
"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.9.6", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"proximityPlacementGroupID": "/subscriptions/subid1/resourcegroups/rg1/providers//Microsoft.Compute/proximityPlacementGroups/ppg1" | ||
} | ||
} | ||
}, | ||
"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.9.6", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"proximityPlacementGroupID": "/subscriptions/subid1/resourcegroups/rg1/providers//Microsoft.Compute/proximityPlacementGroups/ppg1" | ||
} | ||
} | ||
} | ||
} | ||
} |
84 changes: 84 additions & 0 deletions
84
...-manager/Microsoft.ContainerService/stable/2021-02-01/examples/AgentPoolsCreate_Spot.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,84 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-02-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1", | ||
"parameters": { | ||
"properties": { | ||
"orchestratorVersion": "", | ||
"count": 3, | ||
"vmSize": "Standard_DS1_v2", | ||
"osType": "Linux", | ||
"tags": { | ||
"name1": "val1" | ||
}, | ||
"nodeLabels": { | ||
"key1": "val1" | ||
}, | ||
"nodeTaints": [ | ||
"Key1=Value1:NoSchedule" | ||
], | ||
"scaleSetPriority": "Spot", | ||
"scaleSetEvictionPolicy": "Delete" | ||
} | ||
} | ||
}, | ||
"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.9.6", | ||
"count": 3, | ||
"vmSize": "Standard_DS1_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"tags": { | ||
"name1": "val1" | ||
}, | ||
"nodeLabels": { | ||
"key1": "val1" | ||
}, | ||
"nodeTaints": [ | ||
"Key1=Value1:NoSchedule" | ||
], | ||
"scaleSetPriority": "Spot", | ||
"scaleSetEvictionPolicy": "Delete", | ||
"spotMaxPrice": -1 | ||
} | ||
} | ||
}, | ||
"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.9.6", | ||
"count": 3, | ||
"vmSize": "Standard_DS1_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"tags": { | ||
"name1": "val1" | ||
}, | ||
"nodeLabels": { | ||
"key1": "val1" | ||
}, | ||
"nodeTaints": [ | ||
"Key1=Value1:NoSchedule" | ||
], | ||
"scaleSetPriority": "Spot", | ||
"scaleSetEvictionPolicy": "Delete", | ||
"spotMaxPrice": -1 | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.