Where does k8s master server resides?

3/25/2020

I have a kubectl installed on the my local system. I connect to K8S running on GCP. Where does my k8s master server run ? On my local machine or on GCP?

-- Darshan Naik
google-cloud-platform
kubernetes

2 Answers

3/25/2020

In GCP. If you mean GKE specifically, it is running on special magic internal GKE systems you can't see directly.

-- coderanger
Source: StackOverflow

3/25/2020

It runs on GCP in a bunch of VMs managed by Google. Kubectl is a client tool using which you connect to the cluster from your local system. Kubectl uses a config file which has the address of the remote kubernetes master.

-- Arghya Sadhu
Source: StackOverflow