How to get advertise-address of kubernetes apiserver from a pod?

5/24/2019

I have installed Kubernetes 1.12 using kubeadm.

Is there a way to get advertise-address of kubernetes api-server from a pod?

-- shabbir
kubectl
kubernetes

1 Answer

5/24/2019

Generally you don't need that. From pods Kubernetes API is always available using URL https://kubernetes.default

-- Vasily Angapov
Source: StackOverflow