You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/iot-operations/deploy-iot-ops/howto-prepare-cluster.md
+3-18Lines changed: 3 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -281,7 +281,7 @@ To prepare a TKGm workload cluster:
281
281
```bash
282
282
mkdir ~/.kube
283
283
sudo cp /etc/kubernetes/admin.conf ~/.kube/config
284
-
sudo chown <user>:<user>~/.kube/config
284
+
sudo chown <user>:<group>~/.kube/config
285
285
kubectl get pods -A
286
286
```
287
287
@@ -303,12 +303,6 @@ If at any point you get an error that says *Your device is required to be manage
303
303
1. Register the required resource providers in your subscription.
304
304
305
305
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
-
312
306
```azurecli
313
307
az provider register -n "Microsoft.ExtendedLocation"
314
308
az provider register -n "Microsoft.Kubernetes"
@@ -325,16 +319,7 @@ az provider register -n "Microsoft.SecretSyncController"
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.
338
323
339
324
1. Get the cluster's issuer URL.
340
325
@@ -349,7 +334,7 @@ Save the output of this command to use in the next steps.
349
334
350
335
351
336
```azurecli
352
-
kubectl edit cluster <WORKLOAD_CLUSTER_NAME>
337
+
kubectl edit cluster <CLUSTER_NAME>
353
338
```
354
339
355
340
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