Connecting to AKS API (via HTTP) from an Azure VM

11/13/2019

I would like to connect to AKS API from a script on Azure VM inorder to scrape some metrics, check some stats, etc of the cluster.

Is there any approach (like an Azure policy or role and attaching it to VM) other than creating an user in azure AD or a service account in the AKS with clusterRole bound to it and referencing the certs/tokens from VM? Thank you

-- Prathisrihas Reddy
azure-container-service
azure-kubernetes
kubernetes

0 Answers