How to monitor all container status in kubernetes?

2/9/2017

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 ?

-- zulv
containers
kubernetes
monitor

2 Answers

2/10/2017

agree with Janos. i use the grafana, heapster, influx.

ill add that you need to rethink you monitoring and should focus on monitoring the service that the containers make up vs just the containers themselves.

Here is some other material that may help with understanding that:

good luck

-- JamStar
Source: StackOverflow

2/9/2017

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.

-- Janos Lenart
Source: StackOverflow