Checking Kubernetes Config Connector Logs

Checking Kubernetes Config Connector Logs

Disclaimer: This blog contains opinions about Google technology. While I work at Google, this is my personal blog. Opinions stated here are my own, not those of my company.

If you have been using Config Connector, you already know how critical it is to be able to know what is going on. This is reality of working with Kubernetes, with its declarative, idempotent, eventually-consistent and self-healing model: intended things don’t happen immediately. They happen eventually. Therefore, checking Config Connector logs is critical to knowing what is going on.

To check the logs using kubectl logs use:

kubectl logs cnrm-controller-manager-0  --all-containers --namespace=cnrm-system

You can add -f parameter to stream the logs:

kubectl logs cnrm-controller-manager-0  --all-containers --namespace=cnrm-system -f

and explore more kubectl logs parameters with the cheat sheet.

If you would like to check the logs from the UI, follow the following steps from Kubernetes page:

Checking Config Connector logs from Google Cloud Shell UI
Checking Config Connector logs from Google Cloud Shell UI

Choose cnrm-controller-manager workload to view the pods, pick cnrm-controller-manager-0 pod, then click View logs.

From here you get taken to the log viewer where you can filter, view, export and download the logs.

That’s it! Going forward, we’ll explore more topics on this, including exporting your metrics to Prometheus.

3 thoughts on “Checking Kubernetes Config Connector Logs”

  1. hello there and thank you for your info – I have definitely picked up something new from right here. I did however expertise some technical points using this web site, since I experienced to reload the site many times previous to I could get it to load properly. I had been wondering if your web hosting is OK? Not that I am complaining, but sluggish loading instances times will very frequently affect your placement in google and can damage your quality score if ads and marketing with Adwords. Anyway I’m adding this RSS to my email and could look out for a lot more of your respective intriguing content. Ensure that you update this again soon..

  2. I’ve been exploring for a bit for any high quality articles or blog posts on this kind of area . Exploring in Yahoo I at last stumbled upon this website. Reading this information So i am happy to convey that I’ve an incredibly good uncanny feeling I discovered exactly what I needed. I most certainly will make certain to do not forget this site and give it a glance regularly.

  3. We’re a group of volunteers and opening a new scheme in our community. Your website offered us with valuable information to work on. You’ve done a formidable job and our whole community will be grateful to you.

Leave a Comment