From 37016fd0811c6428bf03a5bda52195e50ac5ec91 Mon Sep 17 00:00:00 2001 From: mattstam Date: Mon, 14 Nov 2022 14:37:47 -0800 Subject: [PATCH 1/6] Support updating kube-proxy configuration with 'az aks update --kube-proxy-config file.json' --- src/aks-preview/HISTORY.rst | 1 + src/aks-preview/azext_aks_preview/_help.py | 3 + src/aks-preview/azext_aks_preview/_params.py | 1 + src/aks-preview/azext_aks_preview/custom.py | 1 + .../managed_cluster_decorator.py | 15 + .../tests/latest/data/kubeproxyconfig.json | 5 +- .../latest/data/kubeproxyconfig_update.json | 7 + ...est_aks_update_with_kube_proxy_config.yaml | 1216 +++++++++++++++++ .../tests/latest/test_aks_commands.py | 43 +- 9 files changed, 1286 insertions(+), 6 deletions(-) create mode 100644 src/aks-preview/azext_aks_preview/tests/latest/data/kubeproxyconfig_update.json create mode 100644 src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_kube_proxy_config.yaml diff --git a/src/aks-preview/HISTORY.rst b/src/aks-preview/HISTORY.rst index 95afc7103a4..bec1cc4f417 100644 --- a/src/aks-preview/HISTORY.rst +++ b/src/aks-preview/HISTORY.rst @@ -13,6 +13,7 @@ Pending +++++++ * Add custom transform for custom CA +* Support updating kube-proxy configuration with `az aks update --kube-proxy-config file.json`. 0.5.116 +++++++ diff --git a/src/aks-preview/azext_aks_preview/_help.py b/src/aks-preview/azext_aks_preview/_help.py index 95576e2a150..bf5d89c896f 100644 --- a/src/aks-preview/azext_aks_preview/_help.py +++ b/src/aks-preview/azext_aks_preview/_help.py @@ -816,6 +816,9 @@ - name: --http-proxy-config type: string short-summary: HTTP Proxy configuration for this cluster. + - name: --kube-proxy-config + type: string + short-summary: kube-proxy configuration for this cluster. - name: --enable-azure-keyvault-kms type: bool short-summary: Enable Azure KeyVault Key Management Service. diff --git a/src/aks-preview/azext_aks_preview/_params.py b/src/aks-preview/azext_aks_preview/_params.py index ba35ca6542b..c09f5883448 100644 --- a/src/aks-preview/azext_aks_preview/_params.py +++ b/src/aks-preview/azext_aks_preview/_params.py @@ -231,6 +231,7 @@ def load_arguments(self, _): c.argument('network_policy') c.argument('kube_proxy_config') c.argument('auto_upgrade_channel', arg_type=get_enum_type(auto_upgrade_channels)) + c.argument('kube_proxy_config') c.argument('cluster_autoscaler_profile', nargs='+', options_list=["--cluster-autoscaler-profile", "--ca-profile"], help="Space-separated list of key=value pairs for configuring cluster autoscaler. Pass an empty string to clear the profile.") c.argument('uptime_sla', action='store_true') diff --git a/src/aks-preview/azext_aks_preview/custom.py b/src/aks-preview/azext_aks_preview/custom.py index eb2ab869f53..502563528bf 100644 --- a/src/aks-preview/azext_aks_preview/custom.py +++ b/src/aks-preview/azext_aks_preview/custom.py @@ -729,6 +729,7 @@ def aks_update( load_balancer_backend_pool_type=None, nat_gateway_managed_outbound_ip_count=None, nat_gateway_idle_timeout=None, + kube_proxy_config=None, auto_upgrade_channel=None, cluster_autoscaler_profile=None, uptime_sla=False, diff --git a/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py b/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py index 1eb2f83004c..5c83bcbadad 100644 --- a/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py +++ b/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py @@ -2852,6 +2852,21 @@ def update_http_proxy_config(self, mc: ManagedCluster) -> ManagedCluster: mc.http_proxy_config = self.context.get_http_proxy_config() return mc + def set_up_kube_proxy_config(self, mc: ManagedCluster) -> ManagedCluster: + """Set up kube-proxy config for the ManagedCluster object. + + :return: the ManagedCluster object + """ + self._ensure_mc(mc) + + if not mc.network_profile: + raise UnknownError( + "Unexpectedly get an empty network profile in the process of updating kube-proxy config." + ) + + mc.network_profile.kube_proxy_config = self.context.get_kube_proxy_config() + return mc + def update_pod_security_policy(self, mc: ManagedCluster) -> ManagedCluster: """Update pod security policy for the ManagedCluster object. diff --git a/src/aks-preview/azext_aks_preview/tests/latest/data/kubeproxyconfig.json b/src/aks-preview/azext_aks_preview/tests/latest/data/kubeproxyconfig.json index c6bb85253f7..b538edd3d08 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/data/kubeproxyconfig.json +++ b/src/aks-preview/azext_aks_preview/tests/latest/data/kubeproxyconfig.json @@ -1,7 +1,4 @@ { "enabled": true, - "mode": "IPVS", - "ipvsConfig": { - "scheduler": "LeastConnection" - } + "mode": "IPTABLES" } \ No newline at end of file diff --git a/src/aks-preview/azext_aks_preview/tests/latest/data/kubeproxyconfig_update.json b/src/aks-preview/azext_aks_preview/tests/latest/data/kubeproxyconfig_update.json new file mode 100644 index 00000000000..c6bb85253f7 --- /dev/null +++ b/src/aks-preview/azext_aks_preview/tests/latest/data/kubeproxyconfig_update.json @@ -0,0 +1,7 @@ +{ + "enabled": true, + "mode": "IPVS", + "ipvsConfig": { + "scheduler": "LeastConnection" + } +} \ No newline at end of file diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_kube_proxy_config.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_kube_proxy_config.yaml new file mode 100644 index 00000000000..b8e5825ceb7 --- /dev/null +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_kube_proxy_config.yaml @@ -0,0 +1,1216 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value + --enable-managed-identity --yes -o + User-Agent: + - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.6 + (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-11-14T22:29:22Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '305' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 14 Nov 2022 22:29:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestpwsizpudt-8ecadf", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": + 0, "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": + false, "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": + "", "upgradeSettings": {}, "enableNodePublicIP": false, "enableCustomCATrust": + false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "nodeTaints": [], "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "networkProfile": {}, "name": "nodepool1"}], "linuxProfile": + {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": + false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", + "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": + "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard", + "kubeProxyConfig": {"enabled": true, "mode": "IPTABLES"}}, "disableLocalAccounts": + false, "storageProfile": {}}}' + headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/KubeProxyConfigurationPreview + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + Content-Length: + - '1967' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value + --enable-managed-identity --yes -o + User-Agent: + - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b + Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-09-02-preview + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.23.12\",\n \"currentKubernetesVersion\"\ + : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestpwsizpudt-8ecadf\",\n\ + \ \"fqdn\": \"cliakstest-clitestpwsizpudt-8ecadf-7b3f8f35.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestpwsizpudt-8ecadf-7b3f8f35.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ + \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.23.12\"\ + ,\n \"currentOrchestratorVersion\": \"1.23.12\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ + ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-1804gen2containerd-2022.10.24\",\n \"upgradeSettings\":\ + \ {},\n \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n \ + \ ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa\ + \ AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n\ + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\"\ + ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ + count\": 1\n },\n \"backendPoolType\": \"nodeIPConfiguration\"\n \ + \ },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\"\ + ,\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\"\ + ,\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\ + \n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\"\ + : [\n \"IPv4\"\n ],\n \"kubeProxyConfig\": {\n \"enabled\":\ + \ true,\n \"mode\": \"IPTABLES\"\n }\n },\n \"maxAgentPools\":\ + \ 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n\ + \ \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": true,\n\ + \ \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\"\ + : true\n },\n \"snapshotController\": {\n \"enabled\": true\n \ + \ }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n\ + \ \"workloadAutoScalerProfile\": {}\n },\n \"identity\": {\n \"type\"\ + : \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/83f2e832-621c-4cdf-ae34-ba537e39ceeb?api-version=2016-03-30 + cache-control: + - no-cache + content-length: + - '3887' + content-type: + - application/json + date: + - Mon, 14 Nov 2022 22:29:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value + --enable-managed-identity --yes -o + User-Agent: + - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b + Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/83f2e832-621c-4cdf-ae34-ba537e39ceeb?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"32e8f283-1c62-df4c-ae34-ba537e39ceeb\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-14T22:29:45.6007512Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 14 Nov 2022 22:30:15 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value + --enable-managed-identity --yes -o + User-Agent: + - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b + Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/83f2e832-621c-4cdf-ae34-ba537e39ceeb?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"32e8f283-1c62-df4c-ae34-ba537e39ceeb\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-14T22:29:45.6007512Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 14 Nov 2022 22:30:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value + --enable-managed-identity --yes -o + User-Agent: + - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b + Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/83f2e832-621c-4cdf-ae34-ba537e39ceeb?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"32e8f283-1c62-df4c-ae34-ba537e39ceeb\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-14T22:29:45.6007512Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 14 Nov 2022 22:31:15 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value + --enable-managed-identity --yes -o + User-Agent: + - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b + Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/83f2e832-621c-4cdf-ae34-ba537e39ceeb?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"32e8f283-1c62-df4c-ae34-ba537e39ceeb\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-14T22:29:45.6007512Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 14 Nov 2022 22:31:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value + --enable-managed-identity --yes -o + User-Agent: + - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b + Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/83f2e832-621c-4cdf-ae34-ba537e39ceeb?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"32e8f283-1c62-df4c-ae34-ba537e39ceeb\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-14T22:29:45.6007512Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 14 Nov 2022 22:32:15 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value + --enable-managed-identity --yes -o + User-Agent: + - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b + Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/83f2e832-621c-4cdf-ae34-ba537e39ceeb?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"32e8f283-1c62-df4c-ae34-ba537e39ceeb\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-14T22:29:45.6007512Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 14 Nov 2022 22:32:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value + --enable-managed-identity --yes -o + User-Agent: + - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b + Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/83f2e832-621c-4cdf-ae34-ba537e39ceeb?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"32e8f283-1c62-df4c-ae34-ba537e39ceeb\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-14T22:29:45.6007512Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 14 Nov 2022 22:33:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value + --enable-managed-identity --yes -o + User-Agent: + - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b + Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/83f2e832-621c-4cdf-ae34-ba537e39ceeb?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"32e8f283-1c62-df4c-ae34-ba537e39ceeb\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2022-11-14T22:29:45.6007512Z\",\n \"\ + endTime\": \"2022-11-14T22:33:39.073752Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '169' + content-type: + - application/json + date: + - Mon, 14 Nov 2022 22:33:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value + --enable-managed-identity --yes -o + User-Agent: + - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b + Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-09-02-preview + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.23.12\",\n \"currentKubernetesVersion\"\ + : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestpwsizpudt-8ecadf\",\n\ + \ \"fqdn\": \"cliakstest-clitestpwsizpudt-8ecadf-7b3f8f35.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestpwsizpudt-8ecadf-7b3f8f35.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.23.12\"\ + ,\n \"currentOrchestratorVersion\": \"1.23.12\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ + ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-1804gen2containerd-2022.10.24\",\n \"upgradeSettings\":\ + \ {},\n \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n \ + \ ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa\ + \ AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n\ + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ + ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ + count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/99d3cdb5-f704-4772-8f3d-460cf021c5a0\"\ + \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n \ + \ },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\"\ + ,\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\"\ + ,\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\ + \n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\"\ + : [\n \"IPv4\"\n ],\n \"kubeProxyConfig\": {\n \"enabled\":\ + \ true,\n \"mode\": \"IPTABLES\"\n }\n },\n \"maxAgentPools\":\ + \ 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"disableLocalAccounts\"\ + : false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\"\ + : {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\"\ + : {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"\ + enabled\": true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\"\ + : false\n },\n \"workloadAutoScalerProfile\": {}\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '4540' + content-type: + - application/json + date: + - Mon, 14 Nov 2022 22:33:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --kube-proxy-config + User-Agent: + - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b + Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-09-02-preview + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.23.12\",\n \"currentKubernetesVersion\"\ + : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestpwsizpudt-8ecadf\",\n\ + \ \"fqdn\": \"cliakstest-clitestpwsizpudt-8ecadf-7b3f8f35.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestpwsizpudt-8ecadf-7b3f8f35.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.23.12\"\ + ,\n \"currentOrchestratorVersion\": \"1.23.12\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ + ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-1804gen2containerd-2022.10.24\",\n \"upgradeSettings\":\ + \ {},\n \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n \ + \ ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa\ + \ AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n\ + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ + ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ + count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/99d3cdb5-f704-4772-8f3d-460cf021c5a0\"\ + \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n \ + \ },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\"\ + ,\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\"\ + ,\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\ + \n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\"\ + : [\n \"IPv4\"\n ],\n \"kubeProxyConfig\": {\n \"enabled\":\ + \ true,\n \"mode\": \"IPTABLES\"\n }\n },\n \"maxAgentPools\":\ + \ 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"disableLocalAccounts\"\ + : false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\"\ + : {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\"\ + : {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"\ + enabled\": true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\"\ + : false\n },\n \"workloadAutoScalerProfile\": {}\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '4540' + content-type: + - application/json + date: + - Mon, 14 Nov 2022 22:33:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.23.12", "dnsPrefix": + "cliakstest-clitestpwsizpudt-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", + "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.23.12", "upgradeSettings": {}, "powerState": + {"code": "Running"}, "enableNodePublicIP": false, "enableCustomCATrust": false, + "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, + "networkProfile": {}, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + "oidcIssuerProfile": {"enabled": false}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", + "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": + "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": + "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", + "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": + {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/99d3cdb5-f704-4772-8f3d-460cf021c5a0"}], + "backendPoolType": "nodeIPConfiguration"}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": + ["10.0.0.0/16"], "ipFamilies": ["IPv4"], "kubeProxyConfig": {"enabled": true, + "mode": "IPTABLES"}}, "identityProfile": {"kubeletidentity": {"resourceId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", + "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, + "disableLocalAccounts": false, "securityProfile": {}, "storageProfile": {}, + "workloadAutoScalerProfile": {}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + Content-Length: + - '3052' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --name --kube-proxy-config + User-Agent: + - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b + Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-09-02-preview + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.23.12\",\n \"currentKubernetesVersion\"\ + : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestpwsizpudt-8ecadf\",\n\ + \ \"fqdn\": \"cliakstest-clitestpwsizpudt-8ecadf-7b3f8f35.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestpwsizpudt-8ecadf-7b3f8f35.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ + \ \"provisioningState\": \"Updating\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.23.12\"\ + ,\n \"currentOrchestratorVersion\": \"1.23.12\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ + ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-1804gen2containerd-2022.10.24\",\n \"upgradeSettings\":\ + \ {},\n \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n \ + \ ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa\ + \ AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n\ + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ + ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ + count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/99d3cdb5-f704-4772-8f3d-460cf021c5a0\"\ + \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n \ + \ },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\"\ + ,\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\"\ + ,\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\ + \n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\"\ + : [\n \"IPv4\"\n ],\n \"kubeProxyConfig\": {\n \"enabled\":\ + \ true,\n \"mode\": \"IPTABLES\"\n }\n },\n \"maxAgentPools\":\ + \ 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"disableLocalAccounts\"\ + : false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\"\ + : {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\"\ + : {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"\ + enabled\": true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\"\ + : false\n },\n \"workloadAutoScalerProfile\": {}\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f4303cfd-43d5-4b29-a400-9bd829848fb3?api-version=2016-03-30 + cache-control: + - no-cache + content-length: + - '4538' + content-type: + - application/json + date: + - Mon, 14 Nov 2022 22:33:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --kube-proxy-config + User-Agent: + - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b + Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f4303cfd-43d5-4b29-a400-9bd829848fb3?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"fd3c30f4-d543-294b-a400-9bd829848fb3\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-14T22:33:53.5857653Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 14 Nov 2022 22:34:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --kube-proxy-config + User-Agent: + - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b + Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f4303cfd-43d5-4b29-a400-9bd829848fb3?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"fd3c30f4-d543-294b-a400-9bd829848fb3\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-14T22:33:53.5857653Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 14 Nov 2022 22:34:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --kube-proxy-config + User-Agent: + - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b + Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f4303cfd-43d5-4b29-a400-9bd829848fb3?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"fd3c30f4-d543-294b-a400-9bd829848fb3\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-14T22:33:53.5857653Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 14 Nov 2022 22:35:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --kube-proxy-config + User-Agent: + - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b + Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f4303cfd-43d5-4b29-a400-9bd829848fb3?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"fd3c30f4-d543-294b-a400-9bd829848fb3\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2022-11-14T22:33:53.5857653Z\",\n \"\ + endTime\": \"2022-11-14T22:35:24.2869449Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: + - application/json + date: + - Mon, 14 Nov 2022 22:35:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --kube-proxy-config + User-Agent: + - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b + Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-09-02-preview + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.23.12\",\n \"currentKubernetesVersion\"\ + : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestpwsizpudt-8ecadf\",\n\ + \ \"fqdn\": \"cliakstest-clitestpwsizpudt-8ecadf-7b3f8f35.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestpwsizpudt-8ecadf-7b3f8f35.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.23.12\"\ + ,\n \"currentOrchestratorVersion\": \"1.23.12\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ + ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-1804gen2containerd-2022.10.24\",\n \"upgradeSettings\":\ + \ {},\n \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n \ + \ ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa\ + \ AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n\ + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ + ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ + count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/99d3cdb5-f704-4772-8f3d-460cf021c5a0\"\ + \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n \ + \ },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\"\ + ,\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\"\ + ,\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\ + \n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\"\ + : [\n \"IPv4\"\n ],\n \"kubeProxyConfig\": {\n \"enabled\":\ + \ true,\n \"mode\": \"IPTABLES\"\n }\n },\n \"maxAgentPools\":\ + \ 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"disableLocalAccounts\"\ + : false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\"\ + : {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\"\ + : {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"\ + enabled\": true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\"\ + : false\n },\n \"workloadAutoScalerProfile\": {}\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '4540' + content-type: + - application/json + date: + - Mon, 14 Nov 2022 22:35:54 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n --yes --no-wait + User-Agent: + - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b + Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-09-02-preview + response: + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6720e22e-025e-4053-9713-1bc3f3999a87?api-version=2016-03-30 + cache-control: + - no-cache + content-length: + - '0' + date: + - Mon, 14 Nov 2022 22:35:59 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/6720e22e-025e-4053-9713-1bc3f3999a87?api-version=2016-03-30 + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +version: 1 diff --git a/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py b/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py index d83b17a254e..93b36993e62 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py +++ b/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py @@ -5986,8 +5986,47 @@ def test_aks_create_with_kube_proxy_config(self, resource_group, resource_group_ self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('networkProfile.kubeProxyConfig.enabled',True), - self.check('networkProfile.kubeProxyConfig.mode','IPVS'), - self.check('networkProfile.kubeProxyConfig.ipvsConfig.scheduler', 'LeastConnection'), + self.check('networkProfile.kubeProxyConfig.mode','IPTABLES'), + ]) + + # delete + self.cmd( + 'aks delete -g {resource_group} -n {name} --yes --no-wait', checks=[self.is_empty()]) + + # live only due to workspace is not mocked correctly + @AllowLargeResponse() + @AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='westus2') + def test_aks_update_with_kube_proxy_config(self, resource_group, resource_group_location): + aks_name = self.create_random_name('cliakstest', 16) + self.kwargs.update({ + 'resource_group': resource_group, + 'name': aks_name, + 'kube_proxy_path': _get_test_data_file('kubeproxyconfig.json'), + 'ssh_key_value': self.generate_ssh_keys() + }) + + create_cmd = 'aks create --resource-group={resource_group} --name={name} --kube-proxy-config={kube_proxy_path} ' \ + '--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/KubeProxyConfigurationPreview ' \ + '--ssh-key-value={ssh_key_value} --enable-managed-identity --yes -o json' + self.cmd(create_cmd, checks=[ + self.check('provisioningState', 'Succeeded'), + self.check('networkProfile.kubeProxyConfig.enabled',True), + self.check('networkProfile.kubeProxyConfig.mode','IPTABLES'), + ]) + + + self.kwargs.update({ + 'resource_group': resource_group, + 'name': aks_name, + 'kube_proxy_path': _get_test_data_file('kubeproxyconfig_update.json'), + }) + + update_cmd = 'aks update --resource-group={resource_group} --name={name} --kube-proxy-config={kube_proxy_path}' + + # TODO: check actual values getting update, currently returned MC does not sync + self.cmd(update_cmd, checks=[ + self.check('provisioningState', 'Succeeded'), + self.check('networkProfile.kubeProxyConfig.enabled',True), ]) # delete From daa7d752bce52cd34df3e65f5f740c43c42ffb68 Mon Sep 17 00:00:00 2001 From: mattstam Date: Wed, 16 Nov 2022 00:13:00 -0800 Subject: [PATCH 2/6] fix from suggestions --- src/aks-preview/azext_aks_preview/_params.py | 2 +- .../managed_cluster_decorator.py | 23 ++++--------------- .../tests/latest/test_aks_commands.py | 3 ++- 3 files changed, 8 insertions(+), 20 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/_params.py b/src/aks-preview/azext_aks_preview/_params.py index c09f5883448..58e92ca152b 100644 --- a/src/aks-preview/azext_aks_preview/_params.py +++ b/src/aks-preview/azext_aks_preview/_params.py @@ -231,7 +231,6 @@ def load_arguments(self, _): c.argument('network_policy') c.argument('kube_proxy_config') c.argument('auto_upgrade_channel', arg_type=get_enum_type(auto_upgrade_channels)) - c.argument('kube_proxy_config') c.argument('cluster_autoscaler_profile', nargs='+', options_list=["--cluster-autoscaler-profile", "--ca-profile"], help="Space-separated list of key=value pairs for configuring cluster autoscaler. Pass an empty string to clear the profile.") c.argument('uptime_sla', action='store_true') @@ -366,6 +365,7 @@ def load_arguments(self, _): c.argument('load_balancer_backend_pool_type', validator=validate_load_balancer_backend_pool_type) c.argument('nat_gateway_managed_outbound_ip_count', type=int, validator=validate_nat_gateway_managed_outbound_ip_count) c.argument('nat_gateway_idle_timeout', type=int, validator=validate_nat_gateway_idle_timeout) + c.argument('kube_proxy_config') c.argument('auto_upgrade_channel', arg_type=get_enum_type(auto_upgrade_channels)) c.argument('cluster_autoscaler_profile', nargs='+', options_list=["--cluster-autoscaler-profile", "--ca-profile"], help="Space-separated list of key=value pairs for configuring cluster autoscaler. Pass an empty string to clear the profile.") diff --git a/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py b/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py index 5c83bcbadad..b4b28707341 100644 --- a/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py +++ b/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py @@ -2591,8 +2591,8 @@ def set_up_vpa(self, mc: ManagedCluster) -> ManagedCluster: mc.workload_auto_scaler_profile.vertical_pod_autoscaler.enabled = True return mc - def set_up_kube_proxy_config(self, mc: ManagedCluster) -> ManagedCluster: - """Set up kube-proxy config for the ManagedCluster object. + def update_kube_proxy_config(self, mc: ManagedCluster) -> ManagedCluster: + """update kube-proxy config for the ManagedCluster object. :return: the ManagedCluster object """ @@ -2644,7 +2644,7 @@ def construct_mc_profile_preview(self, bypass_restore_defaults: bool = False) -> # set up vpa mc = self.set_up_vpa(mc) # set up kube-proxy config - mc = self.set_up_kube_proxy_config(mc) + mc = self.update_kube_proxy_config(mc) # DO NOT MOVE: keep this at the bottom, restore defaults mc = self._restore_defaults_in_mc(mc) @@ -2852,21 +2852,6 @@ def update_http_proxy_config(self, mc: ManagedCluster) -> ManagedCluster: mc.http_proxy_config = self.context.get_http_proxy_config() return mc - def set_up_kube_proxy_config(self, mc: ManagedCluster) -> ManagedCluster: - """Set up kube-proxy config for the ManagedCluster object. - - :return: the ManagedCluster object - """ - self._ensure_mc(mc) - - if not mc.network_profile: - raise UnknownError( - "Unexpectedly get an empty network profile in the process of updating kube-proxy config." - ) - - mc.network_profile.kube_proxy_config = self.context.get_kube_proxy_config() - return mc - def update_pod_security_policy(self, mc: ManagedCluster) -> ManagedCluster: """Update pod security policy for the ManagedCluster object. @@ -3243,5 +3228,7 @@ def update_mc_profile_preview(self) -> ManagedCluster: mc = self.update_linux_profile(mc) # update outbound type mc = self.update_outbound_type_in_network_profile(mc) + # update kube proxy config + mc = self.update_kube_proxy_config(mc) return mc diff --git a/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py b/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py index 93b36993e62..743999465d0 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py +++ b/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py @@ -6023,10 +6023,11 @@ def test_aks_update_with_kube_proxy_config(self, resource_group, resource_group_ update_cmd = 'aks update --resource-group={resource_group} --name={name} --kube-proxy-config={kube_proxy_path}' - # TODO: check actual values getting update, currently returned MC does not sync self.cmd(update_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('networkProfile.kubeProxyConfig.enabled',True), + self.check('networkProfile.kubeProxyConfig.mode','IPVS'), + self.check('networkProfile.kubeProxyConfig.ipvsConfig.scheduler', 'LeastConnection'), ]) # delete From facd37c3b47da889867db6bed255f8f6b4c87869 Mon Sep 17 00:00:00 2001 From: mattstam Date: Thu, 17 Nov 2022 10:45:44 -0800 Subject: [PATCH 3/6] seperate update function, fix test, generate recording --- .../managed_cluster_decorator.py | 22 +- ...est_aks_update_with_kube_proxy_config.yaml | 247 +++++++----------- .../tests/latest/test_aks_commands.py | 3 +- 3 files changed, 119 insertions(+), 153 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py b/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py index b4b28707341..5254e147b4d 100644 --- a/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py +++ b/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py @@ -2591,8 +2591,8 @@ def set_up_vpa(self, mc: ManagedCluster) -> ManagedCluster: mc.workload_auto_scaler_profile.vertical_pod_autoscaler.enabled = True return mc - def update_kube_proxy_config(self, mc: ManagedCluster) -> ManagedCluster: - """update kube-proxy config for the ManagedCluster object. + def set_up_kube_proxy_config(self, mc: ManagedCluster) -> ManagedCluster: + """Set up kube-proxy config for the ManagedCluster object. :return: the ManagedCluster object """ @@ -2644,7 +2644,7 @@ def construct_mc_profile_preview(self, bypass_restore_defaults: bool = False) -> # set up vpa mc = self.set_up_vpa(mc) # set up kube-proxy config - mc = self.update_kube_proxy_config(mc) + mc = self.set_up_kube_proxy_config(mc) # DO NOT MOVE: keep this at the bottom, restore defaults mc = self._restore_defaults_in_mc(mc) @@ -2852,6 +2852,22 @@ def update_http_proxy_config(self, mc: ManagedCluster) -> ManagedCluster: mc.http_proxy_config = self.context.get_http_proxy_config() return mc + def update_kube_proxy_config(self, mc: ManagedCluster) -> ManagedCluster: + """Update kube proxy config for the ManagedCluster object. + + :return: the ManagedCluster object + """ + self._ensure_mc(mc) + + if not mc.network_profile: + raise UnknownError( + "Unexpectedly get an empty network profile in the process of updating kube-proxy config." + ) + + mc.network_profile.kube_proxy_config = self.context.get_kube_proxy_config() + + return mc + def update_pod_security_policy(self, mc: ManagedCluster) -> ManagedCluster: """Update pod security policy for the ManagedCluster object. diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_kube_proxy_config.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_kube_proxy_config.yaml index b8e5825ceb7..3f4b2607738 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_kube_proxy_config.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_kube_proxy_config.yaml @@ -14,13 +14,13 @@ interactions: - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value --enable-managed-identity --yes -o User-Agent: - - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.6 - (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.8 + (Linux-5.15.49-linuxkit-x86_64-with) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-11-14T22:29:22Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-11-17T18:36:44Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -29,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 14 Nov 2022 22:29:36 GMT + - Thu, 17 Nov 2022 18:36:47 GMT expires: - '-1' pragma: @@ -45,7 +45,7 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestpwsizpudt-8ecadf", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestsgqafwelm-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 0, "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": @@ -80,7 +80,7 @@ interactions: --enable-managed-identity --yes -o User-Agent: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-09-02-preview response: @@ -90,9 +90,9 @@ interactions: : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\"\ : \"Running\"\n },\n \"kubernetesVersion\": \"1.23.12\",\n \"currentKubernetesVersion\"\ - : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestpwsizpudt-8ecadf\",\n\ - \ \"fqdn\": \"cliakstest-clitestpwsizpudt-8ecadf-7b3f8f35.hcp.westus2.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestpwsizpudt-8ecadf-7b3f8f35.portal.hcp.westus2.azmk8s.io\"\ + : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestsgqafwelm-8ecadf\",\n\ + \ \"fqdn\": \"cliakstest-clitestsgqafwelm-8ecadf-0f37eb7c.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestsgqafwelm-8ecadf-0f37eb7c.portal.hcp.westus2.azmk8s.io\"\ ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ @@ -133,7 +133,7 @@ interactions: : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/83f2e832-621c-4cdf-ae34-ba537e39ceeb?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dd3ea2c1-ff86-43fe-9969-af7a1583b55f?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -141,7 +141,7 @@ interactions: content-type: - application/json date: - - Mon, 14 Nov 2022 22:29:44 GMT + - Thu, 17 Nov 2022 18:36:56 GMT expires: - '-1' pragma: @@ -173,13 +173,13 @@ interactions: --enable-managed-identity --yes -o User-Agent: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/83f2e832-621c-4cdf-ae34-ba537e39ceeb?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dd3ea2c1-ff86-43fe-9969-af7a1583b55f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"32e8f283-1c62-df4c-ae34-ba537e39ceeb\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-14T22:29:45.6007512Z\"\n }" + string: "{\n \"name\": \"c1a23edd-86ff-fe43-9969-af7a1583b55f\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-17T18:36:56.3578961Z\"\n }" headers: cache-control: - no-cache @@ -188,7 +188,7 @@ interactions: content-type: - application/json date: - - Mon, 14 Nov 2022 22:30:15 GMT + - Thu, 17 Nov 2022 18:37:26 GMT expires: - '-1' pragma: @@ -222,13 +222,13 @@ interactions: --enable-managed-identity --yes -o User-Agent: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/83f2e832-621c-4cdf-ae34-ba537e39ceeb?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dd3ea2c1-ff86-43fe-9969-af7a1583b55f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"32e8f283-1c62-df4c-ae34-ba537e39ceeb\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-14T22:29:45.6007512Z\"\n }" + string: "{\n \"name\": \"c1a23edd-86ff-fe43-9969-af7a1583b55f\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-17T18:36:56.3578961Z\"\n }" headers: cache-control: - no-cache @@ -237,7 +237,7 @@ interactions: content-type: - application/json date: - - Mon, 14 Nov 2022 22:30:45 GMT + - Thu, 17 Nov 2022 18:37:56 GMT expires: - '-1' pragma: @@ -271,13 +271,13 @@ interactions: --enable-managed-identity --yes -o User-Agent: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/83f2e832-621c-4cdf-ae34-ba537e39ceeb?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dd3ea2c1-ff86-43fe-9969-af7a1583b55f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"32e8f283-1c62-df4c-ae34-ba537e39ceeb\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-14T22:29:45.6007512Z\"\n }" + string: "{\n \"name\": \"c1a23edd-86ff-fe43-9969-af7a1583b55f\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-17T18:36:56.3578961Z\"\n }" headers: cache-control: - no-cache @@ -286,7 +286,7 @@ interactions: content-type: - application/json date: - - Mon, 14 Nov 2022 22:31:15 GMT + - Thu, 17 Nov 2022 18:38:26 GMT expires: - '-1' pragma: @@ -320,13 +320,13 @@ interactions: --enable-managed-identity --yes -o User-Agent: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/83f2e832-621c-4cdf-ae34-ba537e39ceeb?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dd3ea2c1-ff86-43fe-9969-af7a1583b55f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"32e8f283-1c62-df4c-ae34-ba537e39ceeb\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-14T22:29:45.6007512Z\"\n }" + string: "{\n \"name\": \"c1a23edd-86ff-fe43-9969-af7a1583b55f\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-17T18:36:56.3578961Z\"\n }" headers: cache-control: - no-cache @@ -335,7 +335,7 @@ interactions: content-type: - application/json date: - - Mon, 14 Nov 2022 22:31:45 GMT + - Thu, 17 Nov 2022 18:38:57 GMT expires: - '-1' pragma: @@ -369,13 +369,13 @@ interactions: --enable-managed-identity --yes -o User-Agent: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/83f2e832-621c-4cdf-ae34-ba537e39ceeb?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dd3ea2c1-ff86-43fe-9969-af7a1583b55f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"32e8f283-1c62-df4c-ae34-ba537e39ceeb\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-14T22:29:45.6007512Z\"\n }" + string: "{\n \"name\": \"c1a23edd-86ff-fe43-9969-af7a1583b55f\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-17T18:36:56.3578961Z\"\n }" headers: cache-control: - no-cache @@ -384,7 +384,7 @@ interactions: content-type: - application/json date: - - Mon, 14 Nov 2022 22:32:15 GMT + - Thu, 17 Nov 2022 18:39:27 GMT expires: - '-1' pragma: @@ -418,13 +418,13 @@ interactions: --enable-managed-identity --yes -o User-Agent: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/83f2e832-621c-4cdf-ae34-ba537e39ceeb?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dd3ea2c1-ff86-43fe-9969-af7a1583b55f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"32e8f283-1c62-df4c-ae34-ba537e39ceeb\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-14T22:29:45.6007512Z\"\n }" + string: "{\n \"name\": \"c1a23edd-86ff-fe43-9969-af7a1583b55f\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-17T18:36:56.3578961Z\"\n }" headers: cache-control: - no-cache @@ -433,7 +433,7 @@ interactions: content-type: - application/json date: - - Mon, 14 Nov 2022 22:32:45 GMT + - Thu, 17 Nov 2022 18:39:57 GMT expires: - '-1' pragma: @@ -467,63 +467,14 @@ interactions: --enable-managed-identity --yes -o User-Agent: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/83f2e832-621c-4cdf-ae34-ba537e39ceeb?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dd3ea2c1-ff86-43fe-9969-af7a1583b55f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"32e8f283-1c62-df4c-ae34-ba537e39ceeb\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-14T22:29:45.6007512Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Mon, 14 Nov 2022 22:33:16 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value - --enable-managed-identity --yes -o - User-Agent: - - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/83f2e832-621c-4cdf-ae34-ba537e39ceeb?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"32e8f283-1c62-df4c-ae34-ba537e39ceeb\",\n \"status\"\ - : \"Succeeded\",\n \"startTime\": \"2022-11-14T22:29:45.6007512Z\",\n \"\ - endTime\": \"2022-11-14T22:33:39.073752Z\"\n }" + string: "{\n \"name\": \"c1a23edd-86ff-fe43-9969-af7a1583b55f\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2022-11-17T18:36:56.3578961Z\",\n \"\ + endTime\": \"2022-11-17T18:40:26.118123Z\"\n }" headers: cache-control: - no-cache @@ -532,7 +483,7 @@ interactions: content-type: - application/json date: - - Mon, 14 Nov 2022 22:33:46 GMT + - Thu, 17 Nov 2022 18:40:28 GMT expires: - '-1' pragma: @@ -566,7 +517,7 @@ interactions: --enable-managed-identity --yes -o User-Agent: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-09-02-preview response: @@ -576,9 +527,9 @@ interactions: : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ : \"Running\"\n },\n \"kubernetesVersion\": \"1.23.12\",\n \"currentKubernetesVersion\"\ - : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestpwsizpudt-8ecadf\",\n\ - \ \"fqdn\": \"cliakstest-clitestpwsizpudt-8ecadf-7b3f8f35.hcp.westus2.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestpwsizpudt-8ecadf-7b3f8f35.portal.hcp.westus2.azmk8s.io\"\ + : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestsgqafwelm-8ecadf\",\n\ + \ \"fqdn\": \"cliakstest-clitestsgqafwelm-8ecadf-0f37eb7c.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestsgqafwelm-8ecadf-0f37eb7c.portal.hcp.westus2.azmk8s.io\"\ ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ @@ -602,7 +553,7 @@ interactions: : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/99d3cdb5-f704-4772-8f3d-460cf021c5a0\"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/8b220f78-e99d-4f1e-83b0-772ce38ee773\"\ \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n \ \ },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\"\ ,\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\"\ @@ -630,7 +581,7 @@ interactions: content-type: - application/json date: - - Mon, 14 Nov 2022 22:33:46 GMT + - Thu, 17 Nov 2022 18:40:28 GMT expires: - '-1' pragma: @@ -663,7 +614,7 @@ interactions: - --resource-group --name --kube-proxy-config User-Agent: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-09-02-preview response: @@ -673,9 +624,9 @@ interactions: : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ : \"Running\"\n },\n \"kubernetesVersion\": \"1.23.12\",\n \"currentKubernetesVersion\"\ - : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestpwsizpudt-8ecadf\",\n\ - \ \"fqdn\": \"cliakstest-clitestpwsizpudt-8ecadf-7b3f8f35.hcp.westus2.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestpwsizpudt-8ecadf-7b3f8f35.portal.hcp.westus2.azmk8s.io\"\ + : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestsgqafwelm-8ecadf\",\n\ + \ \"fqdn\": \"cliakstest-clitestsgqafwelm-8ecadf-0f37eb7c.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestsgqafwelm-8ecadf-0f37eb7c.portal.hcp.westus2.azmk8s.io\"\ ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ @@ -699,7 +650,7 @@ interactions: : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/99d3cdb5-f704-4772-8f3d-460cf021c5a0\"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/8b220f78-e99d-4f1e-83b0-772ce38ee773\"\ \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n \ \ },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\"\ ,\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\"\ @@ -727,7 +678,7 @@ interactions: content-type: - application/json date: - - Mon, 14 Nov 2022 22:33:47 GMT + - Thu, 17 Nov 2022 18:40:31 GMT expires: - '-1' pragma: @@ -748,7 +699,7 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.23.12", "dnsPrefix": - "cliakstest-clitestpwsizpudt-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitestsgqafwelm-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", @@ -763,7 +714,7 @@ interactions: "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/99d3cdb5-f704-4772-8f3d-460cf021c5a0"}], + {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/8b220f78-e99d-4f1e-83b0-772ce38ee773"}], "backendPoolType": "nodeIPConfiguration"}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": ["10.0.0.0/16"], "ipFamilies": ["IPv4"], "kubeProxyConfig": {"enabled": true, "mode": "IPTABLES"}}, "identityProfile": {"kubeletidentity": {"resourceId": @@ -788,7 +739,7 @@ interactions: - --resource-group --name --kube-proxy-config User-Agent: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-09-02-preview response: @@ -798,9 +749,9 @@ interactions: : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ \ \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\"\ : \"Running\"\n },\n \"kubernetesVersion\": \"1.23.12\",\n \"currentKubernetesVersion\"\ - : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestpwsizpudt-8ecadf\",\n\ - \ \"fqdn\": \"cliakstest-clitestpwsizpudt-8ecadf-7b3f8f35.hcp.westus2.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestpwsizpudt-8ecadf-7b3f8f35.portal.hcp.westus2.azmk8s.io\"\ + : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestsgqafwelm-8ecadf\",\n\ + \ \"fqdn\": \"cliakstest-clitestsgqafwelm-8ecadf-0f37eb7c.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestsgqafwelm-8ecadf-0f37eb7c.portal.hcp.westus2.azmk8s.io\"\ ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ @@ -824,7 +775,7 @@ interactions: : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/99d3cdb5-f704-4772-8f3d-460cf021c5a0\"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/8b220f78-e99d-4f1e-83b0-772ce38ee773\"\ \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n \ \ },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\"\ ,\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\"\ @@ -846,7 +797,7 @@ interactions: : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f4303cfd-43d5-4b29-a400-9bd829848fb3?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f8ab7084-398c-40fa-95f8-7f3ca5e348fa?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -854,7 +805,7 @@ interactions: content-type: - application/json date: - - Mon, 14 Nov 2022 22:33:53 GMT + - Thu, 17 Nov 2022 18:40:38 GMT expires: - '-1' pragma: @@ -889,13 +840,13 @@ interactions: - --resource-group --name --kube-proxy-config User-Agent: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f4303cfd-43d5-4b29-a400-9bd829848fb3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f8ab7084-398c-40fa-95f8-7f3ca5e348fa?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"fd3c30f4-d543-294b-a400-9bd829848fb3\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-14T22:33:53.5857653Z\"\n }" + string: "{\n \"name\": \"8470abf8-8c39-fa40-95f8-7f3ca5e348fa\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-17T18:40:38.8253219Z\"\n }" headers: cache-control: - no-cache @@ -904,7 +855,7 @@ interactions: content-type: - application/json date: - - Mon, 14 Nov 2022 22:34:23 GMT + - Thu, 17 Nov 2022 18:41:08 GMT expires: - '-1' pragma: @@ -937,13 +888,13 @@ interactions: - --resource-group --name --kube-proxy-config User-Agent: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f4303cfd-43d5-4b29-a400-9bd829848fb3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f8ab7084-398c-40fa-95f8-7f3ca5e348fa?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"fd3c30f4-d543-294b-a400-9bd829848fb3\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-14T22:33:53.5857653Z\"\n }" + string: "{\n \"name\": \"8470abf8-8c39-fa40-95f8-7f3ca5e348fa\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-17T18:40:38.8253219Z\"\n }" headers: cache-control: - no-cache @@ -952,7 +903,7 @@ interactions: content-type: - application/json date: - - Mon, 14 Nov 2022 22:34:53 GMT + - Thu, 17 Nov 2022 18:41:39 GMT expires: - '-1' pragma: @@ -985,13 +936,13 @@ interactions: - --resource-group --name --kube-proxy-config User-Agent: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f4303cfd-43d5-4b29-a400-9bd829848fb3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f8ab7084-398c-40fa-95f8-7f3ca5e348fa?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"fd3c30f4-d543-294b-a400-9bd829848fb3\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-14T22:33:53.5857653Z\"\n }" + string: "{\n \"name\": \"8470abf8-8c39-fa40-95f8-7f3ca5e348fa\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-17T18:40:38.8253219Z\"\n }" headers: cache-control: - no-cache @@ -1000,7 +951,7 @@ interactions: content-type: - application/json date: - - Mon, 14 Nov 2022 22:35:23 GMT + - Thu, 17 Nov 2022 18:42:09 GMT expires: - '-1' pragma: @@ -1033,14 +984,14 @@ interactions: - --resource-group --name --kube-proxy-config User-Agent: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f4303cfd-43d5-4b29-a400-9bd829848fb3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f8ab7084-398c-40fa-95f8-7f3ca5e348fa?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"fd3c30f4-d543-294b-a400-9bd829848fb3\",\n \"status\"\ - : \"Succeeded\",\n \"startTime\": \"2022-11-14T22:33:53.5857653Z\",\n \"\ - endTime\": \"2022-11-14T22:35:24.2869449Z\"\n }" + string: "{\n \"name\": \"8470abf8-8c39-fa40-95f8-7f3ca5e348fa\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2022-11-17T18:40:38.8253219Z\",\n \"\ + endTime\": \"2022-11-17T18:42:11.4121046Z\"\n }" headers: cache-control: - no-cache @@ -1049,7 +1000,7 @@ interactions: content-type: - application/json date: - - Mon, 14 Nov 2022 22:35:53 GMT + - Thu, 17 Nov 2022 18:42:39 GMT expires: - '-1' pragma: @@ -1082,7 +1033,7 @@ interactions: - --resource-group --name --kube-proxy-config User-Agent: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-09-02-preview response: @@ -1092,9 +1043,9 @@ interactions: : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ : \"Running\"\n },\n \"kubernetesVersion\": \"1.23.12\",\n \"currentKubernetesVersion\"\ - : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestpwsizpudt-8ecadf\",\n\ - \ \"fqdn\": \"cliakstest-clitestpwsizpudt-8ecadf-7b3f8f35.hcp.westus2.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestpwsizpudt-8ecadf-7b3f8f35.portal.hcp.westus2.azmk8s.io\"\ + : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestsgqafwelm-8ecadf\",\n\ + \ \"fqdn\": \"cliakstest-clitestsgqafwelm-8ecadf-0f37eb7c.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestsgqafwelm-8ecadf-0f37eb7c.portal.hcp.westus2.azmk8s.io\"\ ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ @@ -1118,7 +1069,7 @@ interactions: : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/99d3cdb5-f704-4772-8f3d-460cf021c5a0\"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/8b220f78-e99d-4f1e-83b0-772ce38ee773\"\ \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n \ \ },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\"\ ,\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\"\ @@ -1146,7 +1097,7 @@ interactions: content-type: - application/json date: - - Mon, 14 Nov 2022 22:35:54 GMT + - Thu, 17 Nov 2022 18:42:40 GMT expires: - '-1' pragma: @@ -1181,7 +1132,7 @@ interactions: - -g -n --yes --no-wait User-Agent: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.6 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-09-02-preview response: @@ -1189,17 +1140,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6720e22e-025e-4053-9713-1bc3f3999a87?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/05f256d5-27cd-4d2b-b132-d648d2d18bf2?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Mon, 14 Nov 2022 22:35:59 GMT + - Thu, 17 Nov 2022 18:42:45 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/6720e22e-025e-4053-9713-1bc3f3999a87?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/05f256d5-27cd-4d2b-b132-d648d2d18bf2?api-version=2016-03-30 pragma: - no-cache server: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py b/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py index 743999465d0..93b36993e62 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py +++ b/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py @@ -6023,11 +6023,10 @@ def test_aks_update_with_kube_proxy_config(self, resource_group, resource_group_ update_cmd = 'aks update --resource-group={resource_group} --name={name} --kube-proxy-config={kube_proxy_path}' + # TODO: check actual values getting update, currently returned MC does not sync self.cmd(update_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('networkProfile.kubeProxyConfig.enabled',True), - self.check('networkProfile.kubeProxyConfig.mode','IPVS'), - self.check('networkProfile.kubeProxyConfig.ipvsConfig.scheduler', 'LeastConnection'), ]) # delete From 06c075878ee51b2e06acedbc7a489c85f55d4a48 Mon Sep 17 00:00:00 2001 From: mattstam Date: Thu, 17 Nov 2022 19:35:14 -0800 Subject: [PATCH 4/6] live_only --- ...est_aks_update_with_kube_proxy_config.yaml | 211 +++++++++++------- .../tests/latest/test_aks_commands.py | 1 + 2 files changed, 131 insertions(+), 81 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_kube_proxy_config.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_kube_proxy_config.yaml index 3f4b2607738..383af7d11a9 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_kube_proxy_config.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_kube_proxy_config.yaml @@ -20,7 +20,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-11-17T18:36:44Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-11-18T03:27:57Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -29,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Nov 2022 18:36:47 GMT + - Fri, 18 Nov 2022 03:28:00 GMT expires: - '-1' pragma: @@ -45,7 +45,7 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestsgqafwelm-8ecadf", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestidk266fbz-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 0, "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": @@ -90,9 +90,9 @@ interactions: : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\"\ : \"Running\"\n },\n \"kubernetesVersion\": \"1.23.12\",\n \"currentKubernetesVersion\"\ - : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestsgqafwelm-8ecadf\",\n\ - \ \"fqdn\": \"cliakstest-clitestsgqafwelm-8ecadf-0f37eb7c.hcp.westus2.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestsgqafwelm-8ecadf-0f37eb7c.portal.hcp.westus2.azmk8s.io\"\ + : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestidk266fbz-8ecadf\",\n\ + \ \"fqdn\": \"cliakstest-clitestidk266fbz-8ecadf-5ffb438b.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestidk266fbz-8ecadf-5ffb438b.portal.hcp.westus2.azmk8s.io\"\ ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ @@ -133,7 +133,7 @@ interactions: : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dd3ea2c1-ff86-43fe-9969-af7a1583b55f?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4be6840-50d2-4b44-83f0-61d37eff06da?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -141,7 +141,7 @@ interactions: content-type: - application/json date: - - Thu, 17 Nov 2022 18:36:56 GMT + - Fri, 18 Nov 2022 03:28:08 GMT expires: - '-1' pragma: @@ -175,11 +175,11 @@ interactions: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dd3ea2c1-ff86-43fe-9969-af7a1583b55f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4be6840-50d2-4b44-83f0-61d37eff06da?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c1a23edd-86ff-fe43-9969-af7a1583b55f\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-17T18:36:56.3578961Z\"\n }" + string: "{\n \"name\": \"4068bec4-d250-444b-83f0-61d37eff06da\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-18T03:28:08.5351629Z\"\n }" headers: cache-control: - no-cache @@ -188,7 +188,7 @@ interactions: content-type: - application/json date: - - Thu, 17 Nov 2022 18:37:26 GMT + - Fri, 18 Nov 2022 03:28:38 GMT expires: - '-1' pragma: @@ -224,11 +224,11 @@ interactions: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dd3ea2c1-ff86-43fe-9969-af7a1583b55f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4be6840-50d2-4b44-83f0-61d37eff06da?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c1a23edd-86ff-fe43-9969-af7a1583b55f\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-17T18:36:56.3578961Z\"\n }" + string: "{\n \"name\": \"4068bec4-d250-444b-83f0-61d37eff06da\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-18T03:28:08.5351629Z\"\n }" headers: cache-control: - no-cache @@ -237,7 +237,7 @@ interactions: content-type: - application/json date: - - Thu, 17 Nov 2022 18:37:56 GMT + - Fri, 18 Nov 2022 03:29:09 GMT expires: - '-1' pragma: @@ -273,11 +273,11 @@ interactions: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dd3ea2c1-ff86-43fe-9969-af7a1583b55f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4be6840-50d2-4b44-83f0-61d37eff06da?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c1a23edd-86ff-fe43-9969-af7a1583b55f\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-17T18:36:56.3578961Z\"\n }" + string: "{\n \"name\": \"4068bec4-d250-444b-83f0-61d37eff06da\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-18T03:28:08.5351629Z\"\n }" headers: cache-control: - no-cache @@ -286,7 +286,7 @@ interactions: content-type: - application/json date: - - Thu, 17 Nov 2022 18:38:26 GMT + - Fri, 18 Nov 2022 03:29:39 GMT expires: - '-1' pragma: @@ -322,11 +322,11 @@ interactions: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dd3ea2c1-ff86-43fe-9969-af7a1583b55f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4be6840-50d2-4b44-83f0-61d37eff06da?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c1a23edd-86ff-fe43-9969-af7a1583b55f\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-17T18:36:56.3578961Z\"\n }" + string: "{\n \"name\": \"4068bec4-d250-444b-83f0-61d37eff06da\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-18T03:28:08.5351629Z\"\n }" headers: cache-control: - no-cache @@ -335,7 +335,7 @@ interactions: content-type: - application/json date: - - Thu, 17 Nov 2022 18:38:57 GMT + - Fri, 18 Nov 2022 03:30:09 GMT expires: - '-1' pragma: @@ -371,11 +371,11 @@ interactions: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dd3ea2c1-ff86-43fe-9969-af7a1583b55f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4be6840-50d2-4b44-83f0-61d37eff06da?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c1a23edd-86ff-fe43-9969-af7a1583b55f\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-17T18:36:56.3578961Z\"\n }" + string: "{\n \"name\": \"4068bec4-d250-444b-83f0-61d37eff06da\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-18T03:28:08.5351629Z\"\n }" headers: cache-control: - no-cache @@ -384,7 +384,7 @@ interactions: content-type: - application/json date: - - Thu, 17 Nov 2022 18:39:27 GMT + - Fri, 18 Nov 2022 03:30:40 GMT expires: - '-1' pragma: @@ -420,11 +420,11 @@ interactions: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dd3ea2c1-ff86-43fe-9969-af7a1583b55f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4be6840-50d2-4b44-83f0-61d37eff06da?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c1a23edd-86ff-fe43-9969-af7a1583b55f\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-17T18:36:56.3578961Z\"\n }" + string: "{\n \"name\": \"4068bec4-d250-444b-83f0-61d37eff06da\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-18T03:28:08.5351629Z\"\n }" headers: cache-control: - no-cache @@ -433,7 +433,7 @@ interactions: content-type: - application/json date: - - Thu, 17 Nov 2022 18:39:57 GMT + - Fri, 18 Nov 2022 03:31:10 GMT expires: - '-1' pragma: @@ -469,21 +469,70 @@ interactions: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dd3ea2c1-ff86-43fe-9969-af7a1583b55f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4be6840-50d2-4b44-83f0-61d37eff06da?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c1a23edd-86ff-fe43-9969-af7a1583b55f\",\n \"status\"\ - : \"Succeeded\",\n \"startTime\": \"2022-11-17T18:36:56.3578961Z\",\n \"\ - endTime\": \"2022-11-17T18:40:26.118123Z\"\n }" + string: "{\n \"name\": \"4068bec4-d250-444b-83f0-61d37eff06da\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-18T03:28:08.5351629Z\"\n }" headers: cache-control: - no-cache content-length: - - '169' + - '126' + content-type: + - application/json + date: + - Fri, 18 Nov 2022 03:31:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value + --enable-managed-identity --yes -o + User-Agent: + - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b + Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4be6840-50d2-4b44-83f0-61d37eff06da?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"4068bec4-d250-444b-83f0-61d37eff06da\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2022-11-18T03:28:08.5351629Z\",\n \"\ + endTime\": \"2022-11-18T03:31:50.3872629Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' content-type: - application/json date: - - Thu, 17 Nov 2022 18:40:28 GMT + - Fri, 18 Nov 2022 03:32:10 GMT expires: - '-1' pragma: @@ -527,9 +576,9 @@ interactions: : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ : \"Running\"\n },\n \"kubernetesVersion\": \"1.23.12\",\n \"currentKubernetesVersion\"\ - : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestsgqafwelm-8ecadf\",\n\ - \ \"fqdn\": \"cliakstest-clitestsgqafwelm-8ecadf-0f37eb7c.hcp.westus2.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestsgqafwelm-8ecadf-0f37eb7c.portal.hcp.westus2.azmk8s.io\"\ + : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestidk266fbz-8ecadf\",\n\ + \ \"fqdn\": \"cliakstest-clitestidk266fbz-8ecadf-5ffb438b.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestidk266fbz-8ecadf-5ffb438b.portal.hcp.westus2.azmk8s.io\"\ ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ @@ -553,7 +602,7 @@ interactions: : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/8b220f78-e99d-4f1e-83b0-772ce38ee773\"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/be6a3757-5200-46e6-909e-9e17f663c68d\"\ \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n \ \ },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\"\ ,\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\"\ @@ -581,7 +630,7 @@ interactions: content-type: - application/json date: - - Thu, 17 Nov 2022 18:40:28 GMT + - Fri, 18 Nov 2022 03:32:11 GMT expires: - '-1' pragma: @@ -624,9 +673,9 @@ interactions: : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ : \"Running\"\n },\n \"kubernetesVersion\": \"1.23.12\",\n \"currentKubernetesVersion\"\ - : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestsgqafwelm-8ecadf\",\n\ - \ \"fqdn\": \"cliakstest-clitestsgqafwelm-8ecadf-0f37eb7c.hcp.westus2.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestsgqafwelm-8ecadf-0f37eb7c.portal.hcp.westus2.azmk8s.io\"\ + : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestidk266fbz-8ecadf\",\n\ + \ \"fqdn\": \"cliakstest-clitestidk266fbz-8ecadf-5ffb438b.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestidk266fbz-8ecadf-5ffb438b.portal.hcp.westus2.azmk8s.io\"\ ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ @@ -650,7 +699,7 @@ interactions: : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/8b220f78-e99d-4f1e-83b0-772ce38ee773\"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/be6a3757-5200-46e6-909e-9e17f663c68d\"\ \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n \ \ },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\"\ ,\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\"\ @@ -678,7 +727,7 @@ interactions: content-type: - application/json date: - - Thu, 17 Nov 2022 18:40:31 GMT + - Fri, 18 Nov 2022 03:32:12 GMT expires: - '-1' pragma: @@ -699,7 +748,7 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.23.12", "dnsPrefix": - "cliakstest-clitestsgqafwelm-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitestidk266fbz-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", @@ -714,7 +763,7 @@ interactions: "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/8b220f78-e99d-4f1e-83b0-772ce38ee773"}], + {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/be6a3757-5200-46e6-909e-9e17f663c68d"}], "backendPoolType": "nodeIPConfiguration"}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": ["10.0.0.0/16"], "ipFamilies": ["IPv4"], "kubeProxyConfig": {"enabled": true, "mode": "IPTABLES"}}, "identityProfile": {"kubeletidentity": {"resourceId": @@ -749,9 +798,9 @@ interactions: : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ \ \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\"\ : \"Running\"\n },\n \"kubernetesVersion\": \"1.23.12\",\n \"currentKubernetesVersion\"\ - : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestsgqafwelm-8ecadf\",\n\ - \ \"fqdn\": \"cliakstest-clitestsgqafwelm-8ecadf-0f37eb7c.hcp.westus2.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestsgqafwelm-8ecadf-0f37eb7c.portal.hcp.westus2.azmk8s.io\"\ + : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestidk266fbz-8ecadf\",\n\ + \ \"fqdn\": \"cliakstest-clitestidk266fbz-8ecadf-5ffb438b.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestidk266fbz-8ecadf-5ffb438b.portal.hcp.westus2.azmk8s.io\"\ ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ @@ -775,7 +824,7 @@ interactions: : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/8b220f78-e99d-4f1e-83b0-772ce38ee773\"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/be6a3757-5200-46e6-909e-9e17f663c68d\"\ \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n \ \ },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\"\ ,\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\"\ @@ -797,7 +846,7 @@ interactions: : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f8ab7084-398c-40fa-95f8-7f3ca5e348fa?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9abf7b0-e278-4566-8977-10ecfd7620a4?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -805,7 +854,7 @@ interactions: content-type: - application/json date: - - Thu, 17 Nov 2022 18:40:38 GMT + - Fri, 18 Nov 2022 03:32:19 GMT expires: - '-1' pragma: @@ -842,11 +891,11 @@ interactions: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f8ab7084-398c-40fa-95f8-7f3ca5e348fa?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9abf7b0-e278-4566-8977-10ecfd7620a4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8470abf8-8c39-fa40-95f8-7f3ca5e348fa\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-17T18:40:38.8253219Z\"\n }" + string: "{\n \"name\": \"b0f7abe9-78e2-6645-8977-10ecfd7620a4\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-18T03:32:19.8796219Z\"\n }" headers: cache-control: - no-cache @@ -855,7 +904,7 @@ interactions: content-type: - application/json date: - - Thu, 17 Nov 2022 18:41:08 GMT + - Fri, 18 Nov 2022 03:32:50 GMT expires: - '-1' pragma: @@ -890,11 +939,11 @@ interactions: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f8ab7084-398c-40fa-95f8-7f3ca5e348fa?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9abf7b0-e278-4566-8977-10ecfd7620a4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8470abf8-8c39-fa40-95f8-7f3ca5e348fa\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-17T18:40:38.8253219Z\"\n }" + string: "{\n \"name\": \"b0f7abe9-78e2-6645-8977-10ecfd7620a4\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-18T03:32:19.8796219Z\"\n }" headers: cache-control: - no-cache @@ -903,7 +952,7 @@ interactions: content-type: - application/json date: - - Thu, 17 Nov 2022 18:41:39 GMT + - Fri, 18 Nov 2022 03:33:20 GMT expires: - '-1' pragma: @@ -938,11 +987,11 @@ interactions: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f8ab7084-398c-40fa-95f8-7f3ca5e348fa?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9abf7b0-e278-4566-8977-10ecfd7620a4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8470abf8-8c39-fa40-95f8-7f3ca5e348fa\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-17T18:40:38.8253219Z\"\n }" + string: "{\n \"name\": \"b0f7abe9-78e2-6645-8977-10ecfd7620a4\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-11-18T03:32:19.8796219Z\"\n }" headers: cache-control: - no-cache @@ -951,7 +1000,7 @@ interactions: content-type: - application/json date: - - Thu, 17 Nov 2022 18:42:09 GMT + - Fri, 18 Nov 2022 03:33:50 GMT expires: - '-1' pragma: @@ -986,12 +1035,12 @@ interactions: - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f8ab7084-398c-40fa-95f8-7f3ca5e348fa?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9abf7b0-e278-4566-8977-10ecfd7620a4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8470abf8-8c39-fa40-95f8-7f3ca5e348fa\",\n \"status\"\ - : \"Succeeded\",\n \"startTime\": \"2022-11-17T18:40:38.8253219Z\",\n \"\ - endTime\": \"2022-11-17T18:42:11.4121046Z\"\n }" + string: "{\n \"name\": \"b0f7abe9-78e2-6645-8977-10ecfd7620a4\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2022-11-18T03:32:19.8796219Z\",\n \"\ + endTime\": \"2022-11-18T03:33:56.3771394Z\"\n }" headers: cache-control: - no-cache @@ -1000,7 +1049,7 @@ interactions: content-type: - application/json date: - - Thu, 17 Nov 2022 18:42:39 GMT + - Fri, 18 Nov 2022 03:34:20 GMT expires: - '-1' pragma: @@ -1043,9 +1092,9 @@ interactions: : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ : \"Running\"\n },\n \"kubernetesVersion\": \"1.23.12\",\n \"currentKubernetesVersion\"\ - : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestsgqafwelm-8ecadf\",\n\ - \ \"fqdn\": \"cliakstest-clitestsgqafwelm-8ecadf-0f37eb7c.hcp.westus2.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestsgqafwelm-8ecadf-0f37eb7c.portal.hcp.westus2.azmk8s.io\"\ + : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestidk266fbz-8ecadf\",\n\ + \ \"fqdn\": \"cliakstest-clitestidk266fbz-8ecadf-5ffb438b.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestidk266fbz-8ecadf-5ffb438b.portal.hcp.westus2.azmk8s.io\"\ ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ @@ -1069,7 +1118,7 @@ interactions: : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/8b220f78-e99d-4f1e-83b0-772ce38ee773\"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/be6a3757-5200-46e6-909e-9e17f663c68d\"\ \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n \ \ },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\"\ ,\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\"\ @@ -1097,7 +1146,7 @@ interactions: content-type: - application/json date: - - Thu, 17 Nov 2022 18:42:40 GMT + - Fri, 18 Nov 2022 03:34:21 GMT expires: - '-1' pragma: @@ -1140,17 +1189,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/05f256d5-27cd-4d2b-b132-d648d2d18bf2?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/89fd9b98-a5a5-47d7-a78d-3790a86e6d72?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Thu, 17 Nov 2022 18:42:45 GMT + - Fri, 18 Nov 2022 03:34:27 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/05f256d5-27cd-4d2b-b132-d648d2d18bf2?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/89fd9b98-a5a5-47d7-a78d-3790a86e6d72?api-version=2016-03-30 pragma: - no-cache server: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py b/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py index 93b36993e62..f3bb9d4dec8 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py +++ b/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py @@ -5994,6 +5994,7 @@ def test_aks_create_with_kube_proxy_config(self, resource_group, resource_group_ 'aks delete -g {resource_group} -n {name} --yes --no-wait', checks=[self.is_empty()]) # live only due to workspace is not mocked correctly + @live_only() @AllowLargeResponse() @AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='westus2') def test_aks_update_with_kube_proxy_config(self, resource_group, resource_group_location): From 67b0c9ec45ff13f6d80b359b6218e4f408972b5a Mon Sep 17 00:00:00 2001 From: mattstam Date: Mon, 28 Nov 2022 11:30:21 -0800 Subject: [PATCH 5/6] fix merge conflicts, add backslash --- .../azext_aks_preview/tests/latest/test_aks_commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py b/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py index f3bb9d4dec8..012eeab2135 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py +++ b/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py @@ -6022,7 +6022,8 @@ def test_aks_update_with_kube_proxy_config(self, resource_group, resource_group_ 'kube_proxy_path': _get_test_data_file('kubeproxyconfig_update.json'), }) - update_cmd = 'aks update --resource-group={resource_group} --name={name} --kube-proxy-config={kube_proxy_path}' + update_cmd = 'aks update --resource-group={resource_group} --name={name} --kube-proxy-config={kube_proxy_path} ' \ + '--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/KubeProxyConfigurationPreview' # TODO: check actual values getting update, currently returned MC does not sync self.cmd(update_cmd, checks=[ From 99bc1394b8054092d842e1732c5af562b836fae7 Mon Sep 17 00:00:00 2001 From: mattstam Date: Mon, 28 Nov 2022 21:27:21 -0800 Subject: [PATCH 6/6] update recordings --- ...est_aks_create_with_kube_proxy_config.yaml | 157 ++-- ...est_aks_update_with_kube_proxy_config.yaml | 852 +++++++++--------- 2 files changed, 514 insertions(+), 495 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_kube_proxy_config.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_kube_proxy_config.yaml index 9fcfacf1d84..f163d4c276c 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_kube_proxy_config.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_kube_proxy_config.yaml @@ -19,7 +19,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-11-24T10:16:46Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-11-29T02:21:43Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 24 Nov 2022 10:16:46 GMT + - Tue, 29 Nov 2022 02:21:44 GMT expires: - '-1' pragma: @@ -44,7 +44,7 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestzxe6cyu5t-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestmjutweq6z-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 0, "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": @@ -52,14 +52,13 @@ interactions: false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "nodeTaints": [], "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "networkProfile": {}, "name": "nodepool1"}], "linuxProfile": - {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDgwJ1YLtrtaF7seObyf1xaMbixzWbi2HkGaOQ4C7BPyeho2pMacCkJ0qYZa0V+Muv+22BUMr0QNBnzuEYku5uM5AZW2j4fu/cRMp+1HtZHtbGRcHD2a4iMRMfUDXUCefmVhL9WzN3JUzc5sTu2HLEaAtEKAMbT/hOL75vaYug7WFsE7U7eia+E1LFMxXa+z5aKDPLYok4JduYqdALRqElogv8QekQLwjw1kt7IZY9z4krjo4FXPHd5RDIalO0mH4eNYhxbxW6r6M/OQsqxqUAOauFzF9QgU/gFMcIZC4eU2ZbQZMbMH/l+CMAwNK8ccxOEFLSmkZiPVvQ3l1ANjJeN + {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDdp/aDR9b8E4kBxx6P+ufG9gOkUeMtZVyC6y8rbGPlOhq90E597Y9FfT8/AiprWR8tu363Fl/2h/hXgfkjIFS8Z7IY5RkdmsAMhvzcIlsUpUiraOPLwg2yW40HE+3d7N1r00efkTY5PwLCkv40mhnW+f6fIkKHrKkManLOuzdrhT5ONQHovGEV/djQHXLZ8WFKQOsjpX4rP6kahTgCzexmsNl/C0ydVs10B2DXSa54cO2y6bLetuBMzPSS5MK/9FfMHbPh1zIA95x/gEPyKl58DQKCO6l4EkSqt7SkpOaglrxnzvQIUxf1HmHgyTAiisDBtGRneOKOXAFrzNu0qOcn azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": - "standard", "kubeProxyConfig": {"enabled": true, "mode": "IPVS", "ipvsConfig": - {"scheduler": "LeastConnection"}}}, "disableLocalAccounts": false, "storageProfile": - {}}}' + "standard", "kubeProxyConfig": {"enabled": true, "mode": "IPTABLES"}}, "disableLocalAccounts": + false, "storageProfile": {}}}' headers: AKSHTTPCustomFeatures: - Microsoft.ContainerService/KubeProxyConfigurationPreview @@ -72,7 +71,7 @@ interactions: Connection: - keep-alive Content-Length: - - '1682' + - '1638' Content-Type: - application/json ParameterSetName: @@ -90,8 +89,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.23.12\",\n \"currentKubernetesVersion\": \"1.23.12\",\n \"dnsPrefix\": - \"cliakstest-clitestzxe6cyu5t-79a739\",\n \"fqdn\": \"cliakstest-clitestzxe6cyu5t-79a739-573cba91.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestzxe6cyu5t-79a739-573cba91.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestmjutweq6z-79a739\",\n \"fqdn\": \"cliakstest-clitestmjutweq6z-79a739-a2f7c1fe.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestmjutweq6z-79a739-a2f7c1fe.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -105,7 +104,7 @@ interactions: \"AKSUbuntu-1804gen2containerd-2022.10.24\",\n \"upgradeSettings\": {},\n \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": - [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDgwJ1YLtrtaF7seObyf1xaMbixzWbi2HkGaOQ4C7BPyeho2pMacCkJ0qYZa0V+Muv+22BUMr0QNBnzuEYku5uM5AZW2j4fu/cRMp+1HtZHtbGRcHD2a4iMRMfUDXUCefmVhL9WzN3JUzc5sTu2HLEaAtEKAMbT/hOL75vaYug7WFsE7U7eia+E1LFMxXa+z5aKDPLYok4JduYqdALRqElogv8QekQLwjw1kt7IZY9z4krjo4FXPHd5RDIalO0mH4eNYhxbxW6r6M/OQsqxqUAOauFzF9QgU/gFMcIZC4eU2ZbQZMbMH/l+CMAwNK8ccxOEFLSmkZiPVvQ3l1ANjJeN + [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDdp/aDR9b8E4kBxx6P+ufG9gOkUeMtZVyC6y8rbGPlOhq90E597Y9FfT8/AiprWR8tu363Fl/2h/hXgfkjIFS8Z7IY5RkdmsAMhvzcIlsUpUiraOPLwg2yW40HE+3d7N1r00efkTY5PwLCkv40mhnW+f6fIkKHrKkManLOuzdrhT5ONQHovGEV/djQHXLZ8WFKQOsjpX4rP6kahTgCzexmsNl/C0ydVs10B2DXSa54cO2y6bLetuBMzPSS5MK/9FfMHbPh1zIA95x/gEPyKl58DQKCO6l4EkSqt7SkpOaglrxnzvQIUxf1HmHgyTAiisDBtGRneOKOXAFrzNu0qOcn azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n @@ -117,8 +116,7 @@ interactions: \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ],\n \"kubeProxyConfig\": - {\n \"enabled\": true,\n \"mode\": \"IPVS\",\n \"ipvsConfig\": - {\n \"scheduler\": \"LeastConnection\"\n }\n }\n },\n \"maxAgentPools\": + {\n \"enabled\": true,\n \"mode\": \"IPTABLES\"\n }\n },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": true,\n \"version\": \"v1\"\n \ },\n \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\": @@ -129,15 +127,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c6b82c98-3023-4e74-9ad2-17a669de16a7?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a5edbc07-bd0f-4201-9943-3399afb79827?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3620' + - '3558' content-type: - application/json date: - - Thu, 24 Nov 2022 10:16:50 GMT + - Tue, 29 Nov 2022 02:21:48 GMT expires: - '-1' pragma: @@ -149,7 +147,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1198' status: code: 201 message: Created @@ -171,20 +169,20 @@ interactions: - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c6b82c98-3023-4e74-9ad2-17a669de16a7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a5edbc07-bd0f-4201-9943-3399afb79827?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"982cb8c6-2330-744e-9ad2-17a669de16a7\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-11-24T10:16:50.889164Z\"\n }" + string: "{\n \"name\": \"07bceda5-0fbd-0142-9943-3399afb79827\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-11-29T02:21:48.4935807Z\"\n }" headers: cache-control: - no-cache content-length: - - '125' + - '126' content-type: - application/json date: - - Thu, 24 Nov 2022 10:17:21 GMT + - Tue, 29 Nov 2022 02:22:18 GMT expires: - '-1' pragma: @@ -220,20 +218,20 @@ interactions: - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c6b82c98-3023-4e74-9ad2-17a669de16a7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a5edbc07-bd0f-4201-9943-3399afb79827?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"982cb8c6-2330-744e-9ad2-17a669de16a7\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-11-24T10:16:50.889164Z\"\n }" + string: "{\n \"name\": \"07bceda5-0fbd-0142-9943-3399afb79827\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-11-29T02:21:48.4935807Z\"\n }" headers: cache-control: - no-cache content-length: - - '125' + - '126' content-type: - application/json date: - - Thu, 24 Nov 2022 10:17:51 GMT + - Tue, 29 Nov 2022 02:22:48 GMT expires: - '-1' pragma: @@ -269,20 +267,20 @@ interactions: - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c6b82c98-3023-4e74-9ad2-17a669de16a7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a5edbc07-bd0f-4201-9943-3399afb79827?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"982cb8c6-2330-744e-9ad2-17a669de16a7\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-11-24T10:16:50.889164Z\"\n }" + string: "{\n \"name\": \"07bceda5-0fbd-0142-9943-3399afb79827\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-11-29T02:21:48.4935807Z\"\n }" headers: cache-control: - no-cache content-length: - - '125' + - '126' content-type: - application/json date: - - Thu, 24 Nov 2022 10:18:20 GMT + - Tue, 29 Nov 2022 02:23:18 GMT expires: - '-1' pragma: @@ -318,20 +316,20 @@ interactions: - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c6b82c98-3023-4e74-9ad2-17a669de16a7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a5edbc07-bd0f-4201-9943-3399afb79827?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"982cb8c6-2330-744e-9ad2-17a669de16a7\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-11-24T10:16:50.889164Z\"\n }" + string: "{\n \"name\": \"07bceda5-0fbd-0142-9943-3399afb79827\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-11-29T02:21:48.4935807Z\"\n }" headers: cache-control: - no-cache content-length: - - '125' + - '126' content-type: - application/json date: - - Thu, 24 Nov 2022 10:18:51 GMT + - Tue, 29 Nov 2022 02:23:48 GMT expires: - '-1' pragma: @@ -367,20 +365,20 @@ interactions: - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c6b82c98-3023-4e74-9ad2-17a669de16a7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a5edbc07-bd0f-4201-9943-3399afb79827?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"982cb8c6-2330-744e-9ad2-17a669de16a7\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-11-24T10:16:50.889164Z\"\n }" + string: "{\n \"name\": \"07bceda5-0fbd-0142-9943-3399afb79827\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-11-29T02:21:48.4935807Z\"\n }" headers: cache-control: - no-cache content-length: - - '125' + - '126' content-type: - application/json date: - - Thu, 24 Nov 2022 10:19:20 GMT + - Tue, 29 Nov 2022 02:24:18 GMT expires: - '-1' pragma: @@ -416,20 +414,20 @@ interactions: - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c6b82c98-3023-4e74-9ad2-17a669de16a7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a5edbc07-bd0f-4201-9943-3399afb79827?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"982cb8c6-2330-744e-9ad2-17a669de16a7\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-11-24T10:16:50.889164Z\"\n }" + string: "{\n \"name\": \"07bceda5-0fbd-0142-9943-3399afb79827\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-11-29T02:21:48.4935807Z\"\n }" headers: cache-control: - no-cache content-length: - - '125' + - '126' content-type: - application/json date: - - Thu, 24 Nov 2022 10:19:50 GMT + - Tue, 29 Nov 2022 02:24:48 GMT expires: - '-1' pragma: @@ -465,20 +463,20 @@ interactions: - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c6b82c98-3023-4e74-9ad2-17a669de16a7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a5edbc07-bd0f-4201-9943-3399afb79827?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"982cb8c6-2330-744e-9ad2-17a669de16a7\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-11-24T10:16:50.889164Z\"\n }" + string: "{\n \"name\": \"07bceda5-0fbd-0142-9943-3399afb79827\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-11-29T02:21:48.4935807Z\"\n }" headers: cache-control: - no-cache content-length: - - '125' + - '126' content-type: - application/json date: - - Thu, 24 Nov 2022 10:20:20 GMT + - Tue, 29 Nov 2022 02:25:18 GMT expires: - '-1' pragma: @@ -514,20 +512,20 @@ interactions: - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c6b82c98-3023-4e74-9ad2-17a669de16a7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a5edbc07-bd0f-4201-9943-3399afb79827?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"982cb8c6-2330-744e-9ad2-17a669de16a7\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-11-24T10:16:50.889164Z\"\n }" + string: "{\n \"name\": \"07bceda5-0fbd-0142-9943-3399afb79827\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-11-29T02:21:48.4935807Z\"\n }" headers: cache-control: - no-cache content-length: - - '125' + - '126' content-type: - application/json date: - - Thu, 24 Nov 2022 10:20:51 GMT + - Tue, 29 Nov 2022 02:25:48 GMT expires: - '-1' pragma: @@ -563,20 +561,20 @@ interactions: - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c6b82c98-3023-4e74-9ad2-17a669de16a7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a5edbc07-bd0f-4201-9943-3399afb79827?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"982cb8c6-2330-744e-9ad2-17a669de16a7\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-11-24T10:16:50.889164Z\"\n }" + string: "{\n \"name\": \"07bceda5-0fbd-0142-9943-3399afb79827\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-11-29T02:21:48.4935807Z\"\n }" headers: cache-control: - no-cache content-length: - - '125' + - '126' content-type: - application/json date: - - Thu, 24 Nov 2022 10:21:21 GMT + - Tue, 29 Nov 2022 02:26:18 GMT expires: - '-1' pragma: @@ -612,21 +610,21 @@ interactions: - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c6b82c98-3023-4e74-9ad2-17a669de16a7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a5edbc07-bd0f-4201-9943-3399afb79827?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"982cb8c6-2330-744e-9ad2-17a669de16a7\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-11-24T10:16:50.889164Z\",\n \"endTime\": - \"2022-11-24T10:21:50.0492962Z\"\n }" + string: "{\n \"name\": \"07bceda5-0fbd-0142-9943-3399afb79827\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-11-29T02:21:48.4935807Z\",\n \"endTime\": + \"2022-11-29T02:26:28.2349845Z\"\n }" headers: cache-control: - no-cache content-length: - - '169' + - '170' content-type: - application/json date: - - Thu, 24 Nov 2022 10:21:51 GMT + - Tue, 29 Nov 2022 02:26:48 GMT expires: - '-1' pragma: @@ -670,8 +668,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.23.12\",\n \"currentKubernetesVersion\": \"1.23.12\",\n \"dnsPrefix\": - \"cliakstest-clitestzxe6cyu5t-79a739\",\n \"fqdn\": \"cliakstest-clitestzxe6cyu5t-79a739-573cba91.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestzxe6cyu5t-79a739-573cba91.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestmjutweq6z-79a739\",\n \"fqdn\": \"cliakstest-clitestmjutweq6z-79a739-a2f7c1fe.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestmjutweq6z-79a739-a2f7c1fe.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -685,22 +683,21 @@ interactions: \"AKSUbuntu-1804gen2containerd-2022.10.24\",\n \"upgradeSettings\": {},\n \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": - [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDgwJ1YLtrtaF7seObyf1xaMbixzWbi2HkGaOQ4C7BPyeho2pMacCkJ0qYZa0V+Muv+22BUMr0QNBnzuEYku5uM5AZW2j4fu/cRMp+1HtZHtbGRcHD2a4iMRMfUDXUCefmVhL9WzN3JUzc5sTu2HLEaAtEKAMbT/hOL75vaYug7WFsE7U7eia+E1LFMxXa+z5aKDPLYok4JduYqdALRqElogv8QekQLwjw1kt7IZY9z4krjo4FXPHd5RDIalO0mH4eNYhxbxW6r6M/OQsqxqUAOauFzF9QgU/gFMcIZC4eU2ZbQZMbMH/l+CMAwNK8ccxOEFLSmkZiPVvQ3l1ANjJeN + [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDdp/aDR9b8E4kBxx6P+ufG9gOkUeMtZVyC6y8rbGPlOhq90E597Y9FfT8/AiprWR8tu363Fl/2h/hXgfkjIFS8Z7IY5RkdmsAMhvzcIlsUpUiraOPLwg2yW40HE+3d7N1r00efkTY5PwLCkv40mhnW+f6fIkKHrKkManLOuzdrhT5ONQHovGEV/djQHXLZ8WFKQOsjpX4rP6kahTgCzexmsNl/C0ydVs10B2DXSa54cO2y6bLetuBMzPSS5MK/9FfMHbPh1zIA95x/gEPyKl58DQKCO6l4EkSqt7SkpOaglrxnzvQIUxf1HmHgyTAiisDBtGRneOKOXAFrzNu0qOcn azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/015e5ece-8a5c-4de3-8f39-4d298a14d603\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/668f929a-7d94-4e25-8ba4-a362efd33c74\"\n \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ],\n \"kubeProxyConfig\": {\n \"enabled\": true,\n - \ \"mode\": \"IPVS\",\n \"ipvsConfig\": {\n \"scheduler\": \"LeastConnection\"\n - \ }\n }\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": + \ \"mode\": \"IPTABLES\"\n }\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\",\n \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": @@ -715,11 +712,11 @@ interactions: cache-control: - no-cache content-length: - - '4273' + - '4211' content-type: - application/json date: - - Thu, 24 Nov 2022 10:21:51 GMT + - Tue, 29 Nov 2022 02:26:49 GMT expires: - '-1' pragma: @@ -762,17 +759,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4523966c-b41d-4213-85c1-f3371c0e4be0?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3405fc0b-10b8-4898-80be-92891472df83?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Thu, 24 Nov 2022 10:21:53 GMT + - Tue, 29 Nov 2022 02:26:51 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/4523966c-b41d-4213-85c1-f3371c0e4be0?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/3405fc0b-10b8-4898-80be-92891472df83?api-version=2016-03-30 pragma: - no-cache server: @@ -782,7 +779,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14994' + - '14999' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_kube_proxy_config.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_kube_proxy_config.yaml index 383af7d11a9..50e338a4e8a 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_kube_proxy_config.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_kube_proxy_config.yaml @@ -14,13 +14,12 @@ interactions: - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value --enable-managed-identity --yes -o User-Agent: - - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.8 - (Linux-5.15.49-linuxkit-x86_64-with) + - AZURECLI/2.42.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.10 (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-11-18T03:27:57Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-11-29T02:21:43Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -29,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Nov 2022 03:28:00 GMT + - Tue, 29 Nov 2022 02:21:43 GMT expires: - '-1' pragma: @@ -45,7 +44,7 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestidk266fbz-8ecadf", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesth6pqkd67e-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 0, "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": @@ -53,12 +52,12 @@ interactions: false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "nodeTaints": [], "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "networkProfile": {}, "name": "nodepool1"}], "linuxProfile": - {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": - false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", - "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": - "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard", - "kubeProxyConfig": {"enabled": true, "mode": "IPTABLES"}}, "disableLocalAccounts": + {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDdp/aDR9b8E4kBxx6P+ufG9gOkUeMtZVyC6y8rbGPlOhq90E597Y9FfT8/AiprWR8tu363Fl/2h/hXgfkjIFS8Z7IY5RkdmsAMhvzcIlsUpUiraOPLwg2yW40HE+3d7N1r00efkTY5PwLCkv40mhnW+f6fIkKHrKkManLOuzdrhT5ONQHovGEV/djQHXLZ8WFKQOsjpX4rP6kahTgCzexmsNl/C0ydVs10B2DXSa54cO2y6bLetuBMzPSS5MK/9FfMHbPh1zIA95x/gEPyKl58DQKCO6l4EkSqt7SkpOaglrxnzvQIUxf1HmHgyTAiisDBtGRneOKOXAFrzNu0qOcn + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard", "kubeProxyConfig": {"enabled": true, "mode": "IPTABLES"}}, "disableLocalAccounts": false, "storageProfile": {}}}' headers: AKSHTTPCustomFeatures: @@ -72,76 +71,71 @@ interactions: Connection: - keep-alive Content-Length: - - '1967' + - '1638' Content-Type: - application/json ParameterSetName: - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value --enable-managed-identity --yes -o User-Agent: - - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) + - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 + (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-09-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-10-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ - ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\"\ - : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ - \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\"\ - : \"Running\"\n },\n \"kubernetesVersion\": \"1.23.12\",\n \"currentKubernetesVersion\"\ - : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestidk266fbz-8ecadf\",\n\ - \ \"fqdn\": \"cliakstest-clitestidk266fbz-8ecadf-5ffb438b.hcp.westus2.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestidk266fbz-8ecadf-5ffb438b.portal.hcp.westus2.azmk8s.io\"\ - ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ - \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ - : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ - ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ - \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ - \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \ - \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.23.12\"\ - ,\n \"currentOrchestratorVersion\": \"1.23.12\",\n \"enableNodePublicIP\"\ - : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ - ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ - : \"AKSUbuntu-1804gen2containerd-2022.10.24\",\n \"upgradeSettings\":\ - \ {},\n \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n \ - \ ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa\ - \ AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ - \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ - : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ - \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n\ - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ - : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\"\ - ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ - count\": 1\n },\n \"backendPoolType\": \"nodeIPConfiguration\"\n \ - \ },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\"\ - ,\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\"\ - ,\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\ - \n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\"\ - : [\n \"IPv4\"\n ],\n \"kubeProxyConfig\": {\n \"enabled\":\ - \ true,\n \"mode\": \"IPTABLES\"\n }\n },\n \"maxAgentPools\":\ - \ 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n\ - \ \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": true,\n\ - \ \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\"\ - : true\n },\n \"snapshotController\": {\n \"enabled\": true\n \ - \ }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n\ - \ \"workloadAutoScalerProfile\": {}\n },\n \"identity\": {\n \"type\"\ - : \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ - ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ - : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n + \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": + \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": + \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": + \"1.23.12\",\n \"currentKubernetesVersion\": \"1.23.12\",\n \"dnsPrefix\": + \"cliakstest-clitesth6pqkd67e-79a739\",\n \"fqdn\": \"cliakstest-clitesth6pqkd67e-79a739-8eb0943d.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitesth6pqkd67e-79a739-8eb0943d.portal.hcp.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Creating\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.23.12\",\n \"currentOrchestratorVersion\": \"1.23.12\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-1804gen2containerd-2022.10.24\",\n \"upgradeSettings\": {},\n + \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": + {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": + [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDdp/aDR9b8E4kBxx6P+ufG9gOkUeMtZVyC6y8rbGPlOhq90E597Y9FfT8/AiprWR8tu363Fl/2h/hXgfkjIFS8Z7IY5RkdmsAMhvzcIlsUpUiraOPLwg2yW40HE+3d7N1r00efkTY5PwLCkv40mhnW+f6fIkKHrKkManLOuzdrhT5ONQHovGEV/djQHXLZ8WFKQOsjpX4rP6kahTgCzexmsNl/C0ydVs10B2DXSa54cO2y6bLetuBMzPSS5MK/9FfMHbPh1zIA95x/gEPyKl58DQKCO6l4EkSqt7SkpOaglrxnzvQIUxf1HmHgyTAiisDBtGRneOKOXAFrzNu0qOcn + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"backendPoolType\": + \"nodeIPConfiguration\"\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": + \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": + \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": + [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n + \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ],\n \"kubeProxyConfig\": + {\n \"enabled\": true,\n \"mode\": \"IPTABLES\"\n }\n },\n \"maxAgentPools\": + 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"storageProfile\": + {\n \"diskCSIDriver\": {\n \"enabled\": true,\n \"version\": \"v1\"\n + \ },\n \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\": + {\n \"enabled\": true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": + false\n },\n \"workloadAutoScalerProfile\": {}\n },\n \"identity\": + {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": + {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4be6840-50d2-4b44-83f0-61d37eff06da?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1b5d395-628a-4675-838c-e3a5c972952a?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3887' + - '3558' content-type: - application/json date: - - Fri, 18 Nov 2022 03:28:08 GMT + - Tue, 29 Nov 2022 02:21:49 GMT expires: - '-1' pragma: @@ -172,14 +166,14 @@ interactions: - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value --enable-managed-identity --yes -o User-Agent: - - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) + - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 + (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4be6840-50d2-4b44-83f0-61d37eff06da?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1b5d395-628a-4675-838c-e3a5c972952a?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4068bec4-d250-444b-83f0-61d37eff06da\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-18T03:28:08.5351629Z\"\n }" + string: "{\n \"name\": \"95d3b5e1-8a62-7546-838c-e3a5c972952a\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-11-29T02:21:49.1967531Z\"\n }" headers: cache-control: - no-cache @@ -188,7 +182,7 @@ interactions: content-type: - application/json date: - - Fri, 18 Nov 2022 03:28:38 GMT + - Tue, 29 Nov 2022 02:22:19 GMT expires: - '-1' pragma: @@ -221,14 +215,14 @@ interactions: - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value --enable-managed-identity --yes -o User-Agent: - - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) + - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 + (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4be6840-50d2-4b44-83f0-61d37eff06da?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1b5d395-628a-4675-838c-e3a5c972952a?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4068bec4-d250-444b-83f0-61d37eff06da\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-18T03:28:08.5351629Z\"\n }" + string: "{\n \"name\": \"95d3b5e1-8a62-7546-838c-e3a5c972952a\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-11-29T02:21:49.1967531Z\"\n }" headers: cache-control: - no-cache @@ -237,7 +231,7 @@ interactions: content-type: - application/json date: - - Fri, 18 Nov 2022 03:29:09 GMT + - Tue, 29 Nov 2022 02:22:49 GMT expires: - '-1' pragma: @@ -270,14 +264,14 @@ interactions: - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value --enable-managed-identity --yes -o User-Agent: - - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) + - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 + (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4be6840-50d2-4b44-83f0-61d37eff06da?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1b5d395-628a-4675-838c-e3a5c972952a?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4068bec4-d250-444b-83f0-61d37eff06da\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-18T03:28:08.5351629Z\"\n }" + string: "{\n \"name\": \"95d3b5e1-8a62-7546-838c-e3a5c972952a\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-11-29T02:21:49.1967531Z\"\n }" headers: cache-control: - no-cache @@ -286,7 +280,7 @@ interactions: content-type: - application/json date: - - Fri, 18 Nov 2022 03:29:39 GMT + - Tue, 29 Nov 2022 02:23:19 GMT expires: - '-1' pragma: @@ -319,14 +313,14 @@ interactions: - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value --enable-managed-identity --yes -o User-Agent: - - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) + - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 + (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4be6840-50d2-4b44-83f0-61d37eff06da?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1b5d395-628a-4675-838c-e3a5c972952a?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4068bec4-d250-444b-83f0-61d37eff06da\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-18T03:28:08.5351629Z\"\n }" + string: "{\n \"name\": \"95d3b5e1-8a62-7546-838c-e3a5c972952a\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-11-29T02:21:49.1967531Z\"\n }" headers: cache-control: - no-cache @@ -335,7 +329,7 @@ interactions: content-type: - application/json date: - - Fri, 18 Nov 2022 03:30:09 GMT + - Tue, 29 Nov 2022 02:23:49 GMT expires: - '-1' pragma: @@ -368,14 +362,14 @@ interactions: - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value --enable-managed-identity --yes -o User-Agent: - - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) + - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 + (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4be6840-50d2-4b44-83f0-61d37eff06da?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1b5d395-628a-4675-838c-e3a5c972952a?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4068bec4-d250-444b-83f0-61d37eff06da\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-18T03:28:08.5351629Z\"\n }" + string: "{\n \"name\": \"95d3b5e1-8a62-7546-838c-e3a5c972952a\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-11-29T02:21:49.1967531Z\"\n }" headers: cache-control: - no-cache @@ -384,7 +378,7 @@ interactions: content-type: - application/json date: - - Fri, 18 Nov 2022 03:30:40 GMT + - Tue, 29 Nov 2022 02:24:19 GMT expires: - '-1' pragma: @@ -417,14 +411,14 @@ interactions: - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value --enable-managed-identity --yes -o User-Agent: - - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) + - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 + (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4be6840-50d2-4b44-83f0-61d37eff06da?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1b5d395-628a-4675-838c-e3a5c972952a?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4068bec4-d250-444b-83f0-61d37eff06da\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-18T03:28:08.5351629Z\"\n }" + string: "{\n \"name\": \"95d3b5e1-8a62-7546-838c-e3a5c972952a\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-11-29T02:21:49.1967531Z\"\n }" headers: cache-control: - no-cache @@ -433,7 +427,7 @@ interactions: content-type: - application/json date: - - Fri, 18 Nov 2022 03:31:10 GMT + - Tue, 29 Nov 2022 02:24:49 GMT expires: - '-1' pragma: @@ -466,14 +460,14 @@ interactions: - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value --enable-managed-identity --yes -o User-Agent: - - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) + - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 + (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4be6840-50d2-4b44-83f0-61d37eff06da?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1b5d395-628a-4675-838c-e3a5c972952a?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4068bec4-d250-444b-83f0-61d37eff06da\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-18T03:28:08.5351629Z\"\n }" + string: "{\n \"name\": \"95d3b5e1-8a62-7546-838c-e3a5c972952a\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-11-29T02:21:49.1967531Z\"\n }" headers: cache-control: - no-cache @@ -482,7 +476,7 @@ interactions: content-type: - application/json date: - - Fri, 18 Nov 2022 03:31:40 GMT + - Tue, 29 Nov 2022 02:25:19 GMT expires: - '-1' pragma: @@ -515,24 +509,23 @@ interactions: - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value --enable-managed-identity --yes -o User-Agent: - - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) + - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 + (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4be6840-50d2-4b44-83f0-61d37eff06da?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1b5d395-628a-4675-838c-e3a5c972952a?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4068bec4-d250-444b-83f0-61d37eff06da\",\n \"status\"\ - : \"Succeeded\",\n \"startTime\": \"2022-11-18T03:28:08.5351629Z\",\n \"\ - endTime\": \"2022-11-18T03:31:50.3872629Z\"\n }" + string: "{\n \"name\": \"95d3b5e1-8a62-7546-838c-e3a5c972952a\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-11-29T02:21:49.1967531Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '126' content-type: - application/json date: - - Fri, 18 Nov 2022 03:32:10 GMT + - Tue, 29 Nov 2022 02:25:49 GMT expires: - '-1' pragma: @@ -565,72 +558,23 @@ interactions: - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value --enable-managed-identity --yes -o User-Agent: - - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) + - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 + (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-09-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1b5d395-628a-4675-838c-e3a5c972952a?api-version=2016-03-30 response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ - ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\"\ - : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ - : \"Running\"\n },\n \"kubernetesVersion\": \"1.23.12\",\n \"currentKubernetesVersion\"\ - : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestidk266fbz-8ecadf\",\n\ - \ \"fqdn\": \"cliakstest-clitestidk266fbz-8ecadf-5ffb438b.hcp.westus2.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestidk266fbz-8ecadf-5ffb438b.portal.hcp.westus2.azmk8s.io\"\ - ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ - \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ - : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ - ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ - \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ - \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.23.12\"\ - ,\n \"currentOrchestratorVersion\": \"1.23.12\",\n \"enableNodePublicIP\"\ - : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ - ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ - : \"AKSUbuntu-1804gen2containerd-2022.10.24\",\n \"upgradeSettings\":\ - \ {},\n \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n \ - \ ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa\ - \ AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ - \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ - : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ - \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n\ - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ - : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ - ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ - count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/be6a3757-5200-46e6-909e-9e17f663c68d\"\ - \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n \ - \ },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\"\ - ,\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\"\ - ,\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\ - \n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\"\ - : [\n \"IPv4\"\n ],\n \"kubeProxyConfig\": {\n \"enabled\":\ - \ true,\n \"mode\": \"IPTABLES\"\n }\n },\n \"maxAgentPools\":\ - \ 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\"\ - ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ - :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"disableLocalAccounts\"\ - : false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\"\ - : {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\"\ - : {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"\ - enabled\": true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\"\ - : false\n },\n \"workloadAutoScalerProfile\": {}\n },\n \"identity\"\ - : {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ - ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ - : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"name\": \"95d3b5e1-8a62-7546-838c-e3a5c972952a\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-11-29T02:21:49.1967531Z\"\n }" headers: cache-control: - no-cache content-length: - - '4540' + - '126' content-type: - application/json date: - - Fri, 18 Nov 2022 03:32:11 GMT + - Tue, 29 Nov 2022 02:26:19 GMT expires: - '-1' pragma: @@ -652,82 +596,127 @@ interactions: body: null headers: Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value + --enable-managed-identity --yes -o + User-Agent: + - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 + (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1b5d395-628a-4675-838c-e3a5c972952a?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"95d3b5e1-8a62-7546-838c-e3a5c972952a\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-11-29T02:21:49.1967531Z\",\n \"endTime\": + \"2022-11-29T02:26:39.4665825Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: - application/json + date: + - Tue, 29 Nov 2022 02:26:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - aks update + - aks create Connection: - keep-alive ParameterSetName: - - --resource-group --name --kube-proxy-config + - --resource-group --name --kube-proxy-config --aks-custom-headers --ssh-key-value + --enable-managed-identity --yes -o User-Agent: - - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) + - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 + (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-09-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-10-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ - ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\"\ - : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ - : \"Running\"\n },\n \"kubernetesVersion\": \"1.23.12\",\n \"currentKubernetesVersion\"\ - : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestidk266fbz-8ecadf\",\n\ - \ \"fqdn\": \"cliakstest-clitestidk266fbz-8ecadf-5ffb438b.hcp.westus2.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestidk266fbz-8ecadf-5ffb438b.portal.hcp.westus2.azmk8s.io\"\ - ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ - \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ - : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ - ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ - \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ - \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.23.12\"\ - ,\n \"currentOrchestratorVersion\": \"1.23.12\",\n \"enableNodePublicIP\"\ - : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ - ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ - : \"AKSUbuntu-1804gen2containerd-2022.10.24\",\n \"upgradeSettings\":\ - \ {},\n \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n \ - \ ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa\ - \ AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ - \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ - : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ - \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n\ - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ - : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ - ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ - count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/be6a3757-5200-46e6-909e-9e17f663c68d\"\ - \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n \ - \ },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\"\ - ,\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\"\ - ,\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\ - \n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\"\ - : [\n \"IPv4\"\n ],\n \"kubeProxyConfig\": {\n \"enabled\":\ - \ true,\n \"mode\": \"IPTABLES\"\n }\n },\n \"maxAgentPools\":\ - \ 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\"\ - ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ - :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"disableLocalAccounts\"\ - : false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\"\ - : {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\"\ - : {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"\ - enabled\": true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\"\ - : false\n },\n \"workloadAutoScalerProfile\": {}\n },\n \"identity\"\ - : {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ - ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ - : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n + \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": + \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": + \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": + \"1.23.12\",\n \"currentKubernetesVersion\": \"1.23.12\",\n \"dnsPrefix\": + \"cliakstest-clitesth6pqkd67e-79a739\",\n \"fqdn\": \"cliakstest-clitesth6pqkd67e-79a739-8eb0943d.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitesth6pqkd67e-79a739-8eb0943d.portal.hcp.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.23.12\",\n \"currentOrchestratorVersion\": \"1.23.12\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-1804gen2containerd-2022.10.24\",\n \"upgradeSettings\": {},\n + \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": + {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": + [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDdp/aDR9b8E4kBxx6P+ufG9gOkUeMtZVyC6y8rbGPlOhq90E597Y9FfT8/AiprWR8tu363Fl/2h/hXgfkjIFS8Z7IY5RkdmsAMhvzcIlsUpUiraOPLwg2yW40HE+3d7N1r00efkTY5PwLCkv40mhnW+f6fIkKHrKkManLOuzdrhT5ONQHovGEV/djQHXLZ8WFKQOsjpX4rP6kahTgCzexmsNl/C0ydVs10B2DXSa54cO2y6bLetuBMzPSS5MK/9FfMHbPh1zIA95x/gEPyKl58DQKCO6l4EkSqt7SkpOaglrxnzvQIUxf1HmHgyTAiisDBtGRneOKOXAFrzNu0qOcn + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/6c5800f0-ffaa-431a-9214-20ff40bd1c7f\"\n + \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n + \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n + \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": + [\n \"IPv4\"\n ],\n \"kubeProxyConfig\": {\n \"enabled\": true,\n + \ \"mode\": \"IPTABLES\"\n }\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": + {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\",\n + \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n + \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": + {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": + true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": + true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n + \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": + {}\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": + {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '4540' + - '4211' content-type: - application/json date: - - Fri, 18 Nov 2022 03:32:12 GMT + - Tue, 29 Nov 2022 02:26:49 GMT expires: - '-1' pragma: @@ -746,31 +735,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": - {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.23.12", "dnsPrefix": - "cliakstest-clitestidk266fbz-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": - "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": - "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", - "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", - "mode": "System", "orchestratorVersion": "1.23.12", "upgradeSettings": {}, "powerState": - {"code": "Running"}, "enableNodePublicIP": false, "enableCustomCATrust": false, - "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, - "networkProfile": {}, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, - "oidcIssuerProfile": {"enabled": false}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", - "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": - "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": - "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", - "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/be6a3757-5200-46e6-909e-9e17f663c68d"}], - "backendPoolType": "nodeIPConfiguration"}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": - ["10.0.0.0/16"], "ipFamilies": ["IPv4"], "kubeProxyConfig": {"enabled": true, - "mode": "IPTABLES"}}, "identityProfile": {"kubeletidentity": {"resourceId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", - "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false, "securityProfile": {}, "storageProfile": {}, - "workloadAutoScalerProfile": {}}}' + body: null headers: Accept: - application/json @@ -780,81 +745,69 @@ interactions: - aks update Connection: - keep-alive - Content-Length: - - '3052' - Content-Type: - - application/json ParameterSetName: - - --resource-group --name --kube-proxy-config + - --resource-group --name --kube-proxy-config --aks-custom-headers User-Agent: - - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-09-02-preview + - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 + (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-10-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ - ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\"\ - : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ - \ \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\"\ - : \"Running\"\n },\n \"kubernetesVersion\": \"1.23.12\",\n \"currentKubernetesVersion\"\ - : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestidk266fbz-8ecadf\",\n\ - \ \"fqdn\": \"cliakstest-clitestidk266fbz-8ecadf-5ffb438b.hcp.westus2.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestidk266fbz-8ecadf-5ffb438b.portal.hcp.westus2.azmk8s.io\"\ - ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ - \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ - : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ - ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ - \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ - \ \"provisioningState\": \"Updating\",\n \"powerState\": {\n \ - \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.23.12\"\ - ,\n \"currentOrchestratorVersion\": \"1.23.12\",\n \"enableNodePublicIP\"\ - : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ - ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ - : \"AKSUbuntu-1804gen2containerd-2022.10.24\",\n \"upgradeSettings\":\ - \ {},\n \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n \ - \ ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa\ - \ AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ - \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ - : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ - \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n\ - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ - : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ - ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ - count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/be6a3757-5200-46e6-909e-9e17f663c68d\"\ - \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n \ - \ },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\"\ - ,\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\"\ - ,\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\ - \n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\"\ - : [\n \"IPv4\"\n ],\n \"kubeProxyConfig\": {\n \"enabled\":\ - \ true,\n \"mode\": \"IPTABLES\"\n }\n },\n \"maxAgentPools\":\ - \ 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\"\ - ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ - :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"disableLocalAccounts\"\ - : false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\"\ - : {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\"\ - : {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"\ - enabled\": true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\"\ - : false\n },\n \"workloadAutoScalerProfile\": {}\n },\n \"identity\"\ - : {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ - ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ - : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n + \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": + \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": + \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": + \"1.23.12\",\n \"currentKubernetesVersion\": \"1.23.12\",\n \"dnsPrefix\": + \"cliakstest-clitesth6pqkd67e-79a739\",\n \"fqdn\": \"cliakstest-clitesth6pqkd67e-79a739-8eb0943d.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitesth6pqkd67e-79a739-8eb0943d.portal.hcp.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.23.12\",\n \"currentOrchestratorVersion\": \"1.23.12\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-1804gen2containerd-2022.10.24\",\n \"upgradeSettings\": {},\n + \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": + {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": + [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDdp/aDR9b8E4kBxx6P+ufG9gOkUeMtZVyC6y8rbGPlOhq90E597Y9FfT8/AiprWR8tu363Fl/2h/hXgfkjIFS8Z7IY5RkdmsAMhvzcIlsUpUiraOPLwg2yW40HE+3d7N1r00efkTY5PwLCkv40mhnW+f6fIkKHrKkManLOuzdrhT5ONQHovGEV/djQHXLZ8WFKQOsjpX4rP6kahTgCzexmsNl/C0ydVs10B2DXSa54cO2y6bLetuBMzPSS5MK/9FfMHbPh1zIA95x/gEPyKl58DQKCO6l4EkSqt7SkpOaglrxnzvQIUxf1HmHgyTAiisDBtGRneOKOXAFrzNu0qOcn + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/6c5800f0-ffaa-431a-9214-20ff40bd1c7f\"\n + \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n + \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n + \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": + [\n \"IPv4\"\n ],\n \"kubeProxyConfig\": {\n \"enabled\": true,\n + \ \"mode\": \"IPTABLES\"\n }\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": + {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\",\n + \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n + \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": + {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": + true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": + true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n + \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": + {}\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": + {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9abf7b0-e278-4566-8977-10ecfd7620a4?api-version=2016-03-30 cache-control: - no-cache content-length: - - '4538' + - '4211' content-type: - application/json date: - - Fri, 18 Nov 2022 03:32:19 GMT + - Tue, 29 Nov 2022 02:26:50 GMT expires: - '-1' pragma: @@ -869,42 +822,115 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' status: code: 200 message: OK - request: - body: null + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.23.12", "dnsPrefix": + "cliakstest-clitesth6pqkd67e-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", + "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.23.12", "upgradeSettings": {}, "powerState": + {"code": "Running"}, "enableNodePublicIP": false, "enableCustomCATrust": false, + "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, + "networkProfile": {}, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDdp/aDR9b8E4kBxx6P+ufG9gOkUeMtZVyC6y8rbGPlOhq90E597Y9FfT8/AiprWR8tu363Fl/2h/hXgfkjIFS8Z7IY5RkdmsAMhvzcIlsUpUiraOPLwg2yW40HE+3d7N1r00efkTY5PwLCkv40mhnW+f6fIkKHrKkManLOuzdrhT5ONQHovGEV/djQHXLZ8WFKQOsjpX4rP6kahTgCzexmsNl/C0ydVs10B2DXSa54cO2y6bLetuBMzPSS5MK/9FfMHbPh1zIA95x/gEPyKl58DQKCO6l4EkSqt7SkpOaglrxnzvQIUxf1HmHgyTAiisDBtGRneOKOXAFrzNu0qOcn + azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + "oidcIssuerProfile": {"enabled": false}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", + "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": + "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": + "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", + "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": + {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/6c5800f0-ffaa-431a-9214-20ff40bd1c7f"}], + "backendPoolType": "nodeIPConfiguration"}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": + ["10.0.0.0/16"], "ipFamilies": ["IPv4"], "kubeProxyConfig": {"enabled": true, + "mode": "IPTABLES"}}, "identityProfile": {"kubeletidentity": {"resourceId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", + "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, + "disableLocalAccounts": false, "securityProfile": {}, "storageProfile": {}, + "workloadAutoScalerProfile": {}}}' headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/KubeProxyConfigurationPreview Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - aks update Connection: - keep-alive + Content-Length: + - '2723' + Content-Type: + - application/json ParameterSetName: - - --resource-group --name --kube-proxy-config + - --resource-group --name --kube-proxy-config --aks-custom-headers User-Agent: - - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9abf7b0-e278-4566-8977-10ecfd7620a4?api-version=2016-03-30 + - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 + (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-10-02-preview response: body: - string: "{\n \"name\": \"b0f7abe9-78e2-6645-8977-10ecfd7620a4\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-18T03:32:19.8796219Z\"\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n + \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": + \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": + \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": + \"1.23.12\",\n \"currentKubernetesVersion\": \"1.23.12\",\n \"dnsPrefix\": + \"cliakstest-clitesth6pqkd67e-79a739\",\n \"fqdn\": \"cliakstest-clitesth6pqkd67e-79a739-8eb0943d.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitesth6pqkd67e-79a739-8eb0943d.portal.hcp.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Updating\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.23.12\",\n \"currentOrchestratorVersion\": \"1.23.12\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-1804gen2containerd-2022.10.24\",\n \"upgradeSettings\": {},\n + \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": + {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": + [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDdp/aDR9b8E4kBxx6P+ufG9gOkUeMtZVyC6y8rbGPlOhq90E597Y9FfT8/AiprWR8tu363Fl/2h/hXgfkjIFS8Z7IY5RkdmsAMhvzcIlsUpUiraOPLwg2yW40HE+3d7N1r00efkTY5PwLCkv40mhnW+f6fIkKHrKkManLOuzdrhT5ONQHovGEV/djQHXLZ8WFKQOsjpX4rP6kahTgCzexmsNl/C0ydVs10B2DXSa54cO2y6bLetuBMzPSS5MK/9FfMHbPh1zIA95x/gEPyKl58DQKCO6l4EkSqt7SkpOaglrxnzvQIUxf1HmHgyTAiisDBtGRneOKOXAFrzNu0qOcn + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/6c5800f0-ffaa-431a-9214-20ff40bd1c7f\"\n + \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n + \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n + \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": + [\n \"IPv4\"\n ],\n \"kubeProxyConfig\": {\n \"enabled\": true,\n + \ \"mode\": \"IPTABLES\"\n }\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": + {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\",\n + \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n + \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": + {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": + true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": + true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n + \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": + {}\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": + {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3a27a049-0418-4947-a5a3-9d3d2b41bebb?api-version=2016-03-30 cache-control: - no-cache content-length: - - '126' + - '4209' content-type: - application/json date: - - Fri, 18 Nov 2022 03:32:50 GMT + - Tue, 29 Nov 2022 02:26:53 GMT expires: - '-1' pragma: @@ -919,6 +945,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' status: code: 200 message: OK @@ -934,16 +962,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --kube-proxy-config + - --resource-group --name --kube-proxy-config --aks-custom-headers User-Agent: - - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) + - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 + (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9abf7b0-e278-4566-8977-10ecfd7620a4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3a27a049-0418-4947-a5a3-9d3d2b41bebb?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b0f7abe9-78e2-6645-8977-10ecfd7620a4\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-18T03:32:19.8796219Z\"\n }" + string: "{\n \"name\": \"49a0273a-1804-4749-a5a3-9d3d2b41bebb\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-11-29T02:26:54.5288804Z\"\n }" headers: cache-control: - no-cache @@ -952,7 +980,7 @@ interactions: content-type: - application/json date: - - Fri, 18 Nov 2022 03:33:20 GMT + - Tue, 29 Nov 2022 02:27:24 GMT expires: - '-1' pragma: @@ -982,16 +1010,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --kube-proxy-config + - --resource-group --name --kube-proxy-config --aks-custom-headers User-Agent: - - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) + - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 + (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9abf7b0-e278-4566-8977-10ecfd7620a4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3a27a049-0418-4947-a5a3-9d3d2b41bebb?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b0f7abe9-78e2-6645-8977-10ecfd7620a4\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-11-18T03:32:19.8796219Z\"\n }" + string: "{\n \"name\": \"49a0273a-1804-4749-a5a3-9d3d2b41bebb\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-11-29T02:26:54.5288804Z\"\n }" headers: cache-control: - no-cache @@ -1000,7 +1028,7 @@ interactions: content-type: - application/json date: - - Fri, 18 Nov 2022 03:33:50 GMT + - Tue, 29 Nov 2022 02:27:54 GMT expires: - '-1' pragma: @@ -1030,17 +1058,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --kube-proxy-config + - --resource-group --name --kube-proxy-config --aks-custom-headers User-Agent: - - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) + - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 + (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9abf7b0-e278-4566-8977-10ecfd7620a4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3a27a049-0418-4947-a5a3-9d3d2b41bebb?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b0f7abe9-78e2-6645-8977-10ecfd7620a4\",\n \"status\"\ - : \"Succeeded\",\n \"startTime\": \"2022-11-18T03:32:19.8796219Z\",\n \"\ - endTime\": \"2022-11-18T03:33:56.3771394Z\"\n }" + string: "{\n \"name\": \"49a0273a-1804-4749-a5a3-9d3d2b41bebb\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-11-29T02:26:54.5288804Z\",\n \"endTime\": + \"2022-11-29T02:28:18.2819549Z\"\n }" headers: cache-control: - no-cache @@ -1049,7 +1077,7 @@ interactions: content-type: - application/json date: - - Fri, 18 Nov 2022 03:34:20 GMT + - Tue, 29 Nov 2022 02:28:24 GMT expires: - '-1' pragma: @@ -1079,74 +1107,68 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --kube-proxy-config + - --resource-group --name --kube-proxy-config --aks-custom-headers User-Agent: - - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) + - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 + (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-09-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-10-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ - ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\"\ - : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ - : \"Running\"\n },\n \"kubernetesVersion\": \"1.23.12\",\n \"currentKubernetesVersion\"\ - : \"1.23.12\",\n \"dnsPrefix\": \"cliakstest-clitestidk266fbz-8ecadf\",\n\ - \ \"fqdn\": \"cliakstest-clitestidk266fbz-8ecadf-5ffb438b.hcp.westus2.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestidk266fbz-8ecadf-5ffb438b.portal.hcp.westus2.azmk8s.io\"\ - ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ - \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ - : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ - ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ - \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ - \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.23.12\"\ - ,\n \"currentOrchestratorVersion\": \"1.23.12\",\n \"enableNodePublicIP\"\ - : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ - ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ - : \"AKSUbuntu-1804gen2containerd-2022.10.24\",\n \"upgradeSettings\":\ - \ {},\n \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n \ - \ ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa\ - \ AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ - \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ - : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ - \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n\ - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ - : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ - ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ - count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/be6a3757-5200-46e6-909e-9e17f663c68d\"\ - \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n \ - \ },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\"\ - ,\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\"\ - ,\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\ - \n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\"\ - : [\n \"IPv4\"\n ],\n \"kubeProxyConfig\": {\n \"enabled\":\ - \ true,\n \"mode\": \"IPTABLES\"\n }\n },\n \"maxAgentPools\":\ - \ 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\"\ - ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ - :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"disableLocalAccounts\"\ - : false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\"\ - : {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\"\ - : {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"\ - enabled\": true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\"\ - : false\n },\n \"workloadAutoScalerProfile\": {}\n },\n \"identity\"\ - : {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ - ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ - : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n + \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": + \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": + \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": + \"1.23.12\",\n \"currentKubernetesVersion\": \"1.23.12\",\n \"dnsPrefix\": + \"cliakstest-clitesth6pqkd67e-79a739\",\n \"fqdn\": \"cliakstest-clitesth6pqkd67e-79a739-8eb0943d.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitesth6pqkd67e-79a739-8eb0943d.portal.hcp.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.23.12\",\n \"currentOrchestratorVersion\": \"1.23.12\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-1804gen2containerd-2022.10.24\",\n \"upgradeSettings\": {},\n + \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": + {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": + [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDdp/aDR9b8E4kBxx6P+ufG9gOkUeMtZVyC6y8rbGPlOhq90E597Y9FfT8/AiprWR8tu363Fl/2h/hXgfkjIFS8Z7IY5RkdmsAMhvzcIlsUpUiraOPLwg2yW40HE+3d7N1r00efkTY5PwLCkv40mhnW+f6fIkKHrKkManLOuzdrhT5ONQHovGEV/djQHXLZ8WFKQOsjpX4rP6kahTgCzexmsNl/C0ydVs10B2DXSa54cO2y6bLetuBMzPSS5MK/9FfMHbPh1zIA95x/gEPyKl58DQKCO6l4EkSqt7SkpOaglrxnzvQIUxf1HmHgyTAiisDBtGRneOKOXAFrzNu0qOcn + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/6c5800f0-ffaa-431a-9214-20ff40bd1c7f\"\n + \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n + \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n + \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": + [\n \"IPv4\"\n ],\n \"kubeProxyConfig\": {\n \"enabled\": true,\n + \ \"mode\": \"IPTABLES\"\n }\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": + {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\",\n + \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n + \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": + {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": + true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": + true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n + \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": + {}\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": + {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '4540' + - '4211' content-type: - application/json date: - - Fri, 18 Nov 2022 03:34:21 GMT + - Tue, 29 Nov 2022 02:28:24 GMT expires: - '-1' pragma: @@ -1180,26 +1202,26 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.40.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/20.4.0b - Python/3.10.8 (Linux-5.15.49-linuxkit-x86_64-with) + - AZURECLI/2.42.0 azsdk-python-azure-mgmt-containerservice/20.7.0b Python/3.8.10 + (Linux-5.15.0-1023-azure-x86_64-with-glibc2.29) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-09-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-10-02-preview response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/89fd9b98-a5a5-47d7-a78d-3790a86e6d72?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/24ca6cc9-9cfe-4adc-8ffe-0ce95ba822b8?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Fri, 18 Nov 2022 03:34:27 GMT + - Tue, 29 Nov 2022 02:28:26 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/89fd9b98-a5a5-47d7-a78d-3790a86e6d72?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/24ca6cc9-9cfe-4adc-8ffe-0ce95ba822b8?api-version=2016-03-30 pragma: - no-cache server: