Skip to content

Commit c6a67ca

Browse files
Merge pull request #288216 from kgremban/oct10-k8s
remove extra connectedk8s steps
2 parents 9af83fa + f8d6f35 commit c6a67ca

File tree

2 files changed

+4
-25
lines changed

2 files changed

+4
-25
lines changed

articles/iot-operations/deploy-iot-ops/howto-enable-secure-settings.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ This article provides instructions for enabling secure settings if you didn't do
2323

2424
* Azure CLI installed on your development machine. This scenario requires Azure CLI version 2.64.0 or higher. Use `az --version` to check your version and `az upgrade` to update if necessary. For more information, see [How to install the Azure CLI](/cli/azure/install-azure-cli).
2525

26-
* The Azure IoT Operations extension for Azure CLI. Use the following command to add the extension or update it to the latest version:
26+
* The latest versions of the following extensions for Azure CLI:
2727

2828
```azurecli
2929
az extension add --upgrade --name azure-iot-ops
30+
az extension add --upgrade --name connectedk8s
3031
```
3132

3233
## Configure cluster for workload identity
@@ -46,18 +47,6 @@ az connectedk8s show --name <CLUSTER_NAME> --resource-group <RESOURCE_GROUP> --q
4647
4748
Use the following steps to enable workload identity on an existing connected K3s cluster:
4849

49-
1. Remove the existing connected k8s cli if any
50-
```azurecli
51-
az extension remove --name connectedk8s
52-
```
53-
54-
1. Download and install a preview version of the `connectedk8s` extension for Azure CLI.
55-
56-
```azurecli
57-
curl -L -o connectedk8s-1.10.0-py2.py3-none-any.whl https://github.com/AzureArcForKubernetes/azure-cli-extensions/raw/refs/heads/connectedk8s/public/cli-extensions/connectedk8s-1.10.0-py2.py3-none-any.whl
58-
az extension add --upgrade --source connectedk8s-1.10.0-py2.py3-none-any.whl
59-
```
60-
6150
1. Use the [az connectedk8s update](/cli/azure/connectedk8s#az-connectedk8s-update) command to enable the workload identity feature on the cluster.
6251

6352
```azurecli

articles/iot-operations/deploy-iot-ops/howto-prepare-cluster.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,11 @@ To prepare your Azure Arc-enabled Kubernetes cluster, you need:
3737

3838
* Azure CLI version 2.64.0 or newer installed on your development machine. Use `az --version` to check your version and `az upgrade` to update if necessary. For more information, see [How to install the Azure CLI](/cli/azure/install-azure-cli).
3939

40-
* The latest version of the Azure IoT Operations extension for Azure CLI. Use the following command to add the extension or update it to the latest version:
40+
* The latest version of the following extensions for Azure CLI:
4141

4242
```bash
4343
az extension add --upgrade --name azure-iot-ops
44+
az extension add --upgrade --name connectedk8s
4445
```
4546

4647
* Hardware that meets the system requirements:
@@ -246,17 +247,6 @@ To connect your cluster to Azure Arc:
246247
```azurecli
247248
az group create --location $LOCATION --resource-group $RESOURCE_GROUP --subscription $SUBSCRIPTION_ID
248249
```
249-
1. Remove the existing connected k8s cli if any
250-
```azurecli
251-
az extension remove --name connectedk8s
252-
```
253-
254-
1. Download and install a preview version of the `connectedk8s` extension for Azure CLI.
255-
256-
```azurecli
257-
curl -L -o connectedk8s-1.10.0-py2.py3-none-any.whl https://github.com/AzureArcForKubernetes/azure-cli-extensions/raw/refs/heads/connectedk8s/public/cli-extensions/connectedk8s-1.10.0-py2.py3-none-any.whl
258-
az extension add --upgrade --source connectedk8s-1.10.0-py2.py3-none-any.whl
259-
```
260250
261251
1. Use the [az connectedk8s connect](/cli/azure/connectedk8s#az-connectedk8s-connect) command to Arc-enable your Kubernetes cluster and manage it as part of your Azure resource group:
262252

0 commit comments

Comments
 (0)