From 701ecc6278f63223decf34352384eb43ec97c96b Mon Sep 17 00:00:00 2001 From: Tongyao Si Date: Tue, 3 Mar 2020 12:19:02 +0800 Subject: [PATCH 1/3] Support create aks clusters enabling managed identity --- src/azure-cli/azure/cli/command_modules/acs/_help.py | 5 +++++ src/azure-cli/azure/cli/command_modules/acs/_params.py | 1 + src/azure-cli/azure/cli/command_modules/acs/custom.py | 10 +++++++++- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/azure-cli/azure/cli/command_modules/acs/_help.py b/src/azure-cli/azure/cli/command_modules/acs/_help.py index f0e162f1de9..a26709319b6 100644 --- a/src/azure-cli/azure/cli/command_modules/acs/_help.py +++ b/src/azure-cli/azure/cli/command_modules/acs/_help.py @@ -331,6 +331,9 @@ - name: --api-server-authorized-ip-ranges type: string short-summary: Comma seperated list of authorized apiserver IP ranges. Set to 0.0.0.0/32 to restrict apiserver traffic to node pools. + - name: --enable-managed-identity + type: bool + short-summary: (PREVIEW) Using a system assigned managed identity to manage cluster resource group. examples: - name: Create a Kubernetes cluster with an existing SSH public key. text: az aks create -g MyResourceGroup -n MyManagedCluster --ssh-key-value /path/to/publickey @@ -354,6 +357,8 @@ text: az aks create -g MyResourceGroup -n MyManagedCluster --load-balancer-sku basic --vm-set-type AvailabilitySet - name: Create a kubernetes cluster with authorized apiserver IP ranges. text: az aks create -g MyResourceGroup -n MyManagedCluster --api-server-authorized-ip-ranges 193.168.1.0/24,194.168.1.0/24,195.168.1.0 + - name: Create a kubernetes cluster which enables managed identity. + text: az aks create -g MyResourceGroup -n MyManagedCluster --enable-managed-identity """ helps['aks update'] = """ diff --git a/src/azure-cli/azure/cli/command_modules/acs/_params.py b/src/azure-cli/azure/cli/command_modules/acs/_params.py index 8d115b755a9..bda423c7c4c 100644 --- a/src/azure-cli/azure/cli/command_modules/acs/_params.py +++ b/src/azure-cli/azure/cli/command_modules/acs/_params.py @@ -200,6 +200,7 @@ def load_arguments(self, _): c.argument('attach_acr', acr_arg_type) c.argument('enable_private_cluster', action='store_true') c.argument('nodepool_tags', nargs='*', validator=validate_nodepool_tags, help='space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.') + c.argument('enable_managed_identity', action='store_true') with self.argument_context('aks update') as c: c.argument('attach_acr', acr_arg_type, validator=validate_acr) diff --git a/src/azure-cli/azure/cli/command_modules/acs/custom.py b/src/azure-cli/azure/cli/command_modules/acs/custom.py index b0c5dd06f26..dd8302f788a 100644 --- a/src/azure-cli/azure/cli/command_modules/acs/custom.py +++ b/src/azure-cli/azure/cli/command_modules/acs/custom.py @@ -64,6 +64,7 @@ from azure.mgmt.containerservice.v2019_11_01.models import ManagedClusterAADProfile from azure.mgmt.containerservice.v2019_11_01.models import ManagedClusterAddonProfile from azure.mgmt.containerservice.v2019_11_01.models import ManagedClusterAgentPoolProfile +from azure.mgmt.containerservice.v2019_11_01.models import ManagedClusterIdentity from azure.mgmt.containerservice.v2019_11_01.models import AgentPool from azure.mgmt.containerservice.v2019_09_30_preview.models import OpenShiftManagedClusterAgentPoolProfile @@ -1681,6 +1682,7 @@ def aks_create(cmd, client, resource_group_name, name, ssh_key_value, # pylint: generate_ssh_keys=False, # pylint: disable=unused-argument api_server_authorized_ip_ranges=None, enable_private_cluster=False, + enable_managed_identity=False, attach_acr=None, no_wait=False): _validate_ssh_key(no_ssh_key, ssh_key_value) @@ -1815,6 +1817,11 @@ def aks_create(cmd, client, resource_group_name, name, ssh_key_value, # pylint: if all([disable_rbac, enable_rbac]): raise CLIError('specify either "--disable-rbac" or "--enable-rbac", not both.') + identity = None + if enable_managed_identity: + identity = ManagedClusterIdentity( + type="SystemAssigned" + ) mc = ManagedCluster( location=location, tags=tags, @@ -1827,7 +1834,8 @@ def aks_create(cmd, client, resource_group_name, name, ssh_key_value, # pylint: network_profile=network_profile, addon_profiles=addon_profiles, aad_profile=aad_profile, - api_server_access_profile=api_server_access_profile + api_server_access_profile=api_server_access_profile, + identity=identity ) # Due to SPN replication latency, we do a few retries here From af083a9d685f7fb946b8dc09c8f50da58566ec8b Mon Sep 17 00:00:00 2001 From: Tongyao Si Date: Tue, 3 Mar 2020 12:22:49 +0800 Subject: [PATCH 2/3] Remove 'preview' --- src/azure-cli/azure/cli/command_modules/acs/_help.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/azure-cli/azure/cli/command_modules/acs/_help.py b/src/azure-cli/azure/cli/command_modules/acs/_help.py index a26709319b6..9e52e74d7ae 100644 --- a/src/azure-cli/azure/cli/command_modules/acs/_help.py +++ b/src/azure-cli/azure/cli/command_modules/acs/_help.py @@ -333,7 +333,7 @@ short-summary: Comma seperated list of authorized apiserver IP ranges. Set to 0.0.0.0/32 to restrict apiserver traffic to node pools. - name: --enable-managed-identity type: bool - short-summary: (PREVIEW) Using a system assigned managed identity to manage cluster resource group. + short-summary: Using a system assigned managed identity to manage cluster resource group. examples: - name: Create a Kubernetes cluster with an existing SSH public key. text: az aks create -g MyResourceGroup -n MyManagedCluster --ssh-key-value /path/to/publickey From a8150bc8be3aef1de91a6c021c6f69edd36bfdc0 Mon Sep 17 00:00:00 2001 From: Tongyao Si Date: Thu, 5 Mar 2020 01:58:58 +0000 Subject: [PATCH 3/3] Add test case for AKS using managed identity --- .../recordings/test_aks_managed_identity.yaml | 1840 +++++++++++++++++ .../acs/tests/latest/test_aks_commands.py | 94 + 2 files changed, 1934 insertions(+) create mode 100644 src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_managed_identity.yaml diff --git a/src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_managed_identity.yaml b/src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_managed_identity.yaml new file mode 100644 index 00000000000..46f7de64fff --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_managed_identity.yaml @@ -0,0 +1,1840 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --dns-name-prefix --node-count --ssh-key-value + --service-principal --client-secret --enable-managed-identity + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2020-03-05T01:02:02Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 05 Mar 2020 01:02:07 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": "eastus", "properties": {"kubernetesVersion": "", "dnsPrefix": + "cliaksdns000002", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", + "osType": "Linux", "type": "VirtualMachineScaleSets", "scaleSetPriority": "Regular", + "scaleSetEvictionPolicy": "Delete", "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": "18bd538b-0ea7-48fe-a93c-6ffd9da2d98f", + "secret": "fd58834e-cb9c-4cda-a83a-a9d803ef8b53"}, "addonProfiles": {}, "enableRBAC": + true, "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"}}, + "identity": {"type": "SystemAssigned"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + Content-Length: + - '1584' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --resource-group --name --location --dns-name-prefix --node-count --ssh-key-value + --service-principal --client-secret --enable-managed-identity + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2019-11-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Creating\",\n \"kubernetesVersion\": \"1.14.8\"\ + ,\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-06f11229.hcp.eastus.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 100,\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\"\ + ,\n \"provisioningState\": \"Creating\",\n \"orchestratorVersion\"\ + : \"1.14.8\",\n \"osType\": \"Linux\"\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\": \"18bd538b-0ea7-48fe-a93c-6ffd9da2d98f\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_eastus\",\n\ + \ \"enableRBAC\": true,\n \"networkProfile\": {\n \"networkPlugin\"\ + : \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\"\ + : {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\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 },\n \"maxAgentPools\": 10\n\ + \ },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\"\ + : \"af07b0cd-84f7-427b-beca-e4d90e6e2010\",\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\ + \n }\n }" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/218e51bd-4a7b-4130-8f23-a8d2d49d2efc?api-version=2017-08-31 + cache-control: + - no-cache + content-length: + - '2397' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:02:23 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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --dns-name-prefix --node-count --ssh-key-value + --service-principal --client-secret --enable-managed-identity + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/218e51bd-4a7b-4130-8f23-a8d2d49d2efc?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"bd518e21-7b4a-3041-8f23-a8d2d49d2efc\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-03-05T01:02:21.7541165Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:02: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 create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --dns-name-prefix --node-count --ssh-key-value + --service-principal --client-secret --enable-managed-identity + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/218e51bd-4a7b-4130-8f23-a8d2d49d2efc?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"bd518e21-7b4a-3041-8f23-a8d2d49d2efc\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-03-05T01:02:21.7541165Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:03: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --dns-name-prefix --node-count --ssh-key-value + --service-principal --client-secret --enable-managed-identity + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/218e51bd-4a7b-4130-8f23-a8d2d49d2efc?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"bd518e21-7b4a-3041-8f23-a8d2d49d2efc\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-03-05T01:02:21.7541165Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:03: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --dns-name-prefix --node-count --ssh-key-value + --service-principal --client-secret --enable-managed-identity + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/218e51bd-4a7b-4130-8f23-a8d2d49d2efc?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"bd518e21-7b4a-3041-8f23-a8d2d49d2efc\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-03-05T01:02:21.7541165Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:04:24 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 create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --dns-name-prefix --node-count --ssh-key-value + --service-principal --client-secret --enable-managed-identity + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/218e51bd-4a7b-4130-8f23-a8d2d49d2efc?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"bd518e21-7b4a-3041-8f23-a8d2d49d2efc\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-03-05T01:02:21.7541165Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:04: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 create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --dns-name-prefix --node-count --ssh-key-value + --service-principal --client-secret --enable-managed-identity + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/218e51bd-4a7b-4130-8f23-a8d2d49d2efc?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"bd518e21-7b4a-3041-8f23-a8d2d49d2efc\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-03-05T01:02:21.7541165Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:05:25 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 create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --dns-name-prefix --node-count --ssh-key-value + --service-principal --client-secret --enable-managed-identity + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/218e51bd-4a7b-4130-8f23-a8d2d49d2efc?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"bd518e21-7b4a-3041-8f23-a8d2d49d2efc\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-03-05T01:02:21.7541165Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:05:55 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 create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --dns-name-prefix --node-count --ssh-key-value + --service-principal --client-secret --enable-managed-identity + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/218e51bd-4a7b-4130-8f23-a8d2d49d2efc?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"bd518e21-7b4a-3041-8f23-a8d2d49d2efc\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-03-05T01:02:21.7541165Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:06:26 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 create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --dns-name-prefix --node-count --ssh-key-value + --service-principal --client-secret --enable-managed-identity + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/218e51bd-4a7b-4130-8f23-a8d2d49d2efc?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"bd518e21-7b4a-3041-8f23-a8d2d49d2efc\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-03-05T01:02:21.7541165Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:06:56 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 create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --dns-name-prefix --node-count --ssh-key-value + --service-principal --client-secret --enable-managed-identity + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/218e51bd-4a7b-4130-8f23-a8d2d49d2efc?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"bd518e21-7b4a-3041-8f23-a8d2d49d2efc\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2020-03-05T01:02:21.7541165Z\",\n \"\ + endTime\": \"2020-03-05T01:07:24.3509883Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:07:27 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 create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --dns-name-prefix --node-count --ssh-key-value + --service-principal --client-secret --enable-managed-identity + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2019-11-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Succeeded\",\n \"kubernetesVersion\": \"1.14.8\"\ + ,\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-06f11229.hcp.eastus.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 100,\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\"\ + ,\n \"provisioningState\": \"Succeeded\",\n \"orchestratorVersion\"\ + : \"1.14.8\",\n \"osType\": \"Linux\"\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\": \"18bd538b-0ea7-48fe-a93c-6ffd9da2d98f\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_eastus\",\n\ + \ \"enableRBAC\": true,\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_cliakstest000001_eastus/providers/Microsoft.Network/publicIPAddresses/27875a8b-2ff3-46b1-83dd-9ad5109faef5\"\ + \n }\n ]\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 },\n \"\ + maxAgentPools\": 10,\n \"identityProfile\": {\n \"kubeletidentity\":\ + \ {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_eastus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\": \"9b9ce286-eb3a-4fa4-a446-13005c03afb0\",\n \"objectId\"\ + : \"ae275c63-e853-4cf3-8948-f775a2006df9\"\n }\n }\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\": \"af07b0cd-84f7-427b-beca-e4d90e6e2010\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '3058' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:07:27 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 list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters?api-version=2019-11-01 + response: + body: + string: "{\n \"value\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000001\",\n \ + \ \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\"\ + : {\n \"provisioningState\": \"Succeeded\",\n \"kubernetesVersion\"\ + : \"1.14.8\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"\ + cliaksdns000002-06f11229.hcp.eastus.azmk8s.io\",\n \"agentPoolProfiles\"\ + : [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \ + \ \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 100,\n \ + \ \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ + \ \"provisioningState\": \"Succeeded\",\n \"orchestratorVersion\"\ + : \"1.14.8\",\n \"osType\": \"Linux\"\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\": \"18bd538b-0ea7-48fe-a93c-6ffd9da2d98f\"\n },\n\ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_eastus\"\ + ,\n \"enableRBAC\": true,\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_cliakstest000001_eastus/providers/Microsoft.Network/publicIPAddresses/27875a8b-2ff3-46b1-83dd-9ad5109faef5\"\ + \n }\n ]\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 },\n \"maxAgentPools\": 8,\n \"identityProfile\"\ + : {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_eastus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\": \"9b9ce286-eb3a-4fa4-a446-13005c03afb0\",\n \ + \ \"objectId\": \"ae275c63-e853-4cf3-8948-f775a2006df9\"\n }\n }\n\ + \ },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"\ + principalId\": \"af07b0cd-84f7-427b-beca-e4d90e6e2010\",\n \"tenantId\"\ + : \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n ]\n }" + headers: + cache-control: + - no-cache + content-length: + - '3224' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:07:30 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 list + Connection: + - keep-alive + ParameterSetName: + - -g -o + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters?api-version=2019-11-01 + response: + body: + string: "{\n \"value\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000001\",\n \ + \ \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\"\ + : {\n \"provisioningState\": \"Succeeded\",\n \"kubernetesVersion\"\ + : \"1.14.8\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"\ + cliaksdns000002-06f11229.hcp.eastus.azmk8s.io\",\n \"agentPoolProfiles\"\ + : [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \ + \ \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 100,\n \ + \ \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ + \ \"provisioningState\": \"Succeeded\",\n \"orchestratorVersion\"\ + : \"1.14.8\",\n \"osType\": \"Linux\"\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\": \"18bd538b-0ea7-48fe-a93c-6ffd9da2d98f\"\n },\n\ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_eastus\"\ + ,\n \"enableRBAC\": true,\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_cliakstest000001_eastus/providers/Microsoft.Network/publicIPAddresses/27875a8b-2ff3-46b1-83dd-9ad5109faef5\"\ + \n }\n ]\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 },\n \"maxAgentPools\": 8,\n \"identityProfile\"\ + : {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_eastus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\": \"9b9ce286-eb3a-4fa4-a446-13005c03afb0\",\n \ + \ \"objectId\": \"ae275c63-e853-4cf3-8948-f775a2006df9\"\n }\n }\n\ + \ },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"\ + principalId\": \"af07b0cd-84f7-427b-beca-e4d90e6e2010\",\n \"tenantId\"\ + : \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n ]\n }" + headers: + cache-control: + - no-cache + content-length: + - '3224' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:07:30 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 show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2019-11-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Succeeded\",\n \"kubernetesVersion\": \"1.14.8\"\ + ,\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-06f11229.hcp.eastus.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 100,\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\"\ + ,\n \"provisioningState\": \"Succeeded\",\n \"orchestratorVersion\"\ + : \"1.14.8\",\n \"osType\": \"Linux\"\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\": \"18bd538b-0ea7-48fe-a93c-6ffd9da2d98f\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_eastus\",\n\ + \ \"enableRBAC\": true,\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_cliakstest000001_eastus/providers/Microsoft.Network/publicIPAddresses/27875a8b-2ff3-46b1-83dd-9ad5109faef5\"\ + \n }\n ]\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 },\n \"\ + maxAgentPools\": 10,\n \"identityProfile\": {\n \"kubeletidentity\":\ + \ {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_eastus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\": \"9b9ce286-eb3a-4fa4-a446-13005c03afb0\",\n \"objectId\"\ + : \"ae275c63-e853-4cf3-8948-f775a2006df9\"\n }\n }\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\": \"af07b0cd-84f7-427b-beca-e4d90e6e2010\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '3058' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:07:32 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 get-credentials + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n --file + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/listClusterUserCredential?api-version=2019-11-01 + response: + body: + string: "{\n \"kubeconfigs\": [\n {\n \"name\": \"clusterUser\",\n \ + \ \"value\": \"YXBpVmVyc2lvbjogdjEKY2x1c3RlcnM6Ci0gY2x1c3RlcjoKICAgIGNlcnRpZmljYXRlLWF1dGhvcml0eS1kYXRhOiBMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VWNVZFTkRRWEpIWjBGM1NVSkJaMGxSV0c5bGNsUlJja2RPU0V0dGNVRlBUV1JWWmxKbFZFRk9RbWRyY1docmFVYzVkekJDUVZGelJrRkVRVTRLVFZGemQwTlJXVVJXVVZGRVJYZEthbGxVUVdkR2R6QjVUVVJCZWsxRVZYZE5SRlY1VFhwS1lVZEJPSGxOUkZWM1RVUk5kMDVVUVhoTlJFbDZUV3h2ZHdwRVZFVk1UVUZyUjBFeFZVVkJlRTFEV1RKRmQyZG5TV2xOUVRCSFExTnhSMU5KWWpORVVVVkNRVkZWUVVFMFNVTkVkMEYzWjJkSlMwRnZTVU5CVVVNdkNtWlZkbEpIWTJ4QllqZEpTM1pxYlVzd1ZGTTRPRUUyVXpBeUsxRmphVGhxYm5aSk1GVllaakJMZG5oTFIzSk5aR0ozYUhsb2RXaDFhbUUzYTIxWVV6a0tNbFpJUzFsM1VHcFdObVZYYmtSWFZ6VnBaWGt6UXk5SU5VMXFWVTlWVGs1eWIwSnZlazgzVjB0MWMzcDBhbVl4WWtKWmRqZGpabkJXWlVrclJXSk9WZ3BoY21sQlRuSTVOVFV6UTBwWWRUVkJUbXBYVURVeVdYUk5kaTlRVVUxMWEySndiMFZqU21sWUszRkZWRW8zV25rel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RaMDVtVUUwM1FVb3JhRzV1V2xseFFtcEtTMGxYYTNNclZtbzVXRXBxTHdwQ1RXWlNjV2d6UVRCa2JqTnNkeXMyZUd4WGNGSjVaamgzUm5ScFNtVnNjRzlvV0c5WFEzWlRTM0pUWjNCMVZuazJWV1JvVld3NVVVbDNkejBLTFMwdExTMUZUa1FnVWxOQklGQlNTVlpCVkVVZ1MwVlpMUzB0TFMwSwogICAgdG9rZW46IDJkYTg0Y2U4M2ViN2NhMmViNzc0YWNhZGZiODI0ZDUxZWYwMTE4ZDE2YzQxOGU3YmM5Y2MwMjFjNzAyMzhmMTE5ZjBhYjRhMWQ0OGExNDg4NmJiNjg1Zjg3Mzk3YjljZDY0MDEwMjFhMjg1MTFlMTU4NDllNzA3NzY1ZWYwZGVmCg==\"\ + \n }\n ]\n }" + headers: + cache-control: + - no-cache + content-length: + - '12924' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:07:32 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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks get-credentials + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/listClusterUserCredential?api-version=2019-11-01 + response: + body: + string: "{\n \"kubeconfigs\": [\n {\n \"name\": \"clusterUser\",\n \ + \ \"value\": \"YX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hMmViNzc0YWNhZGZiODI0ZDUxZWYwMTE4ZDE2YzQxOGU3YmM5Y2MwMjFjNzAyMzhmMTE5ZjBhYjRhMWQ0OGExNDg4NmJiNjg1Zjg3Mzk3YjljZDY0MDEwMjFhMjg1MTFlMTU4NDllNzA3NzY1ZWYwZGVmCg==\"\ + \n }\n ]\n }" + headers: + cache-control: + - no-cache + content-length: + - '12924' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:07:34 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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks get-credentials + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/listClusterUserCredential?api-version=2019-11-01 + response: + body: + string: "{\n \"kubeconfigs\": [\n {\n \"name\": \"clusterUser\",\n \ + \ \"value\": \"YXBpVmVyc2lvbjogdjEKY2x1c3RlcnM6Ci0gY2x1c3RlcjoKICAgIGNlcnRpZmljYXRlLWF1dGhvcml0eS1kYXRhOiBMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VWNVZFTkRRWEpIWjBGM1NVSkJaMGxSV0c5bGNsUlJja2RPU0V0dGNVRlBUV1JWWmxKbFZFRk9RbWRyY1docmFVYzVkekJDUVZGelJrRkVRVTRL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UjNTMWQwVkdkT1pFVmhZVVprQ2pWRE0waGFaMHRFZFdOVVptTnZZM2g1Ums5dVJsRldkREJHWWpORFZrWk9RVzlKUWtGQ1FuYzFVWFZhYkdWSFJqQXJSV3RCV0ZwcFdYVkhaMjVpYUVRS2JqVXdlWEJvZUdabWJrbHdiVXh1Vnk5dlVYQkVXVzFKZUZCWU9WRnFkVEkzYzFvNWVYQmFiVUo2WVd0V2NYcExRMFZ0ZGsxMWNXWlVaVkJ6ZVhCSGRBcE1SRW8yY25aa2N6bFphamRFVUU1QmRXc3ZZbFZzZW1KUk0wZFJObXRJWjA1NlVHcGFkRGRJVEROVWRFRmpWRXcwYldKRFJYTllhSEpzY1dobVJHbDRDaTlFWVVjdksydDVWalJvZDFodVIxUjRkRzVCUVd0WVpsVTNSWHB3U1dkWU1IZ3hZV1ZCY3pNeFRtbFdjamsxYW1nM1NrdGlaVWRKV21Oc1VsVTBTbEVLZERsdVoyazRkMHROUW5sSVFrZDJkWFJSZUVsNmVUTTVZMDQ1VGtsTVVHaHRaMDVtVUUwM1FVb3JhRzV1V2xseFFtcEtTMGxYYTNNclZtbzVXRXBxTHdwQ1RXWlNjV2d6UVRCa2JqTnNkeXMyZUd4WGNGSjVaamgzUm5ScFNtVnNjRzlvV0c5WFEzWlRTM0pUWjNCMVZuazJWV1JvVld3NVVVbDNkejBLTFMwdExTMUZUa1FnVWxOQklGQlNTVlpCVkVVZ1MwVlpMUzB0TFMwSwogICAgdG9rZW46IDJkYTg0Y2U4M2ViN2NhMmViNzc0YWNhZGZiODI0ZDUxZWYwMTE4ZDE2YzQxOGU3YmM5Y2MwMjFjNzAyMzhmMTE5ZjBhYjRhMWQ0OGExNDg4NmJiNjg1Zjg3Mzk3YjljZDY0MDEwMjFhMjg1MTFlMTU4NDllNzA3NzY1ZWYwZGVmCg==\"\ + \n }\n ]\n }" + headers: + cache-control: + - no-cache + content-length: + - '12924' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:07:34 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: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks scale + Connection: + - keep-alive + ParameterSetName: + - -g -n --node-count + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2019-11-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Succeeded\",\n \"kubernetesVersion\": \"1.14.8\"\ + ,\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-06f11229.hcp.eastus.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 100,\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\"\ + ,\n \"provisioningState\": \"Succeeded\",\n \"orchestratorVersion\"\ + : \"1.14.8\",\n \"osType\": \"Linux\"\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\": \"18bd538b-0ea7-48fe-a93c-6ffd9da2d98f\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_eastus\",\n\ + \ \"enableRBAC\": true,\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_cliakstest000001_eastus/providers/Microsoft.Network/publicIPAddresses/27875a8b-2ff3-46b1-83dd-9ad5109faef5\"\ + \n }\n ]\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 },\n \"\ + maxAgentPools\": 10,\n \"identityProfile\": {\n \"kubeletidentity\":\ + \ {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_eastus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\": \"9b9ce286-eb3a-4fa4-a446-13005c03afb0\",\n \"objectId\"\ + : \"ae275c63-e853-4cf3-8948-f775a2006df9\"\n }\n }\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\": \"af07b0cd-84f7-427b-beca-e4d90e6e2010\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '3058' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:07:35 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: 'b''{"location": "eastus", "properties": {"kubernetesVersion": "1.14.8", + "dnsPrefix": "cliaksdns000002", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 100, "maxPods": 110, "osType": "Linux", "type": + "VirtualMachineScaleSets", "orchestratorVersion": "1.14.8", "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"}]}}, "nodeResourceGroup": "MC_clitest000001_cliakstest000001_eastus", + "enableRBAC": true, "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}, "effectiveOutboundIPs": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_eastus/providers/Microsoft.Network/publicIPAddresses/27875a8b-2ff3-46b1-83dd-9ad5109faef5"}]}}, + "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_eastus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool", + "clientId": "9b9ce286-eb3a-4fa4-a446-13005c03afb0", "objectId": "ae275c63-e853-4cf3-8948-f775a2006df9"}}}, + "identity": {"type": "SystemAssigned"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks scale + Connection: + - keep-alive + Content-Length: + - '2164' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n --node-count + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2019-11-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Scaling\",\n \"kubernetesVersion\": \"1.14.8\"\ + ,\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-06f11229.hcp.eastus.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 100,\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\"\ + ,\n \"provisioningState\": \"Scaling\",\n \"orchestratorVersion\"\ + : \"1.14.8\",\n \"osType\": \"Linux\"\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\": \"18bd538b-0ea7-48fe-a93c-6ffd9da2d98f\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_eastus\",\n\ + \ \"enableRBAC\": true,\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_cliakstest000001_eastus/providers/Microsoft.Network/publicIPAddresses/27875a8b-2ff3-46b1-83dd-9ad5109faef5\"\ + \n }\n ]\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 },\n \"\ + maxAgentPools\": 10,\n \"identityProfile\": {\n \"kubeletidentity\":\ + \ {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_eastus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\": \"9b9ce286-eb3a-4fa4-a446-13005c03afb0\",\n \"objectId\"\ + : \"ae275c63-e853-4cf3-8948-f775a2006df9\"\n }\n }\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\": \"af07b0cd-84f7-427b-beca-e4d90e6e2010\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/e2b1ef5b-f435-465e-8431-85ed34b2eb0b?api-version=2017-08-31 + cache-control: + - no-cache + content-length: + - '3054' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:07:44 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: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks scale + Connection: + - keep-alive + ParameterSetName: + - -g -n --node-count + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/e2b1ef5b-f435-465e-8431-85ed34b2eb0b?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"5befb1e2-35f4-5e46-8431-85ed34b2eb0b\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-03-05T01:07:41.9547992Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:08: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks scale + Connection: + - keep-alive + ParameterSetName: + - -g -n --node-count + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/e2b1ef5b-f435-465e-8431-85ed34b2eb0b?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"5befb1e2-35f4-5e46-8431-85ed34b2eb0b\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-03-05T01:07:41.9547992Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:08: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks scale + Connection: + - keep-alive + ParameterSetName: + - -g -n --node-count + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/e2b1ef5b-f435-465e-8431-85ed34b2eb0b?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"5befb1e2-35f4-5e46-8431-85ed34b2eb0b\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-03-05T01:07:41.9547992Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:09: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks scale + Connection: + - keep-alive + ParameterSetName: + - -g -n --node-count + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/e2b1ef5b-f435-465e-8431-85ed34b2eb0b?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"5befb1e2-35f4-5e46-8431-85ed34b2eb0b\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-03-05T01:07:41.9547992Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:09: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks scale + Connection: + - keep-alive + ParameterSetName: + - -g -n --node-count + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/e2b1ef5b-f435-465e-8431-85ed34b2eb0b?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"5befb1e2-35f4-5e46-8431-85ed34b2eb0b\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-03-05T01:07:41.9547992Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:10: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks scale + Connection: + - keep-alive + ParameterSetName: + - -g -n --node-count + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/e2b1ef5b-f435-465e-8431-85ed34b2eb0b?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"5befb1e2-35f4-5e46-8431-85ed34b2eb0b\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-03-05T01:07:41.9547992Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:10: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 scale + Connection: + - keep-alive + ParameterSetName: + - -g -n --node-count + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/e2b1ef5b-f435-465e-8431-85ed34b2eb0b?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"5befb1e2-35f4-5e46-8431-85ed34b2eb0b\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2020-03-05T01:07:41.9547992Z\",\n \"\ + endTime\": \"2020-03-05T01:11:12.5200147Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:11:17 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 scale + Connection: + - keep-alive + ParameterSetName: + - -g -n --node-count + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2019-11-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Succeeded\",\n \"kubernetesVersion\": \"1.14.8\"\ + ,\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-06f11229.hcp.eastus.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 100,\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\"\ + ,\n \"provisioningState\": \"Succeeded\",\n \"orchestratorVersion\"\ + : \"1.14.8\",\n \"osType\": \"Linux\"\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\": \"18bd538b-0ea7-48fe-a93c-6ffd9da2d98f\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_eastus\",\n\ + \ \"enableRBAC\": true,\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_cliakstest000001_eastus/providers/Microsoft.Network/publicIPAddresses/27875a8b-2ff3-46b1-83dd-9ad5109faef5\"\ + \n }\n ]\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 },\n \"\ + maxAgentPools\": 10,\n \"identityProfile\": {\n \"kubeletidentity\":\ + \ {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_eastus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\": \"9b9ce286-eb3a-4fa4-a446-13005c03afb0\",\n \"objectId\"\ + : \"ae275c63-e853-4cf3-8948-f775a2006df9\"\n }\n }\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\": \"af07b0cd-84f7-427b-beca-e4d90e6e2010\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '3058' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:11:18 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 show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2019-11-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Succeeded\",\n \"kubernetesVersion\": \"1.14.8\"\ + ,\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-06f11229.hcp.eastus.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 100,\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\"\ + ,\n \"provisioningState\": \"Succeeded\",\n \"orchestratorVersion\"\ + : \"1.14.8\",\n \"osType\": \"Linux\"\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\": \"18bd538b-0ea7-48fe-a93c-6ffd9da2d98f\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_eastus\",\n\ + \ \"enableRBAC\": true,\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_cliakstest000001_eastus/providers/Microsoft.Network/publicIPAddresses/27875a8b-2ff3-46b1-83dd-9ad5109faef5\"\ + \n }\n ]\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 },\n \"\ + maxAgentPools\": 10,\n \"identityProfile\": {\n \"kubeletidentity\":\ + \ {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_eastus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\": \"9b9ce286-eb3a-4fa4-a446-13005c03afb0\",\n \"objectId\"\ + : \"ae275c63-e853-4cf3-8948-f775a2006df9\"\n }\n }\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\": \"af07b0cd-84f7-427b-beca-e4d90e6e2010\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '3058' + content-type: + - application/json + date: + - Thu, 05 Mar 2020 01:11:18 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: + - python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.11 + msrest_azure/0.6.2 azure-mgmt-containerservice/8.1.0 Azure-SDK-For-Python + AZURECLI/2.1.0 + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2019-11-01 + response: + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/5f4bcf39-d5cc-4ed9-85e2-e454add9692e?api-version=2017-08-31 + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 05 Mar 2020 01:11:22 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operationresults/5f4bcf39-d5cc-4ed9-85e2-e454add9692e?api-version=2017-08-31 + 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/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py b/src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py index 77a0db00a1b..53a1ed8e919 100644 --- a/src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py +++ b/src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py @@ -1174,6 +1174,100 @@ def test_aks_availability_zones(self, resource_group, resource_group_location, s # delete self.cmd('aks delete -g {resource_group} -n {name} --yes --no-wait', checks=[self.is_empty()]) + @AllowLargeResponse() + @ResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='eastus') + @RoleBasedServicePrincipalPreparer() + def test_aks_managed_identity(self, resource_group, resource_group_location, sp_name, sp_password): + # reset the count so in replay mode the random names will start with 0 + self.test_resources_count = 0 + # kwargs for string formatting + aks_name = self.create_random_name('cliakstest', 16) + self.kwargs.update({ + 'resource_group': resource_group, + 'name': aks_name, + 'dns_name_prefix': self.create_random_name('cliaksdns', 16), + 'ssh_key_value': self.generate_ssh_keys().replace('\\', '\\\\'), + 'location': resource_group_location, + 'service_principal': sp_name, + 'client_secret': sp_password, + 'resource_type': 'Microsoft.ContainerService/ManagedClusters' + }) + + # create + create_cmd = 'aks create --resource-group={resource_group} --name={name} --location={location} ' \ + '--dns-name-prefix={dns_name_prefix} --node-count=1 --ssh-key-value={ssh_key_value} ' \ + '--service-principal={service_principal} --client-secret={client_secret} --enable-managed-identity' + + self.cmd(create_cmd, checks=[ + self.exists('fqdn'), + self.exists('nodeResourceGroup'), + self.exists('identity'), + self.exists('identityProfile'), + self.check('provisioningState', 'Succeeded'), + ]) + + # list + self.cmd('aks list -g {resource_group}', checks=[ + self.check('[0].type', '{resource_type}'), + StringContainCheck(aks_name), + StringContainCheck(resource_group) + ]) + + # list in tabular format + self.cmd('aks list -g {resource_group} -o table', checks=[ + StringContainCheck(aks_name), + StringContainCheck(resource_group) + ]) + + # show + self.cmd('aks show -g {resource_group} -n {name}', checks=[ + self.check('type', '{resource_type}'), + self.check('name', '{name}'), + self.exists('nodeResourceGroup'), + self.check('resourceGroup', '{resource_group}'), + self.check('agentPoolProfiles[0].count', 1), + self.check('agentPoolProfiles[0].osType', 'Linux'), + self.check('agentPoolProfiles[0].vmSize', 'Standard_DS2_v2'), + self.check('dnsPrefix', '{dns_name_prefix}'), + self.exists('kubernetesVersion'), + self.exists('identity'), + self.exists('identityProfile') + ]) + + # get-credentials + fd, temp_path = tempfile.mkstemp() + self.kwargs.update({'file': temp_path}) + try: + self.cmd('aks get-credentials -g {resource_group} -n {name} --file "{file}"') + finally: + os.close(fd) + os.remove(temp_path) + + # get-credentials to stdout + self.cmd('aks get-credentials -g {resource_group} -n {name} -f -') + + # get-credentials without directory in path + temp_path = 'kubeconfig.tmp' + self.kwargs.update({'file': temp_path}) + try: + self.cmd('aks get-credentials -g {resource_group} -n {name} -f "{file}"') + self.assertGreater(os.path.getsize(temp_path), 0) + finally: + os.remove(temp_path) + + # scale up + self.cmd('aks scale -g {resource_group} -n {name} --node-count 3', checks=[ + self.check('agentPoolProfiles[0].count', 3) + ]) + + # show again + self.cmd('aks show -g {resource_group} -n {name}', checks=[ + self.check('agentPoolProfiles[0].count', 3) + ]) + + # delete + self.cmd('aks delete -g {resource_group} -n {name} --yes --no-wait', checks=[self.is_empty()]) + @classmethod def generate_ssh_keys(cls): TEST_SSH_KEY_PUB = "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" # pylint: disable=line-too-long