apiVersion: extensions/v1beta1kind: DaemonSetmetadata:name: fluent-bitnamespace: logginglabels:app: mls-fluentbit-logging-mls-fluentbitspec:updateStrategy:type: RollingUpdatetemplate:metadata:labels:app: mls-fluentbit-logging-mls-fluentbitannotations:checksum/config: 5b9eaf4c75b8d5294d2e0b95e901466ad1a2c1023d3daa89ccf7be4120593a2dspec:serviceAccountName: logging-admin-sacontainers:- name: fluent-bitimage: "hub.docker.prod.walmart.com/fluent/fluent-bit:0.14.8"imagePullPolicy: "Always"env:[]resources:limits:memory: 1Girequests:cpu: 2memory: 512Miports:- name: metricscontainerPort: 2020protocol: TCPvolumeMounts:- name: varlogmountPath: /var/log- name: varlibdockercontainersmountPath: /var/lib/docker/containersreadOnly: true- name: configmountPath: /fluent-bit/etc/fluent-bit.confsubPath: fluent-bit.conf- name: journald-socket1mountPath: /run/systemd/journal/readOnly: true- name: journald-socket2mountPath: /var/run/systemd/journalreadOnly: trueterminationGracePeriodSeconds: 10volumes:- name: varloghostPath:path: /var/log- name: varlibdockercontainershostPath:path: /var/lib/docker/containers- name: journald-socket1hostPath:path: /run/systemd/journal/- name: journald-socket2hostPath:path: /var/run/systemd/journal- name: configconfigMap:name: mls-fluentbit-logging-mls-fluentbit-config
apiVersion: v1
kind: ConfigMap
metadata:
name: mls-fluentbit-logging-mls-fluentbit-config
namespace: logging
labels:
app: mls-fluentbit-logging-mls-fluentbit
data:
fluent-bit.conf: |-
[SERVICE]
Flush 1
Daemon Off
Log_Level debug
HTTP_Server On
HTTP_Listen 0.0.0.0
HTTP_Port 2020
[INPUT]
Name systemd
Tag host.*
Path /run/systemd/journal/
[OUTPUT]
Name stdout
Match *
parsers.conf: |-
[PARSER]
Name docker
Format json
Time_Keep true
Time_Key time
Time_Format %Y-%m-%dT%H:%M:%S.%L
Decode_Field_As escaped_utf8 log
journalctl -u kubelet.service --
You received this message because you are subscribed to the Google Groups "Fluent-Bit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fluent-bit+...@googlegroups.com.
To post to this group, send email to fluen...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fluent-bit/4f505a83-ba07-4baf-9cd2-3ead795b8912%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.