I tried to send all pods’ log to elasticsearch but after enabled I am seeing these warning
- We will use fluentd to collect stdout/stderr logs from each container and the log files which exist under path /var/log/containers/ on each host. The logs can be shipped to a target you configure below.
- Logging is disabled at current cluster.
How can I turn on logging on the current cluster?
k8s v1.17.2 on bare metal running Centos 7.7 started by rancher