Skip to content

Commit 8c5d304

Browse files
committed
Learn Editor: Update howto-prepare-cluster.md
1 parent b484c18 commit 8c5d304

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

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

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ To prepare a TKGm workload cluster:
281281
```bash
282282
mkdir ~/.kube
283283
sudo cp /etc/kubernetes/admin.conf ~/.kube/config
284-
sudo chown <user>:<user> ~/.kube/config
284+
sudo chown <user>:<group> ~/.kube/config
285285
kubectl get pods -A
286286
```
287287

@@ -303,12 +303,6 @@ If at any point you get an error that says *Your device is required to be manage
303303
1. Register the required resource providers in your subscription.
304304

305305

306-
```
307-
Note
308-
This step only needs to be run once per subscription. To register resource providers, you need permission to do the /register/action operation, which is included in subscription Contributor and Owner roles. For more information, see Azure resource providers and types.
309-
```
310-
311-
312306
```azurecli
313307
az provider register -n "Microsoft.ExtendedLocation"
314308
az provider register -n "Microsoft.Kubernetes"
@@ -325,16 +319,7 @@ az provider register -n "Microsoft.SecretSyncController"
325319
az connectedk8s connect --name <CLUSTER_NAME> -l <REGION> --resource-group <RESOURCE_GROUP> --subscription <SUBSCRIPTION_ID> --enable-oidc-issuer --enable-workload-identity --disable-auto-upgrade
326320
```
327321

328-
To prevent unplanned updates to Azure Arc and the system Arc extensions that Azure IoT Operations uses as dependencies, this command disables autoupgrade. Instead, [manually upgrade agents](/azure/azure-arc/kubernetes/agent-upgrade) as needed.
329-
330-
**Important**
331-
332-
If your environment uses a proxy server or Azure Arc Gateway, modify the `az connectedk8s connect` command with your proxy information:
333-
334-
1. Follow the instructions in either **[Connect using an outbound proxy server](/azure/azure-arc/kubernetes/quickstart-connect-cluster)** or **[Onboard Kubernetes clusters to Azure Arc with Azure Arc Gateway](/azure/azure-arc/kubernetes/arc-gateway-simplify-networking)**.
335-
1. Add `169.254.169.254` to the `--proxy-skip-range` parameter of the `az connectedk8s connect` command. **[Azure Device Registry](/editor/meenag16/azure-docs-pr/articles%2Fiot-operations%2Fdeploy-iot-ops%2Fhowto-prepare-cluster.md/docs-editor%2Foverview-iot-operations-1748623408/discover-manage-assets/overview-manage-assets.md)** uses this local endpoint to get access tokens for authorization.
336-
337-
Azure IoT Operations doesn't support proxy servers that require a trusted certificate.
322+
To prevent unplanned updates to Azure Arc and the system Arc extensions that Azure IoT Operations uses as dependencies, this command disables autoupgrade. Instead, [manually upgrade agents](/azure/azure-arc/kubernetes/agent-upgrade) as needed.
338323

339324
1. Get the cluster's issuer URL.
340325

@@ -349,7 +334,7 @@ Save the output of this command to use in the next steps.
349334

350335

351336
```azurecli
352-
kubectl edit cluster <WORKLOAD_CLUSTER_NAME>
337+
kubectl edit cluster <CLUSTER_NAME>
353338
```
354339

355340
1. Add the following content to the `config.yaml` file, replacing the <OIDC_ISSUER_URL> placeholder with your cluster's issuer URL.

0 commit comments

Comments
 (0)