Kubernetes pipe console log from main container to the sidecar

7/11/2019

I manage to use Fluentd sidecar in Kubernetes statefulset using tomcat logs. Now with ASP.Net Core Serilog, I am scratching my head how to pipe the console log to Fluentd sidecar? How the pod / sts spec looks like without physical log files? How to pipe the Serilog console log from main container to the sidecar?

-- Kok How Teh
console.log
fluentd
kubernetes
kubernetes-statefulset
logging

0 Answers