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:
kube-controller-manager
in the kube-system
namespace. I have tried: kubectl get pods -namespace=kube-system
/var/log
related to kube-controller-manager
. Connected to all nodes (VMs) via SSH and tried to browse /var/logs/
/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?
Kube-controller-manager runs in master nodes and it takes care of the different controller processes. These controllers watch the status of the different services deployed through the API and take corrective actions in case real and desired status don't match.
The kube-controller-manager runs as a pod in your control plane. It's config file is located in /etc/kubernetes/manifests , a kube-controller-manager. yaml .
The Kubernetes controller manager is a daemon that embeds the core control loops shipped with Kubernetes. In applications of robotics and automation, a control loop is a non-terminating loop that regulates the state of the system.
You can find controllers that run outside the control plane, to extend Kubernetes. Or, if you want, you can write a new controller yourself. You can run your own controller as a set of Pods, or externally to Kubernetes.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With