-
Notifications
You must be signed in to change notification settings - Fork 318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cluster managed identity support for system-assigned-identity #993
Comments
Related Issue #803 |
Any news or an approximate ETA for this? |
https://azure.microsoft.com/en-us/updates/managed-identities-integration-in-azure-kubernetes-service-aks-is-now-in-preview/ - it seems to be live very soon. However, I see that it does only support System-assigned MI. If designed properly this should not cause any problems like requiring access management on any resource outside of the MC_ RG. |
If we provision an AKS cluster today with MSI's AND keep the SPN for required services like monitoring etc. Can we AVOID a cluster re-deployment when the SPN dependency is no longer required? |
@norshtein Can you confirm? will an upgrade clean up the SPN and have the addons refer to the UA MI ? |
After SPN dependency is no longer required, it's fine if you don't update current cluster. But disabling and re-enabling addons is needed, the purpose of this operation is to recreate addon pods and use new addon version to make addons use managed identity to authenticate. During this period, your addons will be offline for sometime but the cluster will keep online. If you don't disable and re-enable addons, your addons will still use SPN to authenticate and they will not work correctly after SPN expires. |
@sauryadas yes, an upgrading operation will clean up the SPN and have the addons refer to the UA MI. |
I tested this scenario today:
It has to be a real SP - anything else, like a wrong password, will fail (it means the CLI or the RP does some sort of checking?). But once the cluster is running, it works fine (so far as I can test). It creates |
Managed identity is now GA, closing issue as a result. |
The guide is not updated yet, will it come soon? |
Document update will be live by Monday, possibly earlier. Thanks for checking! |
Very brief question on this, according to the terraform provider docs a route table is required for AKS deployment, but the permissions section linked from the docs page https://docs.microsoft.com/en-us/azure/aks/kubernetes-service-principal#delegate-access-to-other-azure-resources doesn't mention anything specifically about configuring routes. Should I open a new issue somewhere on this? I just don't feel like the documentation on the AKS route table is very clear |
@sauryadas "For creating and using your own VNet, static IP address, or attached Azure disk where the resources are outside of the MC_* resource group, use the PrincipalID of the cluster to perform a role assignment. For more information on role assignment, see Delegate access to other Azure resources." |
@flamingboo you would create the cluster with the byo vnet and then perform the role assignment. Give it a shot and let us know |
ok good. will you keep you updated. |
Is there an ARM Template equivalent of the --enable-managed-identity command? |
Under the resource at the top level you just need ...
|
Fantastic, thank you! |
Are there plans for this to come to the other clouds (China, specifically)? |
@j03wang yes this feature is being developed for access in AzChina and AzGov. When those have released those labels will be placed on this ticket. cc @thomas1206 / @TomGeske |
@jluk Thanks! Is there a time range I can expect this to come in? |
@j03wang: MSI should be availble in China today. Do you see any error message while creating an MSI enabled cluster? |
@TomGeske Yes - I'm seeing this: Creating cluster having identity type 'SystemAssigned' is not allowed in specified location chinanorth2 |
let me double check and come back. |
@j03wang: I just checked. MSI. Current ETA for availability in China is mid-June. |
@TomGeske Thanks for checking. Might there be a preview flag or whitelist of sorts for China before then? |
MSI support for AKS isn't deployed to China region, yet. Whitelisting is mainly used in public cloud regions only. |
Just as a heads-up Managed Identity is now available in China. |
Tracking issue for support of system assigned Managed Identity within AKS.
The text was updated successfully, but these errors were encountered: