зеркало из https://github.com/microsoft/azure-cli.git
[AKS] add ephemeral os functionality (#15673)
* feat: ephemeral os functionality for aks * fix: unused import * fix: typo
This commit is contained in:
Родитель
4e2250cb85
Коммит
39a2360f5a
|
@ -11,3 +11,6 @@ CONST_SCALE_SET_PRIORITY_SPOT = "Spot"
|
|||
|
||||
CONST_SPOT_EVICTION_POLICY_DELETE = "Delete"
|
||||
CONST_SPOT_EVICTION_POLICY_DEALLOCATE = "Deallocate"
|
||||
|
||||
CONST_OS_DISK_TYPE_MANAGED = "Managed"
|
||||
CONST_OS_DISK_TYPE_EPHEMERAL = "Ephemeral"
|
||||
|
|
|
@ -205,6 +205,9 @@ parameters:
|
|||
- name: --node-osdisk-size
|
||||
type: int
|
||||
short-summary: Size in GB of the OS disk for each node in the node pool. Minimum 30 GB.
|
||||
- name: --node-osdisk-type
|
||||
type: string
|
||||
short-summary: OS disk type to be used for machines in a given agent pool. Defaults to 'Ephemeral' when possible in conjunction with VM size and OS disk size. May not be changed for this pool after creation.
|
||||
- name: --kubernetes-version -k
|
||||
type: string
|
||||
short-summary: Version of Kubernetes to use for creating the cluster, such as "1.16.9".
|
||||
|
@ -407,6 +410,8 @@ examples:
|
|||
text: az aks create -g MyResourceGroup -n MyManagedCluster --enable-aad --aad-admin-group-object-ids <id-1,id-2> --aad-tenant-id <id>
|
||||
- name: Create a kubernetes cluster with server side encryption using your owned key.
|
||||
text: az aks create -g MyResourceGroup -n MyManagedCluster --node-osdisk-diskencryptionset-id <disk-encryption-set-resource-id>
|
||||
- name: Create a kubernetes cluster with ephemeral OS enabled.
|
||||
text: az aks create -g MyResourceGroup -n MyManagedCluster --node-osdisk-type Ephemeral --node-osdisk-size 48
|
||||
"""
|
||||
|
||||
helps['aks update'] = """
|
||||
|
@ -621,6 +626,9 @@ parameters:
|
|||
- name: --node-osdisk-size
|
||||
type: int
|
||||
short-summary: Size in GB of the OS disk for each node in the agent pool. Minimum 30 GB.
|
||||
- name: --node-osdisk-type
|
||||
type: string
|
||||
short-summary: OS disk type to be used for machines in a given agent pool. Defaults to 'Ephemeral' when possible in conjunction with VM size and OS disk size. May not be changed for this pool after creation.
|
||||
- name: --max-pods -m
|
||||
type: int
|
||||
short-summary: The maximum number of pods deployable to a node.
|
||||
|
@ -667,6 +675,9 @@ parameters:
|
|||
- name: --spot-max-price
|
||||
type: float
|
||||
short-summary: It can only be set when --priority is Spot. Specify the maximum price you are willing to pay in US Dollars. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand. It can only include up to 5 decimal places.
|
||||
examples:
|
||||
- name: Create a nodepool in an existing AKS cluster with ephemeral os enabled.
|
||||
text: az aks nodepool add -g MyResourceGroup -n nodepool1 --cluster-name MyManagedCluster --node-osdisk-type Ephemeral --node-osdisk-size 48
|
||||
"""
|
||||
|
||||
helps['aks nodepool delete'] = """
|
||||
|
|
|
@ -25,7 +25,8 @@ from ._validators import (
|
|||
validate_load_balancer_outbound_ports, validate_load_balancer_idle_timeout, validate_vnet_subnet_id, validate_nodepool_labels, validate_ppg)
|
||||
from ._consts import CONST_OUTBOUND_TYPE_LOAD_BALANCER, CONST_OUTBOUND_TYPE_USER_DEFINED_ROUTING, \
|
||||
CONST_SCALE_SET_PRIORITY_REGULAR, CONST_SCALE_SET_PRIORITY_SPOT, \
|
||||
CONST_SPOT_EVICTION_POLICY_DELETE, CONST_SPOT_EVICTION_POLICY_DEALLOCATE
|
||||
CONST_SPOT_EVICTION_POLICY_DELETE, CONST_SPOT_EVICTION_POLICY_DEALLOCATE, \
|
||||
CONST_OS_DISK_TYPE_MANAGED, CONST_OS_DISK_TYPE_EPHEMERAL
|
||||
|
||||
orchestrator_types = ["Custom", "DCOS", "Kubernetes", "Swarm", "DockerCE"]
|
||||
|
||||
|
@ -297,6 +298,7 @@ def load_arguments(self, _):
|
|||
c.argument('mode', get_enum_type(nodepool_mode_type))
|
||||
c.argument('enable_node_public_ip', action='store_true', is_preview=True)
|
||||
c.argument('ppg', type=str, validator=validate_ppg)
|
||||
c.argument('node_os_disk_type', arg_type=get_enum_type([CONST_OS_DISK_TYPE_MANAGED, CONST_OS_DISK_TYPE_EPHEMERAL]))
|
||||
|
||||
for scope in ['aks nodepool show', 'aks nodepool delete', 'aks nodepool scale', 'aks nodepool upgrade', 'aks nodepool update']:
|
||||
with self.argument_context(scope) as c:
|
||||
|
|
|
@ -62,7 +62,6 @@ from azure.mgmt.containerservice.v2020_09_01.models import ContainerServiceLinux
|
|||
from azure.mgmt.containerservice.v2020_09_01.models import ManagedClusterServicePrincipalProfile
|
||||
from azure.mgmt.containerservice.v2020_09_01.models import ContainerServiceSshConfiguration
|
||||
from azure.mgmt.containerservice.v2020_09_01.models import ContainerServiceSshPublicKey
|
||||
from azure.mgmt.containerservice.v2020_09_01.models import ContainerServiceStorageProfileTypes
|
||||
from azure.mgmt.containerservice.v2020_09_01.models import ManagedCluster
|
||||
from azure.mgmt.containerservice.v2020_09_01.models import ManagedClusterAADProfile
|
||||
from azure.mgmt.containerservice.v2020_09_01.models import ManagedClusterAddonProfile
|
||||
|
@ -1593,6 +1592,7 @@ def aks_create(cmd, client, resource_group_name, name, ssh_key_value, # pylint:
|
|||
enable_ahub=False,
|
||||
kubernetes_version='',
|
||||
node_vm_size="Standard_DS2_v2",
|
||||
node_osdisk_type=None,
|
||||
node_osdisk_size=0,
|
||||
node_osdisk_diskencryptionset_id=None,
|
||||
node_count=3,
|
||||
|
@ -1666,7 +1666,6 @@ def aks_create(cmd, client, resource_group_name, name, ssh_key_value, # pylint:
|
|||
count=int(node_count),
|
||||
vm_size=node_vm_size,
|
||||
os_type="Linux",
|
||||
storage_profile=ContainerServiceStorageProfileTypes.managed_disks,
|
||||
vnet_subnet_id=vnet_subnet_id,
|
||||
proximity_placement_group_id=ppg,
|
||||
availability_zones=zones,
|
||||
|
@ -1678,6 +1677,9 @@ def aks_create(cmd, client, resource_group_name, name, ssh_key_value, # pylint:
|
|||
if node_osdisk_size:
|
||||
agent_pool_profile.os_disk_size_gb = int(node_osdisk_size)
|
||||
|
||||
if node_osdisk_type:
|
||||
agent_pool_profile.os_disk_type = node_osdisk_type
|
||||
|
||||
_check_cluster_autoscaler_flag(enable_cluster_autoscaler, min_count, max_count, node_count, agent_pool_profile)
|
||||
|
||||
linux_profile = None
|
||||
|
@ -2904,6 +2906,7 @@ def aks_agentpool_add(cmd, client, resource_group_name, cluster_name, nodepool_n
|
|||
zones=None,
|
||||
enable_node_public_ip=False,
|
||||
node_vm_size=None,
|
||||
node_osdisk_type=None,
|
||||
node_osdisk_size=0,
|
||||
node_count=3,
|
||||
vnet_subnet_id=None,
|
||||
|
@ -2950,7 +2953,6 @@ def aks_agentpool_add(cmd, client, resource_group_name, cluster_name, nodepool_n
|
|||
count=int(node_count),
|
||||
vm_size=node_vm_size,
|
||||
os_type=os_type,
|
||||
storage_profile=ContainerServiceStorageProfileTypes.managed_disks,
|
||||
vnet_subnet_id=vnet_subnet_id,
|
||||
proximity_placement_group_id=ppg,
|
||||
agent_pool_type="VirtualMachineScaleSets",
|
||||
|
@ -2974,6 +2976,9 @@ def aks_agentpool_add(cmd, client, resource_group_name, cluster_name, nodepool_n
|
|||
if node_osdisk_size:
|
||||
agent_pool.os_disk_size_gb = int(node_osdisk_size)
|
||||
|
||||
if node_osdisk_type:
|
||||
agent_pool.os_disk_type = node_osdisk_type
|
||||
|
||||
return sdk_no_wait(no_wait, client.create_or_update, resource_group_name, cluster_name, nodepool_name, agent_pool)
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,709 @@
|
|||
interactions:
|
||||
- request:
|
||||
body: null
|
||||
headers:
|
||||
Accept:
|
||||
- application/json
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
CommandName:
|
||||
- aks create
|
||||
Connection:
|
||||
- keep-alive
|
||||
ParameterSetName:
|
||||
- --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type
|
||||
--node-osdisk-size
|
||||
User-Agent:
|
||||
- python/3.8.5 (Linux-5.9.0-rc6-custom-x86_64-with-glibc2.29) msrest/0.6.18
|
||||
msrest_azure/0.6.3 azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
|
||||
accept-language:
|
||||
- en-US
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2020-06-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":"2020-10-27T07:35:22Z"},"properties":{"provisioningState":"Succeeded"}}'
|
||||
headers:
|
||||
cache-control:
|
||||
- no-cache
|
||||
content-length:
|
||||
- '313'
|
||||
content-type:
|
||||
- application/json; charset=utf-8
|
||||
date:
|
||||
- Tue, 27 Oct 2020 07:35:24 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: '{"availableToOtherTenants": false, "homepage": "https://514eb6.cliakstest-clitestuw3zmvvwr-26fe00.westus2.cloudapp.azure.com",
|
||||
"passwordCredentials": [{"startDate": "2020-10-27T07:35:24.827171Z", "endDate":
|
||||
"2025-10-27T07:35:24.827171Z", "keyId": "ef0440b5-4044-49f8-ad86-21b11436cdc3",
|
||||
"value": "ReplacedSPPassword123*"}], "displayName": "cliakstest000002", "identifierUris":
|
||||
["https://514eb6.cliakstest-clitestuw3zmvvwr-26fe00.westus2.cloudapp.azure.com"]}'
|
||||
headers:
|
||||
Accept:
|
||||
- application/json
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
CommandName:
|
||||
- aks create
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- '457'
|
||||
Content-Type:
|
||||
- application/json; charset=utf-8
|
||||
ParameterSetName:
|
||||
- --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type
|
||||
--node-osdisk-size
|
||||
User-Agent:
|
||||
- python/3.8.5 (Linux-5.9.0-rc6-custom-x86_64-with-glibc2.29) msrest/0.6.18
|
||||
msrest_azure/0.6.3 azure-graphrbac/0.60.0 Azure-SDK-For-Python AZURECLI/2.14.0
|
||||
accept-language:
|
||||
- en-US
|
||||
method: POST
|
||||
uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/applications?api-version=1.6
|
||||
response:
|
||||
body:
|
||||
string: '{"odata.metadata": "https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects/@Element",
|
||||
"odata.type": "Microsoft.DirectoryServices.Application", "objectType": "Application",
|
||||
"objectId": "5f4caa8e-9784-466d-b546-631e5d1a6ac4", "deletionTimestamp": null,
|
||||
"acceptMappedClaims": null, "addIns": [], "appId": "44e21bc3-d6ea-4420-82a6-61d20aeffd1d",
|
||||
"applicationTemplateId": null, "appRoles": [], "availableToOtherTenants":
|
||||
false, "displayName": "cliakstest000002", "errorUrl": null, "groupMembershipClaims":
|
||||
null, "homepage": "https://514eb6.cliakstest-clitestuw3zmvvwr-26fe00.westus2.cloudapp.azure.com",
|
||||
"identifierUris": ["https://514eb6.cliakstest-clitestuw3zmvvwr-26fe00.westus2.cloudapp.azure.com"],
|
||||
"informationalUrls": {"termsOfService": null, "support": null, "privacy":
|
||||
null, "marketing": null}, "isDeviceOnlyAuthSupported": null, "keyCredentials":
|
||||
[], "knownClientApplications": [], "logoutUrl": null, "logo@odata.mediaEditLink":
|
||||
"directoryObjects/5f4caa8e-9784-466d-b546-631e5d1a6ac4/Microsoft.DirectoryServices.Application/logo",
|
||||
"logo@odata.mediaContentType": "application/json;odata=minimalmetadata; charset=utf-8",
|
||||
"logoUrl": null, "mainLogo@odata.mediaEditLink": "directoryObjects/5f4caa8e-9784-466d-b546-631e5d1a6ac4/Microsoft.DirectoryServices.Application/mainLogo",
|
||||
"oauth2AllowIdTokenImplicitFlow": true, "oauth2AllowImplicitFlow": false,
|
||||
"oauth2AllowUrlPathMatching": false, "oauth2Permissions": [{"adminConsentDescription":
|
||||
"Allow the application to access cliakstest000002 on behalf of the signed-in
|
||||
user.", "adminConsentDisplayName": "Access cliakstest000002", "id": "126087b8-f218-4e32-9af5-8dc15dd76cca",
|
||||
"isEnabled": true, "type": "User", "userConsentDescription": "Allow the application
|
||||
to access cliakstest000002 on your behalf.", "userConsentDisplayName": "Access
|
||||
cliakstest000002", "value": "user_impersonation"}], "oauth2RequirePostResponse":
|
||||
false, "optionalClaims": null, "orgRestrictions": [], "parentalControlSettings":
|
||||
{"countriesBlockedForMinors": [], "legalAgeGroupRule": "Allow"}, "passwordCredentials":
|
||||
[{"customKeyIdentifier": null, "endDate": "2025-10-27T07:35:24.827171Z", "keyId":
|
||||
"ef0440b5-4044-49f8-ad86-21b11436cdc3", "startDate": "2020-10-27T07:35:24.827171Z",
|
||||
"value": "ReplacedSPPassword123*"}], "publicClient": null, "publisherDomain":
|
||||
"microsoft.onmicrosoft.com", "recordConsentConditions": null, "replyUrls":
|
||||
[], "requiredResourceAccess": [], "samlMetadataUrl": null, "signInAudience":
|
||||
"AzureADMyOrg", "tokenEncryptionKeyId": null}'
|
||||
headers:
|
||||
access-control-allow-origin:
|
||||
- '*'
|
||||
cache-control:
|
||||
- no-cache
|
||||
content-length:
|
||||
- '2377'
|
||||
content-type:
|
||||
- application/json; odata=minimalmetadata; streaming=true; charset=utf-8
|
||||
dataserviceversion:
|
||||
- 3.0;
|
||||
date:
|
||||
- Tue, 27 Oct 2020 07:35:26 GMT
|
||||
duration:
|
||||
- '6729537'
|
||||
expires:
|
||||
- '-1'
|
||||
location:
|
||||
- https://graph.windows.net/00000000-0000-0000-0000-000000000000/directoryObjects/5f4caa8e-9784-466d-b546-631e5d1a6ac4/Microsoft.DirectoryServices.Application
|
||||
ocp-aad-diagnostics-server-name:
|
||||
- k+a8loBjbxraN1otxCzpa/lm7sS3uSMfCmXQCJ5UeOg=
|
||||
ocp-aad-session-key:
|
||||
- 0MWnnsSwh-RwO2uoV8YUytVDTUiyzvn7cTgpnEvEyntNk6Hz6Ah1kpcI8eCWaAlUs0WfWffUtwSxZ8Xyf68pnLVcFZq4nqxROt5X6JvJ0ZXOR8IgavurnZTE9n9ulm7N8OEcNJA5T1UA2RDqYeyuxsSwY-A3zFZ4GpMzcO0Bp1c.Q2BQFib6anyWYKdyyknYxfrCGfUAHMB5u083JRCcCcU
|
||||
pragma:
|
||||
- no-cache
|
||||
request-id:
|
||||
- 759d3d93-d848-4bbd-99d8-2708ea08bd79
|
||||
strict-transport-security:
|
||||
- max-age=31536000; includeSubDomains
|
||||
x-aspnet-version:
|
||||
- 4.0.30319
|
||||
x-ms-dirapi-data-contract-version:
|
||||
- '1.6'
|
||||
x-ms-resource-unit:
|
||||
- '1'
|
||||
x-powered-by:
|
||||
- ASP.NET
|
||||
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 --generate-ssh-keys --vm-set-type -c --node-osdisk-type
|
||||
--node-osdisk-size
|
||||
User-Agent:
|
||||
- python/3.8.5 (Linux-5.9.0-rc6-custom-x86_64-with-glibc2.29) msrest/0.6.18
|
||||
msrest_azure/0.6.3 azure-graphrbac/0.60.0 Azure-SDK-For-Python AZURECLI/2.14.0
|
||||
accept-language:
|
||||
- en-US
|
||||
method: GET
|
||||
uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/applications?$filter=appId%20eq%20%2744e21bc3-d6ea-4420-82a6-61d20aeffd1d%27&api-version=1.6
|
||||
response:
|
||||
body:
|
||||
string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects","value":[{"odata.type":"Microsoft.DirectoryServices.Application","objectType":"Application","objectId":"5f4caa8e-9784-466d-b546-631e5d1a6ac4","deletionTimestamp":null,"acceptMappedClaims":null,"addIns":[],"appId":"44e21bc3-d6ea-4420-82a6-61d20aeffd1d","applicationTemplateId":null,"appRoles":[],"availableToOtherTenants":false,"displayName":"cliakstest000002","errorUrl":null,"groupMembershipClaims":null,"homepage":"https://514eb6.cliakstest-clitestuw3zmvvwr-26fe00.westus2.cloudapp.azure.com","identifierUris":["https://514eb6.cliakstest-clitestuw3zmvvwr-26fe00.westus2.cloudapp.azure.com"],"informationalUrls":{"termsOfService":null,"support":null,"privacy":null,"marketing":null},"isDeviceOnlyAuthSupported":null,"keyCredentials":[],"knownClientApplications":[],"logoutUrl":null,"logo@odata.mediaEditLink":"directoryObjects/5f4caa8e-9784-466d-b546-631e5d1a6ac4/Microsoft.DirectoryServices.Application/logo","logoUrl":null,"mainLogo@odata.mediaEditLink":"directoryObjects/5f4caa8e-9784-466d-b546-631e5d1a6ac4/Microsoft.DirectoryServices.Application/mainLogo","oauth2AllowIdTokenImplicitFlow":true,"oauth2AllowImplicitFlow":false,"oauth2AllowUrlPathMatching":false,"oauth2Permissions":[{"adminConsentDescription":"Allow
|
||||
the application to access cliakstest000002 on behalf of the signed-in user.","adminConsentDisplayName":"Access
|
||||
cliakstest000002","id":"126087b8-f218-4e32-9af5-8dc15dd76cca","isEnabled":true,"type":"User","userConsentDescription":"Allow
|
||||
the application to access cliakstest000002 on your behalf.","userConsentDisplayName":"Access
|
||||
cliakstest000002","value":"user_impersonation"}],"oauth2RequirePostResponse":false,"optionalClaims":null,"orgRestrictions":[],"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[{"customKeyIdentifier":null,"endDate":"2025-10-27T07:35:24.827171Z","keyId":"ef0440b5-4044-49f8-ad86-21b11436cdc3","startDate":"2020-10-27T07:35:24.827171Z","value":null}],"publicClient":null,"publisherDomain":"microsoft.onmicrosoft.com","recordConsentConditions":null,"replyUrls":[],"requiredResourceAccess":[],"samlMetadataUrl":null,"signInAudience":"AzureADMyOrg","tokenEncryptionKeyId":null}]}'
|
||||
headers:
|
||||
access-control-allow-origin:
|
||||
- '*'
|
||||
cache-control:
|
||||
- no-cache
|
||||
content-length:
|
||||
- '2294'
|
||||
content-type:
|
||||
- application/json; odata=minimalmetadata; streaming=true; charset=utf-8
|
||||
dataserviceversion:
|
||||
- 3.0;
|
||||
date:
|
||||
- Tue, 27 Oct 2020 07:35:26 GMT
|
||||
duration:
|
||||
- '633912'
|
||||
expires:
|
||||
- '-1'
|
||||
ocp-aad-diagnostics-server-name:
|
||||
- TXHS25292ScTeNNLyF6Lmk7CTfticyySnjF/t2td1Jk=
|
||||
ocp-aad-session-key:
|
||||
- x0_d3Hr5nfL6wGrUsKNjYJA8f2Ad32NfqMhCcte1Nd65iV493mtB0qQxdpfeYsAvcHhfEDiRy7PnnXZhbp9WxnKoqVEtr1ynfTeZOnILcVo_18lSVZ0jtPi-dKAIuPhs6I3HpIKN94OIyxmoeTU_LYX-MmsDI_ezNFu2wySEnkY.K9Lun6Wz5c4aSi1HEi5unkkbjJYtJKPkZNR-jfw8eSs
|
||||
pragma:
|
||||
- no-cache
|
||||
request-id:
|
||||
- af81f24b-bab7-4280-a962-31277736be49
|
||||
strict-transport-security:
|
||||
- max-age=31536000; includeSubDomains
|
||||
x-aspnet-version:
|
||||
- 4.0.30319
|
||||
x-ms-dirapi-data-contract-version:
|
||||
- '1.6'
|
||||
x-ms-resource-unit:
|
||||
- '2'
|
||||
x-powered-by:
|
||||
- ASP.NET
|
||||
status:
|
||||
code: 200
|
||||
message: OK
|
||||
- request:
|
||||
body: '{"accountEnabled": "True", "appId": "44e21bc3-d6ea-4420-82a6-61d20aeffd1d"}'
|
||||
headers:
|
||||
Accept:
|
||||
- application/json
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
CommandName:
|
||||
- aks create
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- '75'
|
||||
Content-Type:
|
||||
- application/json; charset=utf-8
|
||||
ParameterSetName:
|
||||
- --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type
|
||||
--node-osdisk-size
|
||||
User-Agent:
|
||||
- python/3.8.5 (Linux-5.9.0-rc6-custom-x86_64-with-glibc2.29) msrest/0.6.18
|
||||
msrest_azure/0.6.3 azure-graphrbac/0.60.0 Azure-SDK-For-Python AZURECLI/2.14.0
|
||||
accept-language:
|
||||
- en-US
|
||||
method: POST
|
||||
uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/servicePrincipals?api-version=1.6
|
||||
response:
|
||||
body:
|
||||
string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects/@Element","odata.type":"Microsoft.DirectoryServices.ServicePrincipal","objectType":"ServicePrincipal","objectId":"48abf698-5eb7-4627-9218-9a30cd2a0995","deletionTimestamp":null,"accountEnabled":true,"addIns":[],"alternativeNames":[],"appDisplayName":"cliakstest000002","appId":"44e21bc3-d6ea-4420-82a6-61d20aeffd1d","applicationTemplateId":null,"appOwnerTenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","appRoleAssignmentRequired":false,"appRoles":[],"displayName":"cliakstest000002","errorUrl":null,"homepage":"https://514eb6.cliakstest-clitestuw3zmvvwr-26fe00.westus2.cloudapp.azure.com","informationalUrls":{"termsOfService":null,"support":null,"privacy":null,"marketing":null},"keyCredentials":[],"logoutUrl":null,"notificationEmailAddresses":[],"oauth2Permissions":[{"adminConsentDescription":"Allow
|
||||
the application to access cliakstest000002 on behalf of the signed-in user.","adminConsentDisplayName":"Access
|
||||
cliakstest000002","id":"126087b8-f218-4e32-9af5-8dc15dd76cca","isEnabled":true,"type":"User","userConsentDescription":"Allow
|
||||
the application to access cliakstest000002 on your behalf.","userConsentDisplayName":"Access
|
||||
cliakstest000002","value":"user_impersonation"}],"passwordCredentials":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyEndDateTime":null,"preferredTokenSigningKeyThumbprint":null,"publisherName":"Microsoft","replyUrls":[],"samlMetadataUrl":null,"samlSingleSignOnSettings":null,"servicePrincipalNames":["44e21bc3-d6ea-4420-82a6-61d20aeffd1d","https://514eb6.cliakstest-clitestuw3zmvvwr-26fe00.westus2.cloudapp.azure.com"],"servicePrincipalType":"Application","signInAudience":"AzureADMyOrg","tags":[],"tokenEncryptionKeyId":null}'
|
||||
headers:
|
||||
access-control-allow-origin:
|
||||
- '*'
|
||||
cache-control:
|
||||
- no-cache
|
||||
content-length:
|
||||
- '1784'
|
||||
content-type:
|
||||
- application/json; odata=minimalmetadata; streaming=true; charset=utf-8
|
||||
dataserviceversion:
|
||||
- 3.0;
|
||||
date:
|
||||
- Tue, 27 Oct 2020 07:35:26 GMT
|
||||
duration:
|
||||
- '3578213'
|
||||
expires:
|
||||
- '-1'
|
||||
location:
|
||||
- https://graph.windows.net/00000000-0000-0000-0000-000000000000/directoryObjects/48abf698-5eb7-4627-9218-9a30cd2a0995/Microsoft.DirectoryServices.ServicePrincipal
|
||||
ocp-aad-diagnostics-server-name:
|
||||
- grsr9Ep/kpMlfttkk1pu3cIRAdMp49TvcXwbTW3qW+A=
|
||||
ocp-aad-session-key:
|
||||
- kKcO6NuVKhYjLIefoU47QNglIp24IlfrE4fhMq4VxH7F1xpg4pMo0n6raY1yltldShR2mYXA4HCdiIXC_1O-Jm7JY3UKu9l27ApnkTIzyVEIoJbifcAO59b6Vfg1d-8cdaKp4-d-VD9-SuXUNoRo-8okJCQ7VHuUEDqbwrHbhHg.urtPAMefiDERzeA29PCPsNkXR9WHRuocyAKho8fcCMo
|
||||
pragma:
|
||||
- no-cache
|
||||
request-id:
|
||||
- b2d073a1-c9c7-4ebb-9a08-ab7107465cc0
|
||||
strict-transport-security:
|
||||
- max-age=31536000; includeSubDomains
|
||||
x-aspnet-version:
|
||||
- 4.0.30319
|
||||
x-ms-dirapi-data-contract-version:
|
||||
- '1.6'
|
||||
x-ms-resource-unit:
|
||||
- '1'
|
||||
x-powered-by:
|
||||
- ASP.NET
|
||||
status:
|
||||
code: 201
|
||||
message: Created
|
||||
- request:
|
||||
body: '{"location": "westus2", "properties": {"kubernetesVersion": "", "dnsPrefix":
|
||||
"cliakstest-clitestuw3zmvvwr-26fe00", "agentPoolProfiles": [{"count": 1, "vmSize":
|
||||
"Standard_DS2_v2", "osDiskSizeGB": 60, "osDiskType": "Ephemeral", "osType":
|
||||
"Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP":
|
||||
false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "name":
|
||||
"nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys":
|
||||
[{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDiauQ12ac/8uBhdsGAE1swCUGZ1LHSEYXVulGl/bpdSRfE5P44hMcdw7rAfwgZ/XKzS330iiJcI/FOKYtkLCCdYQWB5qUZu3t+mfwIFakrsUeYb/XrT/ZNDrzd/LLYBxDvsV/2oxxBsK0xkCOUI6ZrbpNQnw8ChM1AiS9Q2YUQglF6iPCKLLnUp+X7HJH0j4RYxgOU/lDKEpH4Bef99eRezzqCPQIynSL9488EYjEbMoB+dJ36o1tcjNO4SsivATAN6xYhQP+coTVKWMwxwssfwfc7FXpS967W+ep3cntz9pAjrgzWLLsamldEFkrJ8+F2Gm8ZtQ1fKnYf8lbTI0T9PxtKblpxhcVcdeYfMUzDAGyk3yFqbtOwZsiAps9qBvYzA8SSVCOcnhTEvlenSRl3x5f08+dbp0PjwstsoLyj/BPD82JjkeiYI5nedlzX+XVXTpPoFbR2NDhwcG8ftS/kE1Ebw8wp5s6cnI2pSHYQ4epkvYhQx+AgDmXOav5tF8c=
|
||||
ace@ace-vm\n"}]}}, "servicePrincipalProfile": {"clientId": "44e21bc3-d6ea-4420-82a6-61d20aeffd1d",
|
||||
"secret": "777db2a21bd612915811$"}, "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"}}}'
|
||||
headers:
|
||||
Accept:
|
||||
- application/json
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
CommandName:
|
||||
- aks create
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- '1464'
|
||||
Content-Type:
|
||||
- application/json; charset=utf-8
|
||||
Ocp-Aad-Session-Key:
|
||||
- 0MWnnsSwh-RwO2uoV8YUytVDTUiyzvn7cTgpnEvEyntNk6Hz6Ah1kpcI8eCWaAlUs0WfWffUtwSxZ8Xyf68pnLVcFZq4nqxROt5X6JvJ0ZXOR8IgavurnZTE9n9ulm7N8OEcNJA5T1UA2RDqYeyuxsSwY-A3zFZ4GpMzcO0Bp1c.Q2BQFib6anyWYKdyyknYxfrCGfUAHMB5u083JRCcCcU
|
||||
ParameterSetName:
|
||||
- --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type
|
||||
--node-osdisk-size
|
||||
User-Agent:
|
||||
- python/3.8.5 (Linux-5.9.0-rc6-custom-x86_64-with-glibc2.29) msrest/0.6.18
|
||||
msrest_azure/0.6.3 azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python
|
||||
AZURECLI/2.14.0
|
||||
accept-language:
|
||||
- en-US
|
||||
method: PUT
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2020-09-01
|
||||
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.17.11\",\n \"dnsPrefix\"\
|
||||
: \"cliakstest-clitestuw3zmvvwr-26fe00\",\n \"fqdn\": \"cliakstest-clitestuw3zmvvwr-26fe00-d358552d.hcp.westus2.staging.azmk8s.io\"\
|
||||
,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \
|
||||
\ \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\
|
||||
: 60,\n \"osDiskType\": \"Ephemeral\",\n \"maxPods\": 110,\n \"\
|
||||
type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\"\
|
||||
,\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\
|
||||
: \"1.17.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\":\
|
||||
\ {},\n \"mode\": \"System\",\n \"osType\": \"Linux\",\n \"nodeImageVersion\"\
|
||||
: \"AKSUbuntu-1604-2020.10.08\"\n }\n ],\n \"linuxProfile\": {\n \
|
||||
\ \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\"\
|
||||
: [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDiauQ12ac/8uBhdsGAE1swCUGZ1LHSEYXVulGl/bpdSRfE5P44hMcdw7rAfwgZ/XKzS330iiJcI/FOKYtkLCCdYQWB5qUZu3t+mfwIFakrsUeYb/XrT/ZNDrzd/LLYBxDvsV/2oxxBsK0xkCOUI6ZrbpNQnw8ChM1AiS9Q2YUQglF6iPCKLLnUp+X7HJH0j4RYxgOU/lDKEpH4Bef99eRezzqCPQIynSL9488EYjEbMoB+dJ36o1tcjNO4SsivATAN6xYhQP+coTVKWMwxwssfwfc7FXpS967W+ep3cntz9pAjrgzWLLsamldEFkrJ8+F2Gm8ZtQ1fKnYf8lbTI0T9PxtKblpxhcVcdeYfMUzDAGyk3yFqbtOwZsiAps9qBvYzA8SSVCOcnhTEvlenSRl3x5f08+dbp0PjwstsoLyj/BPD82JjkeiYI5nedlzX+XVXTpPoFbR2NDhwcG8ftS/kE1Ebw8wp5s6cnI2pSHYQ4epkvYhQx+AgDmXOav5tF8c=\
|
||||
\ ace@ace-vm\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\
|
||||
: {\n \"clientId\": \"44e21bc3-d6ea-4420-82a6-61d20aeffd1d\"\n },\n \
|
||||
\ \"addonProfiles\": {\n \"KubeDashboard\": {\n \"enabled\": true,\n\
|
||||
\ \"config\": null\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\"\
|
||||
,\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 \"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/2979e516-7faa-4e19-8079-c43ca0ee701a?api-version=2016-03-30
|
||||
cache-control:
|
||||
- no-cache
|
||||
content-length:
|
||||
- '2524'
|
||||
content-type:
|
||||
- application/json
|
||||
date:
|
||||
- Tue, 27 Oct 2020 07:35:33 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 --generate-ssh-keys --vm-set-type -c --node-osdisk-type
|
||||
--node-osdisk-size
|
||||
User-Agent:
|
||||
- python/3.8.5 (Linux-5.9.0-rc6-custom-x86_64-with-glibc2.29) msrest/0.6.18
|
||||
msrest_azure/0.6.3 azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python
|
||||
AZURECLI/2.14.0
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2979e516-7faa-4e19-8079-c43ca0ee701a?api-version=2016-03-30
|
||||
response:
|
||||
body:
|
||||
string: "{\n \"name\": \"16e57929-aa7f-194e-8079-c43ca0ee701a\",\n \"status\"\
|
||||
: \"InProgress\",\n \"startTime\": \"2020-10-27T07:35:33.0774491Z\"\n }"
|
||||
headers:
|
||||
cache-control:
|
||||
- no-cache
|
||||
content-length:
|
||||
- '126'
|
||||
content-type:
|
||||
- application/json
|
||||
date:
|
||||
- Tue, 27 Oct 2020 07:36:03 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 --generate-ssh-keys --vm-set-type -c --node-osdisk-type
|
||||
--node-osdisk-size
|
||||
User-Agent:
|
||||
- python/3.8.5 (Linux-5.9.0-rc6-custom-x86_64-with-glibc2.29) msrest/0.6.18
|
||||
msrest_azure/0.6.3 azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python
|
||||
AZURECLI/2.14.0
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2979e516-7faa-4e19-8079-c43ca0ee701a?api-version=2016-03-30
|
||||
response:
|
||||
body:
|
||||
string: "{\n \"name\": \"16e57929-aa7f-194e-8079-c43ca0ee701a\",\n \"status\"\
|
||||
: \"InProgress\",\n \"startTime\": \"2020-10-27T07:35:33.0774491Z\"\n }"
|
||||
headers:
|
||||
cache-control:
|
||||
- no-cache
|
||||
content-length:
|
||||
- '126'
|
||||
content-type:
|
||||
- application/json
|
||||
date:
|
||||
- Tue, 27 Oct 2020 07:36: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 create
|
||||
Connection:
|
||||
- keep-alive
|
||||
ParameterSetName:
|
||||
- --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type
|
||||
--node-osdisk-size
|
||||
User-Agent:
|
||||
- python/3.8.5 (Linux-5.9.0-rc6-custom-x86_64-with-glibc2.29) msrest/0.6.18
|
||||
msrest_azure/0.6.3 azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python
|
||||
AZURECLI/2.14.0
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2979e516-7faa-4e19-8079-c43ca0ee701a?api-version=2016-03-30
|
||||
response:
|
||||
body:
|
||||
string: "{\n \"name\": \"16e57929-aa7f-194e-8079-c43ca0ee701a\",\n \"status\"\
|
||||
: \"InProgress\",\n \"startTime\": \"2020-10-27T07:35:33.0774491Z\"\n }"
|
||||
headers:
|
||||
cache-control:
|
||||
- no-cache
|
||||
content-length:
|
||||
- '126'
|
||||
content-type:
|
||||
- application/json
|
||||
date:
|
||||
- Tue, 27 Oct 2020 07:37:03 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 --generate-ssh-keys --vm-set-type -c --node-osdisk-type
|
||||
--node-osdisk-size
|
||||
User-Agent:
|
||||
- python/3.8.5 (Linux-5.9.0-rc6-custom-x86_64-with-glibc2.29) msrest/0.6.18
|
||||
msrest_azure/0.6.3 azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python
|
||||
AZURECLI/2.14.0
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2979e516-7faa-4e19-8079-c43ca0ee701a?api-version=2016-03-30
|
||||
response:
|
||||
body:
|
||||
string: "{\n \"name\": \"16e57929-aa7f-194e-8079-c43ca0ee701a\",\n \"status\"\
|
||||
: \"InProgress\",\n \"startTime\": \"2020-10-27T07:35:33.0774491Z\"\n }"
|
||||
headers:
|
||||
cache-control:
|
||||
- no-cache
|
||||
content-length:
|
||||
- '126'
|
||||
content-type:
|
||||
- application/json
|
||||
date:
|
||||
- Tue, 27 Oct 2020 07:37:33 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 --generate-ssh-keys --vm-set-type -c --node-osdisk-type
|
||||
--node-osdisk-size
|
||||
User-Agent:
|
||||
- python/3.8.5 (Linux-5.9.0-rc6-custom-x86_64-with-glibc2.29) msrest/0.6.18
|
||||
msrest_azure/0.6.3 azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python
|
||||
AZURECLI/2.14.0
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2979e516-7faa-4e19-8079-c43ca0ee701a?api-version=2016-03-30
|
||||
response:
|
||||
body:
|
||||
string: "{\n \"name\": \"16e57929-aa7f-194e-8079-c43ca0ee701a\",\n \"status\"\
|
||||
: \"Succeeded\",\n \"startTime\": \"2020-10-27T07:35:33.0774491Z\",\n \"\
|
||||
endTime\": \"2020-10-27T07:38:01.6870839Z\"\n }"
|
||||
headers:
|
||||
cache-control:
|
||||
- no-cache
|
||||
content-length:
|
||||
- '170'
|
||||
content-type:
|
||||
- application/json
|
||||
date:
|
||||
- Tue, 27 Oct 2020 07:38:03 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 --generate-ssh-keys --vm-set-type -c --node-osdisk-type
|
||||
--node-osdisk-size
|
||||
User-Agent:
|
||||
- python/3.8.5 (Linux-5.9.0-rc6-custom-x86_64-with-glibc2.29) msrest/0.6.18
|
||||
msrest_azure/0.6.3 azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python
|
||||
AZURECLI/2.14.0
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2020-09-01
|
||||
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.17.11\",\n \"dnsPrefix\"\
|
||||
: \"cliakstest-clitestuw3zmvvwr-26fe00\",\n \"fqdn\": \"cliakstest-clitestuw3zmvvwr-26fe00-d358552d.hcp.westus2.staging.azmk8s.io\"\
|
||||
,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \
|
||||
\ \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\
|
||||
: 60,\n \"osDiskType\": \"Ephemeral\",\n \"maxPods\": 110,\n \"\
|
||||
type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\"\
|
||||
,\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\
|
||||
: \"1.17.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\":\
|
||||
\ {},\n \"mode\": \"System\",\n \"osType\": \"Linux\",\n \"nodeImageVersion\"\
|
||||
: \"AKSUbuntu-1604-2020.10.08\"\n }\n ],\n \"linuxProfile\": {\n \
|
||||
\ \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\"\
|
||||
: [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDiauQ12ac/8uBhdsGAE1swCUGZ1LHSEYXVulGl/bpdSRfE5P44hMcdw7rAfwgZ/XKzS330iiJcI/FOKYtkLCCdYQWB5qUZu3t+mfwIFakrsUeYb/XrT/ZNDrzd/LLYBxDvsV/2oxxBsK0xkCOUI6ZrbpNQnw8ChM1AiS9Q2YUQglF6iPCKLLnUp+X7HJH0j4RYxgOU/lDKEpH4Bef99eRezzqCPQIynSL9488EYjEbMoB+dJ36o1tcjNO4SsivATAN6xYhQP+coTVKWMwxwssfwfc7FXpS967W+ep3cntz9pAjrgzWLLsamldEFkrJ8+F2Gm8ZtQ1fKnYf8lbTI0T9PxtKblpxhcVcdeYfMUzDAGyk3yFqbtOwZsiAps9qBvYzA8SSVCOcnhTEvlenSRl3x5f08+dbp0PjwstsoLyj/BPD82JjkeiYI5nedlzX+XVXTpPoFbR2NDhwcG8ftS/kE1Ebw8wp5s6cnI2pSHYQ4epkvYhQx+AgDmXOav5tF8c=\
|
||||
\ ace@ace-vm\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\
|
||||
: {\n \"clientId\": \"44e21bc3-d6ea-4420-82a6-61d20aeffd1d\"\n },\n \
|
||||
\ \"addonProfiles\": {\n \"KubeDashboard\": {\n \"enabled\": true,\n\
|
||||
\ \"config\": null\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\"\
|
||||
,\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_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e1d3e628-84c3-4be9-8366-d5ec37818de6\"\
|
||||
\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 },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\"\
|
||||
: \"Free\"\n }\n }"
|
||||
headers:
|
||||
cache-control:
|
||||
- no-cache
|
||||
content-length:
|
||||
- '2792'
|
||||
content-type:
|
||||
- application/json
|
||||
date:
|
||||
- Tue, 27 Oct 2020 07:38:04 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
|
||||
version: 1
|
|
@ -0,0 +1,697 @@
|
|||
interactions:
|
||||
- request:
|
||||
body: null
|
||||
headers:
|
||||
Accept:
|
||||
- application/json
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
CommandName:
|
||||
- aks create
|
||||
Connection:
|
||||
- keep-alive
|
||||
ParameterSetName:
|
||||
- --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type
|
||||
User-Agent:
|
||||
- python/3.8.5 (Linux-5.9.0-rc6-custom-x86_64-with-glibc2.29) msrest/0.6.18
|
||||
msrest_azure/0.6.3 azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
|
||||
accept-language:
|
||||
- en-US
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2020-06-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":"2020-10-27T07:35:22Z"},"properties":{"provisioningState":"Succeeded"}}'
|
||||
headers:
|
||||
cache-control:
|
||||
- no-cache
|
||||
content-length:
|
||||
- '313'
|
||||
content-type:
|
||||
- application/json; charset=utf-8
|
||||
date:
|
||||
- Tue, 27 Oct 2020 07:35:23 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: '{"availableToOtherTenants": false, "homepage": "https://6b3b01.cliakstest-clitesthstty76f7-26fe00.westus2.cloudapp.azure.com",
|
||||
"passwordCredentials": [{"startDate": "2020-10-27T07:35:24.834282Z", "endDate":
|
||||
"2025-10-27T07:35:24.834282Z", "keyId": "8c600b36-e42b-4447-9014-5951a682c49e",
|
||||
"value": "ReplacedSPPassword123*"}], "displayName": "cliakstest000002", "identifierUris":
|
||||
["https://6b3b01.cliakstest-clitesthstty76f7-26fe00.westus2.cloudapp.azure.com"]}'
|
||||
headers:
|
||||
Accept:
|
||||
- application/json
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
CommandName:
|
||||
- aks create
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- '457'
|
||||
Content-Type:
|
||||
- application/json; charset=utf-8
|
||||
ParameterSetName:
|
||||
- --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type
|
||||
User-Agent:
|
||||
- python/3.8.5 (Linux-5.9.0-rc6-custom-x86_64-with-glibc2.29) msrest/0.6.18
|
||||
msrest_azure/0.6.3 azure-graphrbac/0.60.0 Azure-SDK-For-Python AZURECLI/2.14.0
|
||||
accept-language:
|
||||
- en-US
|
||||
method: POST
|
||||
uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/applications?api-version=1.6
|
||||
response:
|
||||
body:
|
||||
string: '{"odata.metadata": "https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects/@Element",
|
||||
"odata.type": "Microsoft.DirectoryServices.Application", "objectType": "Application",
|
||||
"objectId": "0a2ce961-666f-4bc3-9daa-068a392e874e", "deletionTimestamp": null,
|
||||
"acceptMappedClaims": null, "addIns": [], "appId": "8175a275-3a50-4eaa-8795-0215e1fbc06b",
|
||||
"applicationTemplateId": null, "appRoles": [], "availableToOtherTenants":
|
||||
false, "displayName": "cliakstest000002", "errorUrl": null, "groupMembershipClaims":
|
||||
null, "homepage": "https://6b3b01.cliakstest-clitesthstty76f7-26fe00.westus2.cloudapp.azure.com",
|
||||
"identifierUris": ["https://6b3b01.cliakstest-clitesthstty76f7-26fe00.westus2.cloudapp.azure.com"],
|
||||
"informationalUrls": {"termsOfService": null, "support": null, "privacy":
|
||||
null, "marketing": null}, "isDeviceOnlyAuthSupported": null, "keyCredentials":
|
||||
[], "knownClientApplications": [], "logoutUrl": null, "logo@odata.mediaEditLink":
|
||||
"directoryObjects/0a2ce961-666f-4bc3-9daa-068a392e874e/Microsoft.DirectoryServices.Application/logo",
|
||||
"logo@odata.mediaContentType": "application/json;odata=minimalmetadata; charset=utf-8",
|
||||
"logoUrl": null, "mainLogo@odata.mediaEditLink": "directoryObjects/0a2ce961-666f-4bc3-9daa-068a392e874e/Microsoft.DirectoryServices.Application/mainLogo",
|
||||
"oauth2AllowIdTokenImplicitFlow": true, "oauth2AllowImplicitFlow": false,
|
||||
"oauth2AllowUrlPathMatching": false, "oauth2Permissions": [{"adminConsentDescription":
|
||||
"Allow the application to access cliakstest000002 on behalf of the signed-in
|
||||
user.", "adminConsentDisplayName": "Access cliakstest000002", "id": "465e2573-a465-41a2-adb3-e2eeff8de6da",
|
||||
"isEnabled": true, "type": "User", "userConsentDescription": "Allow the application
|
||||
to access cliakstest000002 on your behalf.", "userConsentDisplayName": "Access
|
||||
cliakstest000002", "value": "user_impersonation"}], "oauth2RequirePostResponse":
|
||||
false, "optionalClaims": null, "orgRestrictions": [], "parentalControlSettings":
|
||||
{"countriesBlockedForMinors": [], "legalAgeGroupRule": "Allow"}, "passwordCredentials":
|
||||
[{"customKeyIdentifier": null, "endDate": "2025-10-27T07:35:24.834282Z", "keyId":
|
||||
"8c600b36-e42b-4447-9014-5951a682c49e", "startDate": "2020-10-27T07:35:24.834282Z",
|
||||
"value": "ReplacedSPPassword123*"}], "publicClient": null, "publisherDomain":
|
||||
"microsoft.onmicrosoft.com", "recordConsentConditions": null, "replyUrls":
|
||||
[], "requiredResourceAccess": [], "samlMetadataUrl": null, "signInAudience":
|
||||
"AzureADMyOrg", "tokenEncryptionKeyId": null}'
|
||||
headers:
|
||||
access-control-allow-origin:
|
||||
- '*'
|
||||
cache-control:
|
||||
- no-cache
|
||||
content-length:
|
||||
- '2377'
|
||||
content-type:
|
||||
- application/json; odata=minimalmetadata; streaming=true; charset=utf-8
|
||||
dataserviceversion:
|
||||
- 3.0;
|
||||
date:
|
||||
- Tue, 27 Oct 2020 07:35:26 GMT
|
||||
duration:
|
||||
- '6268219'
|
||||
expires:
|
||||
- '-1'
|
||||
location:
|
||||
- https://graph.windows.net/00000000-0000-0000-0000-000000000000/directoryObjects/0a2ce961-666f-4bc3-9daa-068a392e874e/Microsoft.DirectoryServices.Application
|
||||
ocp-aad-diagnostics-server-name:
|
||||
- 0LlnUNoEO7jEDF80N6Y4mKET9OQL8ZNxFirzdR/oMr4=
|
||||
ocp-aad-session-key:
|
||||
- eFuf6ffQhPbgqX9jaYExYbcZF-5LkGJNTre80wEIWpWq9aPgcvAM_Tj-W68n0qNAFCze9yHgE5fF7BhFGXrc2Ys0msJ1x9jkLUj650wlwAm8n0V6cPdO7J1O2NaRc761xq77KIE451El9gnXyuM0JG0ViHw9QLwbAoHaifV3S20.YTSE5ByUGyn6S7MLG5EVO7uN2lRo84Aa9sypRw3NHFM
|
||||
pragma:
|
||||
- no-cache
|
||||
request-id:
|
||||
- 64d922ec-234d-4c59-97d7-6a38da43fbde
|
||||
strict-transport-security:
|
||||
- max-age=31536000; includeSubDomains
|
||||
x-aspnet-version:
|
||||
- 4.0.30319
|
||||
x-ms-dirapi-data-contract-version:
|
||||
- '1.6'
|
||||
x-ms-resource-unit:
|
||||
- '1'
|
||||
x-powered-by:
|
||||
- ASP.NET
|
||||
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 --generate-ssh-keys --vm-set-type -c --node-osdisk-type
|
||||
User-Agent:
|
||||
- python/3.8.5 (Linux-5.9.0-rc6-custom-x86_64-with-glibc2.29) msrest/0.6.18
|
||||
msrest_azure/0.6.3 azure-graphrbac/0.60.0 Azure-SDK-For-Python AZURECLI/2.14.0
|
||||
accept-language:
|
||||
- en-US
|
||||
method: GET
|
||||
uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/applications?$filter=appId%20eq%20%278175a275-3a50-4eaa-8795-0215e1fbc06b%27&api-version=1.6
|
||||
response:
|
||||
body:
|
||||
string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects","value":[{"odata.type":"Microsoft.DirectoryServices.Application","objectType":"Application","objectId":"0a2ce961-666f-4bc3-9daa-068a392e874e","deletionTimestamp":null,"acceptMappedClaims":null,"addIns":[],"appId":"8175a275-3a50-4eaa-8795-0215e1fbc06b","applicationTemplateId":null,"appRoles":[],"availableToOtherTenants":false,"displayName":"cliakstest000002","errorUrl":null,"groupMembershipClaims":null,"homepage":"https://6b3b01.cliakstest-clitesthstty76f7-26fe00.westus2.cloudapp.azure.com","identifierUris":["https://6b3b01.cliakstest-clitesthstty76f7-26fe00.westus2.cloudapp.azure.com"],"informationalUrls":{"termsOfService":null,"support":null,"privacy":null,"marketing":null},"isDeviceOnlyAuthSupported":null,"keyCredentials":[],"knownClientApplications":[],"logoutUrl":null,"logo@odata.mediaEditLink":"directoryObjects/0a2ce961-666f-4bc3-9daa-068a392e874e/Microsoft.DirectoryServices.Application/logo","logoUrl":null,"mainLogo@odata.mediaEditLink":"directoryObjects/0a2ce961-666f-4bc3-9daa-068a392e874e/Microsoft.DirectoryServices.Application/mainLogo","oauth2AllowIdTokenImplicitFlow":true,"oauth2AllowImplicitFlow":false,"oauth2AllowUrlPathMatching":false,"oauth2Permissions":[{"adminConsentDescription":"Allow
|
||||
the application to access cliakstest000002 on behalf of the signed-in user.","adminConsentDisplayName":"Access
|
||||
cliakstest000002","id":"465e2573-a465-41a2-adb3-e2eeff8de6da","isEnabled":true,"type":"User","userConsentDescription":"Allow
|
||||
the application to access cliakstest000002 on your behalf.","userConsentDisplayName":"Access
|
||||
cliakstest000002","value":"user_impersonation"}],"oauth2RequirePostResponse":false,"optionalClaims":null,"orgRestrictions":[],"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[{"customKeyIdentifier":null,"endDate":"2025-10-27T07:35:24.834282Z","keyId":"8c600b36-e42b-4447-9014-5951a682c49e","startDate":"2020-10-27T07:35:24.834282Z","value":null}],"publicClient":null,"publisherDomain":"microsoft.onmicrosoft.com","recordConsentConditions":null,"replyUrls":[],"requiredResourceAccess":[],"samlMetadataUrl":null,"signInAudience":"AzureADMyOrg","tokenEncryptionKeyId":null}]}'
|
||||
headers:
|
||||
access-control-allow-origin:
|
||||
- '*'
|
||||
cache-control:
|
||||
- no-cache
|
||||
content-length:
|
||||
- '2294'
|
||||
content-type:
|
||||
- application/json; odata=minimalmetadata; streaming=true; charset=utf-8
|
||||
dataserviceversion:
|
||||
- 3.0;
|
||||
date:
|
||||
- Tue, 27 Oct 2020 07:35:26 GMT
|
||||
duration:
|
||||
- '540846'
|
||||
expires:
|
||||
- '-1'
|
||||
ocp-aad-diagnostics-server-name:
|
||||
- I4v0qcnOlje1nXMrnV4NRb3YM/2Yho5JJMkIV0jxR4s=
|
||||
ocp-aad-session-key:
|
||||
- exYne_85oHspRBMYVSMXY8MOdyFSQzJeGt89OfTuG2GF1yWdwGSomhsRhVwZMliCoV6ZpvSy9MWq5CWRymIpJhxeBlr7uPc9mxJM08qSbgPHChMLwSP2QzEIYwQ7vmB5G7BEbMPm77p5VWuB4U8FEqJrjeAL7siwxJeFBzjcm30.kfswHTdY1wAn3BRjU_axpKgpvsdBzpMcFBqRBLMfGUE
|
||||
pragma:
|
||||
- no-cache
|
||||
request-id:
|
||||
- c1fc58f4-a7d5-4786-954c-54dba10e72de
|
||||
strict-transport-security:
|
||||
- max-age=31536000; includeSubDomains
|
||||
x-aspnet-version:
|
||||
- 4.0.30319
|
||||
x-ms-dirapi-data-contract-version:
|
||||
- '1.6'
|
||||
x-ms-resource-unit:
|
||||
- '2'
|
||||
x-powered-by:
|
||||
- ASP.NET
|
||||
status:
|
||||
code: 200
|
||||
message: OK
|
||||
- request:
|
||||
body: '{"accountEnabled": "True", "appId": "8175a275-3a50-4eaa-8795-0215e1fbc06b"}'
|
||||
headers:
|
||||
Accept:
|
||||
- application/json
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
CommandName:
|
||||
- aks create
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- '75'
|
||||
Content-Type:
|
||||
- application/json; charset=utf-8
|
||||
ParameterSetName:
|
||||
- --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type
|
||||
User-Agent:
|
||||
- python/3.8.5 (Linux-5.9.0-rc6-custom-x86_64-with-glibc2.29) msrest/0.6.18
|
||||
msrest_azure/0.6.3 azure-graphrbac/0.60.0 Azure-SDK-For-Python AZURECLI/2.14.0
|
||||
accept-language:
|
||||
- en-US
|
||||
method: POST
|
||||
uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/servicePrincipals?api-version=1.6
|
||||
response:
|
||||
body:
|
||||
string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects/@Element","odata.type":"Microsoft.DirectoryServices.ServicePrincipal","objectType":"ServicePrincipal","objectId":"26651ab4-6373-450d-94e0-e641c74da7af","deletionTimestamp":null,"accountEnabled":true,"addIns":[],"alternativeNames":[],"appDisplayName":"cliakstest000002","appId":"8175a275-3a50-4eaa-8795-0215e1fbc06b","applicationTemplateId":null,"appOwnerTenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","appRoleAssignmentRequired":false,"appRoles":[],"displayName":"cliakstest000002","errorUrl":null,"homepage":"https://6b3b01.cliakstest-clitesthstty76f7-26fe00.westus2.cloudapp.azure.com","informationalUrls":{"termsOfService":null,"support":null,"privacy":null,"marketing":null},"keyCredentials":[],"logoutUrl":null,"notificationEmailAddresses":[],"oauth2Permissions":[{"adminConsentDescription":"Allow
|
||||
the application to access cliakstest000002 on behalf of the signed-in user.","adminConsentDisplayName":"Access
|
||||
cliakstest000002","id":"465e2573-a465-41a2-adb3-e2eeff8de6da","isEnabled":true,"type":"User","userConsentDescription":"Allow
|
||||
the application to access cliakstest000002 on your behalf.","userConsentDisplayName":"Access
|
||||
cliakstest000002","value":"user_impersonation"}],"passwordCredentials":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyEndDateTime":null,"preferredTokenSigningKeyThumbprint":null,"publisherName":"Microsoft","replyUrls":[],"samlMetadataUrl":null,"samlSingleSignOnSettings":null,"servicePrincipalNames":["8175a275-3a50-4eaa-8795-0215e1fbc06b","https://6b3b01.cliakstest-clitesthstty76f7-26fe00.westus2.cloudapp.azure.com"],"servicePrincipalType":"Application","signInAudience":"AzureADMyOrg","tags":[],"tokenEncryptionKeyId":null}'
|
||||
headers:
|
||||
access-control-allow-origin:
|
||||
- '*'
|
||||
cache-control:
|
||||
- no-cache
|
||||
content-length:
|
||||
- '1784'
|
||||
content-type:
|
||||
- application/json; odata=minimalmetadata; streaming=true; charset=utf-8
|
||||
dataserviceversion:
|
||||
- 3.0;
|
||||
date:
|
||||
- Tue, 27 Oct 2020 07:35:26 GMT
|
||||
duration:
|
||||
- '3660346'
|
||||
expires:
|
||||
- '-1'
|
||||
location:
|
||||
- https://graph.windows.net/00000000-0000-0000-0000-000000000000/directoryObjects/26651ab4-6373-450d-94e0-e641c74da7af/Microsoft.DirectoryServices.ServicePrincipal
|
||||
ocp-aad-diagnostics-server-name:
|
||||
- YF0m9VfRaICKZ7BaPBWJYnZAznG+rGxvI3UhMCQZVCo=
|
||||
ocp-aad-session-key:
|
||||
- paYQy3tuOHE_KD-fTaU4pNQL4ZpXTUT8d4jYuTKS8kki6pDLqqdBwVNvPYXKSwP3firAgw7CYFwDQIiTw5qHMTWvakvEAMt0PtXQHzZKTM_5Bj2U5m6waNK__p8AyKtdSieR_KU6liLUmtnlQnrkgvX0GHbbGIFowgwXLOY2hVc.k360Y_4zdZdbXy8yVF7-Y3144b6MsQ2IuzoiQv_vC0g
|
||||
pragma:
|
||||
- no-cache
|
||||
request-id:
|
||||
- b7a71349-ff61-4ec2-8047-dc1c55e97590
|
||||
strict-transport-security:
|
||||
- max-age=31536000; includeSubDomains
|
||||
x-aspnet-version:
|
||||
- 4.0.30319
|
||||
x-ms-dirapi-data-contract-version:
|
||||
- '1.6'
|
||||
x-ms-resource-unit:
|
||||
- '1'
|
||||
x-powered-by:
|
||||
- ASP.NET
|
||||
status:
|
||||
code: 201
|
||||
message: Created
|
||||
- request:
|
||||
body: '{"location": "westus2", "properties": {"kubernetesVersion": "", "dnsPrefix":
|
||||
"cliakstest-clitesthstty76f7-26fe00", "agentPoolProfiles": [{"count": 1, "vmSize":
|
||||
"Standard_DS2_v2", "osDiskType": "Managed", "osType": "Linux", "type": "VirtualMachineScaleSets",
|
||||
"mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular",
|
||||
"scaleSetEvictionPolicy": "Delete", "name": "nodepool1"}], "linuxProfile": {"adminUsername":
|
||||
"azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDiauQ12ac/8uBhdsGAE1swCUGZ1LHSEYXVulGl/bpdSRfE5P44hMcdw7rAfwgZ/XKzS330iiJcI/FOKYtkLCCdYQWB5qUZu3t+mfwIFakrsUeYb/XrT/ZNDrzd/LLYBxDvsV/2oxxBsK0xkCOUI6ZrbpNQnw8ChM1AiS9Q2YUQglF6iPCKLLnUp+X7HJH0j4RYxgOU/lDKEpH4Bef99eRezzqCPQIynSL9488EYjEbMoB+dJ36o1tcjNO4SsivATAN6xYhQP+coTVKWMwxwssfwfc7FXpS967W+ep3cntz9pAjrgzWLLsamldEFkrJ8+F2Gm8ZtQ1fKnYf8lbTI0T9PxtKblpxhcVcdeYfMUzDAGyk3yFqbtOwZsiAps9qBvYzA8SSVCOcnhTEvlenSRl3x5f08+dbp0PjwstsoLyj/BPD82JjkeiYI5nedlzX+XVXTpPoFbR2NDhwcG8ftS/kE1Ebw8wp5s6cnI2pSHYQ4epkvYhQx+AgDmXOav5tF8c=
|
||||
ace@ace-vm\n"}]}}, "servicePrincipalProfile": {"clientId": "8175a275-3a50-4eaa-8795-0215e1fbc06b",
|
||||
"secret": "c9698a1b9475cd9fc0d4$"}, "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"}}}'
|
||||
headers:
|
||||
Accept:
|
||||
- application/json
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
CommandName:
|
||||
- aks create
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- '1442'
|
||||
Content-Type:
|
||||
- application/json; charset=utf-8
|
||||
Ocp-Aad-Session-Key:
|
||||
- eFuf6ffQhPbgqX9jaYExYbcZF-5LkGJNTre80wEIWpWq9aPgcvAM_Tj-W68n0qNAFCze9yHgE5fF7BhFGXrc2Ys0msJ1x9jkLUj650wlwAm8n0V6cPdO7J1O2NaRc761xq77KIE451El9gnXyuM0JG0ViHw9QLwbAoHaifV3S20.YTSE5ByUGyn6S7MLG5EVO7uN2lRo84Aa9sypRw3NHFM
|
||||
ParameterSetName:
|
||||
- --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type
|
||||
User-Agent:
|
||||
- python/3.8.5 (Linux-5.9.0-rc6-custom-x86_64-with-glibc2.29) msrest/0.6.18
|
||||
msrest_azure/0.6.3 azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python
|
||||
AZURECLI/2.14.0
|
||||
accept-language:
|
||||
- en-US
|
||||
method: PUT
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2020-09-01
|
||||
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.17.11\",\n \"dnsPrefix\"\
|
||||
: \"cliakstest-clitesthstty76f7-26fe00\",\n \"fqdn\": \"cliakstest-clitesthstty76f7-26fe00-b7151065.hcp.westus2.staging.azmk8s.io\"\
|
||||
,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \
|
||||
\ \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\
|
||||
: 128,\n \"osDiskType\": \"Managed\",\n \"maxPods\": 110,\n \"\
|
||||
type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\"\
|
||||
,\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\
|
||||
: \"1.17.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\":\
|
||||
\ {},\n \"mode\": \"System\",\n \"osType\": \"Linux\",\n \"nodeImageVersion\"\
|
||||
: \"AKSUbuntu-1604-2020.10.08\"\n }\n ],\n \"linuxProfile\": {\n \
|
||||
\ \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\"\
|
||||
: [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDiauQ12ac/8uBhdsGAE1swCUGZ1LHSEYXVulGl/bpdSRfE5P44hMcdw7rAfwgZ/XKzS330iiJcI/FOKYtkLCCdYQWB5qUZu3t+mfwIFakrsUeYb/XrT/ZNDrzd/LLYBxDvsV/2oxxBsK0xkCOUI6ZrbpNQnw8ChM1AiS9Q2YUQglF6iPCKLLnUp+X7HJH0j4RYxgOU/lDKEpH4Bef99eRezzqCPQIynSL9488EYjEbMoB+dJ36o1tcjNO4SsivATAN6xYhQP+coTVKWMwxwssfwfc7FXpS967W+ep3cntz9pAjrgzWLLsamldEFkrJ8+F2Gm8ZtQ1fKnYf8lbTI0T9PxtKblpxhcVcdeYfMUzDAGyk3yFqbtOwZsiAps9qBvYzA8SSVCOcnhTEvlenSRl3x5f08+dbp0PjwstsoLyj/BPD82JjkeiYI5nedlzX+XVXTpPoFbR2NDhwcG8ftS/kE1Ebw8wp5s6cnI2pSHYQ4epkvYhQx+AgDmXOav5tF8c=\
|
||||
\ ace@ace-vm\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\
|
||||
: {\n \"clientId\": \"8175a275-3a50-4eaa-8795-0215e1fbc06b\"\n },\n \
|
||||
\ \"addonProfiles\": {\n \"KubeDashboard\": {\n \"enabled\": true,\n\
|
||||
\ \"config\": null\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\"\
|
||||
,\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 \"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/1394a0c6-7f81-4c22-9712-b50dd021fa11?api-version=2016-03-30
|
||||
cache-control:
|
||||
- no-cache
|
||||
content-length:
|
||||
- '2523'
|
||||
content-type:
|
||||
- application/json
|
||||
date:
|
||||
- Tue, 27 Oct 2020 07:35:33 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 --generate-ssh-keys --vm-set-type -c --node-osdisk-type
|
||||
User-Agent:
|
||||
- python/3.8.5 (Linux-5.9.0-rc6-custom-x86_64-with-glibc2.29) msrest/0.6.18
|
||||
msrest_azure/0.6.3 azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python
|
||||
AZURECLI/2.14.0
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1394a0c6-7f81-4c22-9712-b50dd021fa11?api-version=2016-03-30
|
||||
response:
|
||||
body:
|
||||
string: "{\n \"name\": \"c6a09413-817f-224c-9712-b50dd021fa11\",\n \"status\"\
|
||||
: \"InProgress\",\n \"startTime\": \"2020-10-27T07:35:33.7181193Z\"\n }"
|
||||
headers:
|
||||
cache-control:
|
||||
- no-cache
|
||||
content-length:
|
||||
- '126'
|
||||
content-type:
|
||||
- application/json
|
||||
date:
|
||||
- Tue, 27 Oct 2020 07:36:04 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 --generate-ssh-keys --vm-set-type -c --node-osdisk-type
|
||||
User-Agent:
|
||||
- python/3.8.5 (Linux-5.9.0-rc6-custom-x86_64-with-glibc2.29) msrest/0.6.18
|
||||
msrest_azure/0.6.3 azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python
|
||||
AZURECLI/2.14.0
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1394a0c6-7f81-4c22-9712-b50dd021fa11?api-version=2016-03-30
|
||||
response:
|
||||
body:
|
||||
string: "{\n \"name\": \"c6a09413-817f-224c-9712-b50dd021fa11\",\n \"status\"\
|
||||
: \"InProgress\",\n \"startTime\": \"2020-10-27T07:35:33.7181193Z\"\n }"
|
||||
headers:
|
||||
cache-control:
|
||||
- no-cache
|
||||
content-length:
|
||||
- '126'
|
||||
content-type:
|
||||
- application/json
|
||||
date:
|
||||
- Tue, 27 Oct 2020 07:36:33 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 --generate-ssh-keys --vm-set-type -c --node-osdisk-type
|
||||
User-Agent:
|
||||
- python/3.8.5 (Linux-5.9.0-rc6-custom-x86_64-with-glibc2.29) msrest/0.6.18
|
||||
msrest_azure/0.6.3 azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python
|
||||
AZURECLI/2.14.0
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1394a0c6-7f81-4c22-9712-b50dd021fa11?api-version=2016-03-30
|
||||
response:
|
||||
body:
|
||||
string: "{\n \"name\": \"c6a09413-817f-224c-9712-b50dd021fa11\",\n \"status\"\
|
||||
: \"InProgress\",\n \"startTime\": \"2020-10-27T07:35:33.7181193Z\"\n }"
|
||||
headers:
|
||||
cache-control:
|
||||
- no-cache
|
||||
content-length:
|
||||
- '126'
|
||||
content-type:
|
||||
- application/json
|
||||
date:
|
||||
- Tue, 27 Oct 2020 07:37:03 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 --generate-ssh-keys --vm-set-type -c --node-osdisk-type
|
||||
User-Agent:
|
||||
- python/3.8.5 (Linux-5.9.0-rc6-custom-x86_64-with-glibc2.29) msrest/0.6.18
|
||||
msrest_azure/0.6.3 azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python
|
||||
AZURECLI/2.14.0
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1394a0c6-7f81-4c22-9712-b50dd021fa11?api-version=2016-03-30
|
||||
response:
|
||||
body:
|
||||
string: "{\n \"name\": \"c6a09413-817f-224c-9712-b50dd021fa11\",\n \"status\"\
|
||||
: \"InProgress\",\n \"startTime\": \"2020-10-27T07:35:33.7181193Z\"\n }"
|
||||
headers:
|
||||
cache-control:
|
||||
- no-cache
|
||||
content-length:
|
||||
- '126'
|
||||
content-type:
|
||||
- application/json
|
||||
date:
|
||||
- Tue, 27 Oct 2020 07:37: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
|
||||
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 --generate-ssh-keys --vm-set-type -c --node-osdisk-type
|
||||
User-Agent:
|
||||
- python/3.8.5 (Linux-5.9.0-rc6-custom-x86_64-with-glibc2.29) msrest/0.6.18
|
||||
msrest_azure/0.6.3 azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python
|
||||
AZURECLI/2.14.0
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1394a0c6-7f81-4c22-9712-b50dd021fa11?api-version=2016-03-30
|
||||
response:
|
||||
body:
|
||||
string: "{\n \"name\": \"c6a09413-817f-224c-9712-b50dd021fa11\",\n \"status\"\
|
||||
: \"Succeeded\",\n \"startTime\": \"2020-10-27T07:35:33.7181193Z\",\n \"\
|
||||
endTime\": \"2020-10-27T07:37:49.4311792Z\"\n }"
|
||||
headers:
|
||||
cache-control:
|
||||
- no-cache
|
||||
content-length:
|
||||
- '170'
|
||||
content-type:
|
||||
- application/json
|
||||
date:
|
||||
- Tue, 27 Oct 2020 07:38:04 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 --generate-ssh-keys --vm-set-type -c --node-osdisk-type
|
||||
User-Agent:
|
||||
- python/3.8.5 (Linux-5.9.0-rc6-custom-x86_64-with-glibc2.29) msrest/0.6.18
|
||||
msrest_azure/0.6.3 azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python
|
||||
AZURECLI/2.14.0
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2020-09-01
|
||||
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.17.11\",\n \"dnsPrefix\"\
|
||||
: \"cliakstest-clitesthstty76f7-26fe00\",\n \"fqdn\": \"cliakstest-clitesthstty76f7-26fe00-b7151065.hcp.westus2.staging.azmk8s.io\"\
|
||||
,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \
|
||||
\ \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\
|
||||
: 128,\n \"osDiskType\": \"Managed\",\n \"maxPods\": 110,\n \"\
|
||||
type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\"\
|
||||
,\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\
|
||||
: \"1.17.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\":\
|
||||
\ {},\n \"mode\": \"System\",\n \"osType\": \"Linux\",\n \"nodeImageVersion\"\
|
||||
: \"AKSUbuntu-1604-2020.10.08\"\n }\n ],\n \"linuxProfile\": {\n \
|
||||
\ \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\"\
|
||||
: [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDiauQ12ac/8uBhdsGAE1swCUGZ1LHSEYXVulGl/bpdSRfE5P44hMcdw7rAfwgZ/XKzS330iiJcI/FOKYtkLCCdYQWB5qUZu3t+mfwIFakrsUeYb/XrT/ZNDrzd/LLYBxDvsV/2oxxBsK0xkCOUI6ZrbpNQnw8ChM1AiS9Q2YUQglF6iPCKLLnUp+X7HJH0j4RYxgOU/lDKEpH4Bef99eRezzqCPQIynSL9488EYjEbMoB+dJ36o1tcjNO4SsivATAN6xYhQP+coTVKWMwxwssfwfc7FXpS967W+ep3cntz9pAjrgzWLLsamldEFkrJ8+F2Gm8ZtQ1fKnYf8lbTI0T9PxtKblpxhcVcdeYfMUzDAGyk3yFqbtOwZsiAps9qBvYzA8SSVCOcnhTEvlenSRl3x5f08+dbp0PjwstsoLyj/BPD82JjkeiYI5nedlzX+XVXTpPoFbR2NDhwcG8ftS/kE1Ebw8wp5s6cnI2pSHYQ4epkvYhQx+AgDmXOav5tF8c=\
|
||||
\ ace@ace-vm\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\
|
||||
: {\n \"clientId\": \"8175a275-3a50-4eaa-8795-0215e1fbc06b\"\n },\n \
|
||||
\ \"addonProfiles\": {\n \"KubeDashboard\": {\n \"enabled\": true,\n\
|
||||
\ \"config\": null\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\"\
|
||||
,\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_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/597836cd-0af6-4f5c-a169-41737200f60b\"\
|
||||
\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 },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\"\
|
||||
: \"Free\"\n }\n }"
|
||||
headers:
|
||||
cache-control:
|
||||
- no-cache
|
||||
content-length:
|
||||
- '2791'
|
||||
content-type:
|
||||
- application/json
|
||||
date:
|
||||
- Tue, 27 Oct 2020 07:38:04 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
|
||||
version: 1
|
|
@ -2073,6 +2073,42 @@ class AzureKubernetesServiceScenarioTest(ScenarioTest):
|
|||
self.check('proximityPlacementGroupId', '{ppg}')
|
||||
])
|
||||
|
||||
@AllowLargeResponse()
|
||||
@ResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='westus2')
|
||||
def test_aks_create_with_managed_disk(self, resource_group, resource_group_location):
|
||||
aks_name = self.create_random_name('cliakstest', 16)
|
||||
self.kwargs.update({
|
||||
'resource_group': resource_group,
|
||||
'name': aks_name
|
||||
})
|
||||
|
||||
create_cmd = 'aks create --resource-group={resource_group} --name={name} ' \
|
||||
'--generate-ssh-keys ' \
|
||||
'--vm-set-type VirtualMachineScaleSets -c 1 ' \
|
||||
'--node-osdisk-type=Managed'
|
||||
self.cmd(create_cmd, checks=[
|
||||
self.check('provisioningState', 'Succeeded'),
|
||||
self.check('agentPoolProfiles[0].osDiskType', 'Managed'),
|
||||
])
|
||||
|
||||
@AllowLargeResponse()
|
||||
@ResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='westus2')
|
||||
def test_aks_create_with_ephemeral_disk(self, resource_group, resource_group_location):
|
||||
aks_name = self.create_random_name('cliakstest', 16)
|
||||
self.kwargs.update({
|
||||
'resource_group': resource_group,
|
||||
'name': aks_name
|
||||
})
|
||||
|
||||
create_cmd = 'aks create --resource-group={resource_group} --name={name} ' \
|
||||
'--generate-ssh-keys ' \
|
||||
'--vm-set-type VirtualMachineScaleSets -c 1 ' \
|
||||
'--node-osdisk-type=Ephemeral --node-osdisk-size 60'
|
||||
self.cmd(create_cmd, checks=[
|
||||
self.check('provisioningState', 'Succeeded'),
|
||||
self.check('agentPoolProfiles[0].osDiskType', 'Ephemeral'),
|
||||
])
|
||||
|
||||
@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
|
||||
|
|
Загрузка…
Ссылка в новой задаче