Skip to content

Commit a636eb7

Browse files
authored
Merge pull request #272243 from wchigit/rm-aks-cli
{Service Connector} Remove AKS CLI
2 parents f79a71d + 2072490 commit a636eb7

File tree

6 files changed

+8
-149
lines changed

6 files changed

+8
-149
lines changed

.openpublishing.redirection.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3989,6 +3989,11 @@
39893989
"source_path_from_root":"/articles/container-instances/availability-zones.md",
39903990
"redirect_url":"/azure/reliability/reliability-containers",
39913991
"redirect_document_id":false
3992-
}
3992+
},
3993+
{
3994+
"source_path_from_root":"/articles/service-connector/quickstart-cli-aks-connection.md",
3995+
"redirect_url":"/azure/service-connector/quickstart-portal-aks-connection",
3996+
"redirect_document_id":false
3997+
}
39933998
]
39943999
}

articles/service-connector/index.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ landingContent:
4949
url: quickstart-cli-app-service-connection.md
5050
- text: Create a connection in Azure Spring Apps
5151
url: quickstart-cli-spring-cloud-connection.md
52-
- text: Create a connection in Azure Kubernetes Service (AKS)
53-
url: quickstart-cli-aks-connection.md
5452
- text: Create a connection in Container Apps
5553
url: quickstart-cli-container-apps.md
5654
- title: Common tasks

articles/service-connector/quickstart-cli-aks-connection.md

Lines changed: 0 additions & 106 deletions
This file was deleted.

articles/service-connector/toc.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ items:
4444
items:
4545
- name: Azure portal
4646
href: quickstart-portal-aks-connection.md
47-
- name: Azure CLI
48-
href: quickstart-cli-aks-connection.md
4947
- name: Tutorials
5048
expanded: false
5149
items:

articles/service-connector/tutorial-python-aks-keyvault-csi-driver.md

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,7 @@ Learn how to connect to Azure Key Vault using CSI driver in an Azure Kubernetes
7575
7676
## Create a service connection with Service Connector
7777
78-
Create a service connection between an AKS cluster and an Azure Key Vault using the Azure portal or the Azure CLI.
79-
80-
### [Portal](#tab/azure-portal)
78+
Create a service connection between an AKS cluster and an Azure Key Vault using the Azure portal.
8179
8280
1. Open your **Kubernetes service** in the Azure portal and select **Service Connector** from the left menu.
8381
@@ -96,21 +94,6 @@ Create a service connection between an AKS cluster and an Azure Key Vault using
9694
9795
:::image type="content" source="./media/aks-tutorial/kubernetes-resources.png" alt-text="Screenshot of the Azure portal, viewing kubernetes resources created by Service Connector.":::
9896
99-
### [Azure CLI](#tab/azure-cli)
100-
101-
Run the following Azure CLI command to create a service connection to an Azure Key Vault.
102-
103-
```azurecli
104-
az aks connection create keyvault --enable-csi
105-
```
106-
107-
Provide the following information as prompted:
108-
109-
* **Source compute service resource group name:** the resource group name of the AKS cluster.
110-
* **AKS cluster name:** the name of your AKS cluster that connects to the target service.
111-
* **Target service resource group name:** the resource group name of the Azure Key Vault.
112-
* **Key vault name:** the Azure Key Vault that is connected.
113-
11497
---
11598
11699
## Test the connection

articles/service-connector/tutorial-python-aks-storage-workload-identity.md

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,7 @@ Learn how to create a pod in an AKS cluster, which talks to an Azure storage acc
9494
9595
## Create service connection with Service Connector
9696
97-
Create a service connection between an AKS cluster and an Azure storage account using the Azure portal or the Azure CLI.
98-
99-
### [Portal](#tab/azure-portal)
97+
Create a service connection between an AKS cluster and an Azure storage account using the Azure portal.
10098
10199
1. Open your **Kubernetes service** in the Azure portal and select **Service Connector** from the left menu.
102100
@@ -124,23 +122,6 @@ Create a service connection between an AKS cluster and an Azure storage account
124122
125123
:::image type="content" source="./media/aks-tutorial/kubernetes-resources.png" alt-text="Screenshot of the Azure portal, viewing kubernetes resources created by Service Connector.":::
126124
127-
### [Azure CLI](#tab/azure-cli)
128-
129-
Run the following Azure CLI command to create a service connection to the Azure storage account, providing the following information:
130-
131-
```azurecli
132-
az aks connection create storage-blob \
133-
--workload-identity <user-identity-resource-id>
134-
```
135-
136-
Provide the following information as prompted:
137-
138-
* **Source compute service resource group name:** the resource group name of the AKS cluster.
139-
* **AKS cluster name:** the name of your AKS cluster that connects to the target service.
140-
* **Target service resource group name:** the resource group name of the Azure storage account.
141-
* **Storage account name:** the Azure storage account that is connected.
142-
* **User-assigned identity resource ID:** the resource ID of the user-assigned identity used to create workload identity.
143-
144125
---
145126
146127
## Clone sample application

0 commit comments

Comments
 (0)