stefanprodan / podinfo

Go microservice template for Kubernetes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Whether to consider adding log collection?

yangwenmai opened this issue · comments

use elk on k8s.

ELK is not an option for Kubernetes, the official way of doing log collection is with Fluentd and based on your cloud vendor you would use Cloudwatch or Stakdriver. For on-prem/bare-metal setup you would use ElasticSearch.

From an application perspective as log as you log in JSON format like podinfo does, Fluentd will push those logs into whatever backend you use.