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/aks/use-managed-identity.md
+51Lines changed: 51 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -319,6 +319,57 @@ A successful cluster creation using your own kubelet managed identity contains t
319
319
},
320
320
```
321
321
322
+
### Update an existing cluster using kubelet identity (Preview)
323
+
324
+
Update kubelet identity on an existing cluster with your existing identities.
325
+
326
+
#### Install the `aks-preview` Azure CLI
327
+
328
+
You also need the *aks-preview* Azure CLI extension version 0.5.64 or later. Install the *aks-preview* Azure CLI extension by using the [az extension add][az-extension-add] command. Or install any available updates by using the [az extension update][az-extension-update] command.
329
+
330
+
```azurecli-interactive
331
+
# Install the aks-preview extension
332
+
az extension add --name aks-preview
333
+
334
+
# Update the extension to make sure you have the latest version installed
335
+
az extension update --name aks-preview
336
+
```
337
+
#### Updating your cluster with kubelet identity (Preview)
338
+
339
+
Now you can use the following command to update your cluster with your existing identities. Provide the control plane identity id via `assign-identity` and the kubelet managed identity via `assign-kubelet-identity`:
340
+
341
+
```azurecli-interactive
342
+
az aks update \
343
+
--resource-group myResourceGroup \
344
+
--name myManagedCluster \
345
+
--enable-managed-identity \
346
+
--assign-identity <identity-id> \
347
+
--assign-kubelet-identity <kubelet-identity-id>
348
+
```
349
+
350
+
A successful cluster update using your own kubelet managed identity contains the following output:
0 commit comments