Skip to content

Commit db6faf4

Browse files
author
naman-msft
committed
updated docs;
1 parent 1b56016 commit db6faf4

File tree

2 files changed

+2
-22
lines changed

2 files changed

+2
-22
lines changed

scenarios/azure-management-docs/articles/azure-linux/quickstart-azure-cli.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,7 @@ Create an AKS cluster using the `az aks create` command with the `--os-sku` para
6565

6666
```azurecli-interactive
6767
export MY_AZ_CLUSTER_NAME="myAzureLinuxCluster$RANDOM_ID"
68-
clusterExists=$(az aks show --name $MY_AZ_CLUSTER_NAME --resource-group $MY_RESOURCE_GROUP_NAME --query name --output tsv 2>/dev/null)
69-
70-
if [ -z "$clusterExists" ]; then
71-
az aks create --name $MY_AZ_CLUSTER_NAME --resource-group $MY_RESOURCE_GROUP_NAME --os-sku AzureLinux
72-
else
73-
echo "AKS cluster '$MY_AZ_CLUSTER_NAME' already exists. Skipping creation."
74-
fi
68+
az aks create --name $MY_AZ_CLUSTER_NAME --resource-group $MY_RESOURCE_GROUP_NAME --os-sku AzureLinux
7569
```
7670

7771
After a few minutes, the command completes and returns JSON-formatted information about the cluster.

scenarios/metadata.json

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -783,21 +783,7 @@
783783

784784
],
785785
"configurations": {
786-
"permissions": [],
787-
"configurableParams": [
788-
{
789-
"inputType": "textInput",
790-
"commandKey": "MY_RESOURCE_GROUP_NAME",
791-
"title": "Resource Group Name",
792-
"defaultValue": ""
793-
},
794-
{
795-
"inputType": "textInput",
796-
"commandKey": "MY_AZ_CLUSTER_NAME",
797-
"title": "AKS Cluster Name",
798-
"defaultValue": ""
799-
}
800-
]
786+
"permissions": []
801787
}
802788
},
803789
{

0 commit comments

Comments
 (0)