Sign inSign up

nickbernstein/fluentd-kubernetes-daemonset-syslog-cri

By nickbernstein

•Updated over 2 years ago

Image
0

317

nickbernstein/fluentd-kubernetes-daemonset-syslog-cri repository overview

Based on https://github.com/fluent/fluentd-kubernetes-daemonset/blob/master/docker-image/v1.16/arm64/debian-syslog/Dockerfile⁠

Dockerfile:

# Use fluentd's Kubernetes daemonset image as the base
FROM fluent/fluentd-kubernetes-daemonset:v1-debian-syslog

# Install the fluent-plugin-parser-cri gem
RUN gem install fluent-plugin-parser-cri --no-document

# Copy any additional configuration files, plugins, or other necessary files

# Set the entrypoint (optional, only if you need to customize the startup behavior)
# ENTRYPOINT ["fluentd"]

# Note: There's no need to change the CMD unless you have a specific reason,
# as the base image already defines an appropriate CMD for running Fluentd.

All this does is add the cri gemfile to allow parsing of oci formatted logs.

specify:

env:
  - name:  SYSLOG_HOST
    value: "1.2.3.4"
   - name:  SYSLOG_PORT
    value: "514"
   - name:  SYSLOG_PROTOCOL
    value: "udp"
  - name:  FLUENT_CONTAINER_TAIL_PARSER_TYPE
    value: "cri"

Tag summary

Content type

Image

Digest

sha256:25e07555d…

Size

119.4 MB

Last updated

over 2 years ago

docker pull nickbernstein/fluentd-kubernetes-daemonset-syslog-cri