Forum Discussion

mladents's avatar
mladents
Copper Contributor
Mar 22, 2019

LogAnalytics workspace - aks logs

Hello,

 

we currently use azure aks and have a log workspace for logs from that cluster.

 

Is it possible to set up more detailed access permissions, for example, to ship logs from a (aks cluster applications) namespace to a specific log analytics workspace? The idea here is to configure user's access to the logs from their apps/namespace only, not to have access to all cluster logs.

 

Tried with azure cli, but it looks like that you can assign log workspace per cluster only.

 

Thanks,

 

Best regards,

Mladen.

 

  • Hi Mladen,

    We are working these days on exactly that. The current resource-centric isn't working right now on AKS clusters as the logs are not tagged with the AKS resource ID. This supposed to be fixed in few weeks. Once it is fixed, you would be able to use the resource-based RBAC to define per-cluster RBAC.
    Right now, we don't plan to support per-namespace as namespaces are internal Kube entity that doesn't receive Azure RBAC assignments. We consider options for the future.

    Thanks,
    Meir
      • Meir_Mendelovich's avatar
        Meir_Mendelovich
        Icon for Microsoft rankMicrosoft

        miyamotooo,

         

        There was lots of progress 🙂

        Cluster level RBAC is working and we have many customers that are using it.

        We are working on namespace level RBAC but it would take few more months to complete it end-to-end.

         

        Thanks,

        Meir 😆

Resources