kube-controller-manager is not appearing on Google Kubernetes Engine

1/22/2019

Folks, I am using Google Cloud Kubernetes Engine. I want to browse through some of the logs that should be available namely kube-controller-manager logs. I am certain I have done this recently on the same setup but I can't figure it out now. So here's the thing:

  1. There's no component anyhow related to kube-controller-manager in the kube-system namespace. I have tried: kubectl get pods -namespace=kube-system
  2. There's no logs if I am connecting to the VM running k8s node (any of them, I tried all) in /var/log related to kube-controller-manager. Connected to all nodes (VMs) via SSH and tried to browse /var/logs/
  3. There seem to be only one manifest in /etc/kubernetes/manifests and it's kube-proxy one. I was expecting to have kube-controller-manager and a few others to be in that directory.

Can someone point me to a place where I should be looking? Has this been changed recently on GKE?

-- ninjaboy
google-kubernetes-engine
kube-controller-manager
kubernetes
logging

1 Answer

1/23/2019

The kube-controller-manager runs as a pod on the master and is managed by Google, therefore it is not accessible to the public. I do not believe that has been changed recently if ever.

-- dany L
Source: StackOverflow