Skip to content

kincl/kubernetes-logging-syslog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes Container Log Syslog Forwarder

This container is designed to run as a DaemonSet and forwards pod logs to a syslog listener for all pods running on a node. Log forwarding is implemented with RSYSLOG and uses omfwd module.

Configuration Options

Configuration can be done with environment variables:

  • RSYSLOG_TARGET - Remote syslog listener
  • RSYSLOG_PORT - Remote syslog listener port
  • RSYSLOG_PROTOCOL - Remote syslog listener protocol (udp/tcp)

Example DaemonSet

DaemonSet example requires a privileged SCC if using k8s v1.5+ or OpenShift and probably needs rsyslog already installed in order to use /var/lib/rsyslog on the host as the place for the file state directory

About

Docker image that forwards Kubernetes pod logs to syslog

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published