|
| 1 | +{ |
| 2 | + "parameters": { |
| 3 | + "api-version": "2020-12-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 | + "count": 3, |
| 51 | + "vmSize": "Standard_DS2_v2", |
| 52 | + "maxPods": 110, |
| 53 | + "osType": "Linux", |
| 54 | + "kubeletConfig": { |
| 55 | + "cpuManagerPolicy": "static", |
| 56 | + "cpuCfsQuota": true, |
| 57 | + "cpuCfsQuotaPeriod": "200ms", |
| 58 | + "imageGcHighThreshold": 90, |
| 59 | + "imageGcLowThreshold": 70, |
| 60 | + "topologyManagerPolicy": "best-effort", |
| 61 | + "allowedUnsafeSysctls": [ |
| 62 | + "kernel.msg*", |
| 63 | + "net.core.somaxconn" |
| 64 | + ], |
| 65 | + "failSwapOn": false |
| 66 | + }, |
| 67 | + "linuxOSConfig": { |
| 68 | + "sysctls": { |
| 69 | + "netCoreWmemDefault": 12345, |
| 70 | + "netIpv4TcpTwReuse": true, |
| 71 | + "netIpv4IpLocalPortRange": "20000 60000", |
| 72 | + "kernelThreadsMax": 99999 |
| 73 | + }, |
| 74 | + "transparentHugePageEnabled": "always", |
| 75 | + "transparentHugePageDefrag": "madvise", |
| 76 | + "swapFileSizeMB": 1500 |
| 77 | + } |
| 78 | + } |
| 79 | + } |
| 80 | + }, |
| 81 | + "201": { |
| 82 | + "body": { |
| 83 | + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1", |
| 84 | + "type": "Microsoft.ContainerService/managedClusters/agentPools", |
| 85 | + "name": "agentpool1", |
| 86 | + "properties": { |
| 87 | + "provisioningState": "Creating", |
| 88 | + "orchestratorVersion": "1.17.8", |
| 89 | + "count": 3, |
| 90 | + "vmSize": "Standard_DS2_v2", |
| 91 | + "maxPods": 110, |
| 92 | + "osType": "Linux", |
| 93 | + "kubeletConfig": { |
| 94 | + "cpuManagerPolicy": "static", |
| 95 | + "cpuCfsQuota": true, |
| 96 | + "cpuCfsQuotaPeriod": "200ms", |
| 97 | + "imageGcHighThreshold": 90, |
| 98 | + "imageGcLowThreshold": 70, |
| 99 | + "topologyManagerPolicy": "best-effort", |
| 100 | + "allowedUnsafeSysctls": [ |
| 101 | + "kernel.msg*", |
| 102 | + "net.core.somaxconn" |
| 103 | + ], |
| 104 | + "failSwapOn": false, |
| 105 | + "podMaxPids": 100 |
| 106 | + }, |
| 107 | + "linuxOSConfig": { |
| 108 | + "sysctls": { |
| 109 | + "netCoreWmemDefault": 65536, |
| 110 | + "netIpv4TcpTwReuse": true, |
| 111 | + "netIpv4IpLocalPortRange": "20000 60000", |
| 112 | + "kernelThreadsMax": 99999 |
| 113 | + }, |
| 114 | + "transparentHugePageEnabled": "always", |
| 115 | + "transparentHugePageDefrag": "madvise", |
| 116 | + "swapFileSizeMB": 1500 |
| 117 | + } |
| 118 | + } |
| 119 | + } |
| 120 | + } |
| 121 | + } |
| 122 | +} |
0 commit comments