How to monitor the entire container state in kubernetes?

advertisements

At present, there are lots of containers running in kubernetes cluster, is there any good solution to monitor each container and could sent alert when container is in bad status ?


This is broad subject and a lot depends on what you actually want to monitor, the size of your deployment and the technical expertise available.

The most comprehensive solution is Prometheus. It comes with extensive documentation, getting start guide, etc. The setup is pretty involved though.

Depending on how you have setup your cluster Grafana might already be available. If not, you will need to deploy these addons: Heapster, InfluxDB and Grafana. There are a number of tutorials but again it depends much on your environment.