AKS icon indicating copy to clipboard operation
AKS copied to clipboard

[Feature] Azure AD Workload Identity Managed AKS Addon

Open tomkerkhove opened this issue 6 years ago • 127 comments

It would be good to have built-in support for AAD Pod Identity for which we can opt-out during creation of AKS cluster.

By doing that, we could :

  • Assign Azure AD identities to AKS instance and automatically register them inside the cluster
  • Browse the Azure portal to see which Azure AD identities are available inside the cluster

tomkerkhove avatar Mar 09 '20 09:03 tomkerkhove

Currently, we use AAD Pod Identity and would love to use this feature.

sanjeebsarangi avatar Mar 17 '20 07:03 sanjeebsarangi

Please make sure that this is all part of the portal UI as well. As an example the integration with Azure Container Registries exists, but you have to use AZ CLI instead of just clicking on a drop down and adding it.

JohnGalt1717 avatar Apr 10 '20 12:04 JohnGalt1717

Definately agree about that!

tomkerkhove avatar Apr 10 '20 13:04 tomkerkhove

We hear you, portal integration is constantly improving and another wave is in the works. cc @jenetlan

jluk avatar Apr 10 '20 17:04 jluk

With the GA of Managed Identity for AKS Clusters, it has become even more painful(read: role assignments) to install AAD Pod Identity. Would be great to have this feature released soon.

syedhassaanahmed avatar Apr 11 '20 01:04 syedhassaanahmed

@JohnGalt1717 and others - thanks for the feedback :) Just wanted to quickly chime in and let you know that we're actively working on integration between AKS and ACR in portal. We're focusing on setting up that connection when deploying a new AKS cluster to start with - is that what you had in mind or were you thinking more about connecting an ACR to an existing AKS cluster?

jenetlan avatar Apr 13 '20 22:04 jenetlan

@jenetlan I'd like to see both.

Thinking like an Add-ons page after creation that lists all of the addons like ACR (add one or more), AAD-POD identity, Azure Application Gateway, Public IP, Let's Encrypt with integration with Azure DNS, Nginx Ingress, Key Vault, etc linked to Public IP, all in the Addons menu as a start of add-ons that can be configured both with a single line with az aks and in portal on it's on add-ons tab that would allow you to add and pick from a list of available, fill out whatever you need to fill out and you're good to go.

This stuff is incredibly accident prone currently with long list of steps that could be cut down if these were easy to install from CLI and portal and they just setup everything for you automatically.

Better, let 3rd parties also create addons that let them offer other stuff too that directly works with Azure in k8s.

JohnGalt1717 avatar Apr 13 '20 23:04 JohnGalt1717

Fully agreed, thinks like KEDA (keda.sh) would be nice as an add-on as well!

However, the biggest pain for me is still AAD Pod Identity.

tomkerkhove avatar Apr 14 '20 05:04 tomkerkhove

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.

ghost avatar Jul 22 '20 14:07 ghost

@jluk do you have any news about this issue?

gd-asharov avatar Aug 24 '20 12:08 gd-asharov

@jluk Anything on this?

se7enack avatar Sep 11 '20 14:09 se7enack

I see this has moved to public preview. Do we have any docs on this add-on yet?

PixelRobots avatar Dec 01 '20 21:12 PixelRobots

Think I found it. https://docs.microsoft.com/en-us/azure/aks/use-azure-ad-pod-identity

PixelRobots avatar Dec 01 '20 21:12 PixelRobots

This is super helpful and makes it a lot easier, thanks team!

tomkerkhove avatar Dec 02 '20 06:12 tomkerkhove

Welcome. I will close the issue now.

miwithro avatar Dec 02 '20 17:12 miwithro

Is this preview feature available in all regions where AKS is available, or is it a more limited set? It would be nice if preview feature availability by region was documented somewhere. Apologies if it is - I went looking but couldn't find it.

benjamincburns avatar Jan 17 '21 23:01 benjamincburns

Yes it is available in all regions.

miwithro avatar Jan 18 '21 01:01 miwithro

Is there an ETA when this feature will goes GA?

jrauschenbusch avatar Feb 17 '21 06:02 jrauschenbusch

The current implementation of Pod Identity (V1) is currently in Public Preview with CSS support. We are working on Pod Identity (V2) which will leverage the native K8s OIDC federation. Pod Identity V2 will go Public Preview in June 2021. The intention is to take that to GA by end of the calendar year, and then deprecate Pod Identity V1.

miwithro avatar Feb 17 '21 12:02 miwithro

What about GA for V1? Is this in plans or need to wait for V2?

PiotrZalewski-TomTom avatar Feb 17 '21 14:02 PiotrZalewski-TomTom