Share via

AKS and Python kubernetes_asyncio

Mike Pfaffenberger 1 Reputation point
2021-07-28T17:26:38.857+00:00

Hi all,

I am trying to use the library dask-kubernetes to orchestrate running a Dask cluster on AKS. Under the hood, dask-kubernetes uses the Python library kubernetes_asyncio, which is simply just an async version of the Python kubernetes library.

Unfortunately, the kubernetes_asyncio library does not support Azure Token based authentication for authenticating with k8s, while the non-async version of the library does -- but dask-kubernetes is heavily tied to the asyncio version.

Is there any way to authenticate with an AKS cluster using one of the following authentication protocols?

  • user-token
  • oidc-token
  • user-password

Thank you in advance!

Azure Kubernetes Service
Azure Kubernetes Service

An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.