Kubernetes Tip: Know Your Provider.

We sometimes have different K8S clusters managed or created by different providers such as EKS, AKS, GKE, Kudeadm etc. Would be great to know the provider ID either for automation or debugging purposes.

I have 2 clusters one managed by EKS and another created by Kubeadm. Let’s take a look at how they configure provider ids.

Provider ID from EKS.

Clearly it is AWS. You should observe something similar for GKE & AKS.

Note: Have masked Node Name on Purpose.

Provider ID from Kubeadm

kubeadm does not set provider id by default. One needs to configure as part of setup process as described in URL below.

https://blog.scottlowe.org/2019/08/14/setting-up-aws-integrated-kubernetes-115-cluster-kubeadm/

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store