Skip to content

jcmoraisjr/udplog-d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

udplog-d

Bare minimum image to pipe logs from an UDP port to stdout. Meant to be run as a sidecar container.

Docker Repository on Quay

Use cases

  • Pipe logs from daemons that cannot log to stdout
  • Separate stdout logs in distinct containers

Usage

Running as a sidecar container on k8s. Default UDP port is 1514:

  ...
  template:
    spec:
      containers:
      - name: syslog
        image: quay.io/jcmoraisjr/udplog-d

Changing to UDP port 2514:

  ...
  template:
    spec:
      containers:
      - name: syslog
        image: quay.io/jcmoraisjr/udplog-d
        args: ["2514"]