Skip to content

Commit

Permalink
Documentation update - solves issue #4132
Browse files Browse the repository at this point in the history
Adding userAssignedIdentityID of the kubelet identity solves the problem with multiple parallel node pool identities - issue #4132
  • Loading branch information
thesse1 committed Dec 21, 2023
1 parent 0f5ff5f commit df122b0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/tutorials/azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ For the managed identity, the contents of `azure.json` should be similar to this
"tenantId": "01234abc-de56-ff78-abc1-234567890def",
"subscriptionId": "01234abc-de56-ff78-abc1-234567890def",
"resourceGroup": "MyDnsResourceGroup",
"useManagedIdentityExtension": true
"useManagedIdentityExtension": true,
"userAssignedIdentityID": "01234abc-de56-ff78-abc1-234567890def"
}
```

Expand All @@ -151,6 +152,8 @@ For this process, you will need to get the kubelet identity:
```bash
$ PRINCIPAL_ID=$(az aks show --resource-group $CLUSTER_GROUP --name $CLUSTERNAME \
--query "identityProfile.kubeletidentity.objectId" --output tsv)
$ IDENTITY_CLIENT_ID=$(az aks show --resource-group $CLUSTER_GROUP --name $CLUSTERNAME \
--query "identityProfile.kubeletidentity.clientId" --output tsv)
```

#### Assign rights for the Kubelet identity
Expand Down Expand Up @@ -178,7 +181,8 @@ cat <<-EOF > /local/path/to/azure.json
"tenantId": "$(az account show --query tenantId -o tsv)",
"subscriptionId": "$(az account show --query id -o tsv)",
"resourceGroup": "$AZURE_DNS_ZONE_RESOURCE_GROUP",
"useManagedIdentityExtension": true
"useManagedIdentityExtension": true,
"userAssignedIdentityID": "$IDENTITY_CLIENT_ID"
}
EOF
```
Expand Down

0 comments on commit df122b0

Please sign in to comment.