Logging events in Kubernetes cluster

3/31/2017

Iam new to Kubernetes , i have to create a logging mechanism which logs various pod lifecycle events happening in Kubernetes Cluster . Can any one tell how shall i proceed ?

-- Learner
containers
docker
kubernetes

1 Answer

3/31/2017

You are looking for the ELK stack: Elasticsearch, Logstash, Kibana (or EFK if using Fluentd). There is a tutorial here: https://kubernetes.io/docs/tasks/debug-application-cluster/logging-elasticsearch-kibana/

Unfortunately this is not a trivial. Google the terms above, experiment and learn. Good luck :)

-- Janos Lenart
Source: StackOverflow