how to config logging when creating cluster with kubeadm

8/31/2017

I'm using kubeadm to setup my kubernete cluster, and trying to config logging with Elasticsearch and Kibana

According to this tutorial, I need to update cluster configuration, such as KUBE_LOGGING_DESTINATION, KUBE_ENABLE_NODE_LOGGING, and in this tutorial, I don't know where should I apply there configuration at which step.

-- Yuwen Yan
elasticsearch
kibana
kubeadm
kubernetes
logging

1 Answer

10/22/2017

If you are looking to use elasticsearch logging, you should look at https://github.com/kubernetes/kubernetes/tree/master/cluster/addons/fluentd-elasticsearch. Just read the README, and deploy the YAML files.

-- KillerByte
Source: StackOverflow