-
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/aks to add version prev…
…iew/2024-09-02-preview (#31417) * Adds base for updating Microsoft.ContainerService/aks from version preview/2024-07-02-preview to version preview/2024-09-02-preview * Updates readme * Updates API version in new specs and examples * Nguyensteven/2024 09 02 preview acns api (#30708) * feat(retina): update advanced networking api in 2024-09-02-preview * run npx prettier * {AKS}: remove `default` from networkPlugin (#30845) NetworkPlugin will be defaulted based on k8s version rather than API version going forward. The default value in k8s < 1.30 will remain kubenet while in 1.30+ it will be CNI Overlay. * update (#30976) * add seccomp to kubelet config (#30974) * add seccomp to kubelet config * rewording description for default seccomp profile * add max unavailable (#31378) Co-authored-by: Yingni Zhou <jennifer@Mac.home> * fix breaking change 1042 (#31454) * Update sdk-suppressions.yaml --------- Co-authored-by: Steven Nguyen <30740718+snguyen64@users.noreply.github.com> Co-authored-by: Tyler Lloyd <tyler.lloyd@microsoft.com> Co-authored-by: beilei <beileihuang@microsoft.com> Co-authored-by: Jenniferyingni <Jennyingni@gmail.com> Co-authored-by: Yingni Zhou <jennifer@Mac.home> Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
- Loading branch information
1 parent
1d95a15
commit 0d8463d
Showing
141 changed files
with
27,351 additions
and
1 deletion.
There are no files selected for viewing
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
18 changes: 18 additions & 0 deletions
18
...ft.ContainerService/aks/preview/2024-09-02-preview/examples/AgentPoolsAbortOperation.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,18 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2024-09-02-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1" | ||
}, | ||
"responses": { | ||
"204": {}, | ||
"202": { | ||
"headers": { | ||
"location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2017-08-31", | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2017-08-31" | ||
} | ||
} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...oft.ContainerService/aks/preview/2024-09-02-preview/examples/AgentPoolsAssociate_CRG.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": "2024-09-02-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1", | ||
"parameters": { | ||
"properties": { | ||
"orchestratorVersion": "", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"osType": "Linux", | ||
"capacityReservationGroupID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/CapacityReservationGroups/crg1" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", | ||
"type": "Microsoft.ContainerService/managedClusters/agentPools", | ||
"name": "agentpool1", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"orchestratorVersion": "1.9.6", | ||
"currentOrchestratorVersion": "1.9.6", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"capacityReservationGroupID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/CapacityReservationGroups/crg1" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", | ||
"type": "Microsoft.ContainerService/managedClusters/agentPools", | ||
"name": "agentpool1", | ||
"properties": { | ||
"provisioningState": "Creating", | ||
"orchestratorVersion": "1.9.6", | ||
"currentOrchestratorVersion": "1.9.6", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"maxPods": 110, | ||
"osType": "Linux", | ||
"capacityReservationGroupID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/CapacityReservationGroups/crg1" | ||
} | ||
} | ||
} | ||
} | ||
} |
125 changes: 125 additions & 0 deletions
125
...nerService/aks/preview/2024-09-02-preview/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,125 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2024-09-02-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"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/00000000-0000-0000-0000-000000000000/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, | ||
"seccompDefault": "Unconfined" | ||
}, | ||
"linuxOSConfig": { | ||
"sysctls": { | ||
"netCoreWmemDefault": 12345, | ||
"netIpv4TcpTwReuse": true, | ||
"netIpv4IpLocalPortRange": "20000 60000", | ||
"kernelThreadsMax": 99999 | ||
}, | ||
"transparentHugePageEnabled": "always", | ||
"transparentHugePageDefrag": "madvise", | ||
"swapFileSizeMB": 1500 | ||
} | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/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 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...rService/aks/preview/2024-09-02-preview/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,54 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2024-09-02-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1", | ||
"parameters": { | ||
"properties": { | ||
"orchestratorVersion": "", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"osType": "Linux", | ||
"hostGroupID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/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", | ||
"hostGroupID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/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", | ||
"hostGroupID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1" | ||
} | ||
} | ||
} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...Service/aks/preview/2024-09-02-preview/examples/AgentPoolsCreate_EnableCustomCATrust.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": "2024-09-02-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1", | ||
"parameters": { | ||
"properties": { | ||
"orchestratorVersion": "", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"osType": "Linux", | ||
"enableCustomCATrust": true | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/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", | ||
"enableCustomCATrust": true | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/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", | ||
"enableCustomCATrust": true | ||
} | ||
} | ||
} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...vice/aks/preview/2024-09-02-preview/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": "2024-09-02-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"agentPoolName": "agentpool1", | ||
"parameters": { | ||
"properties": { | ||
"orchestratorVersion": "", | ||
"count": 3, | ||
"vmSize": "Standard_DS2_v2", | ||
"osType": "Linux", | ||
"enableEncryptionAtHost": true | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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 | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.