github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/fluent-operator/templates/fluentbit-clusterinput-systemd.yaml (about) 1 {{- if .Values.Kubernetes -}} 2 {{- if .Values.fluentbit.enable -}} 3 {{- if .Values.fluentbit.input.systemd.enable -}} 4 apiVersion: fluentbit.fluent.io/v1alpha2 5 kind: ClusterInput 6 metadata: 7 name: {{ .Values.containerRuntime }} 8 labels: 9 fluentbit.fluent.io/enabled: "true" 10 fluentbit.fluent.io/component: logging 11 spec: 12 systemd: 13 tag: service.* 14 path: {{ .Values.fluentbit.input.systemd.path }} 15 db: /fluent-bit/tail/systemd.db 16 dbSync: Normal 17 stripUnderscores: {{ .Values.fluentbit.input.systemd.stripUnderscores | quote }} 18 systemdFilter: 19 {{- if .Values.fluentbit.input.systemd.systemdFilter.enable }} 20 - _SYSTEMD_UNIT={{ .Values.containerRuntime }}.service 21 {{- if .Values.fluentbit.input.systemd.includeKubelet }} 22 - _SYSTEMD_UNIT=kubelet.service 23 {{- end }} 24 {{- if .Values.fluentbit.input.systemd.systemdFilter.filters }} 25 {{- toYaml .Values.fluentbit.input.systemd.systemdFilter.filters | nindent 6 }} 26 {{- end }} 27 {{- end }} 28 storageType: {{ .Values.fluentbit.input.systemd.storageType }} 29 {{- if eq .Values.fluentbit.input.systemd.storageType "filesystem" }} 30 pauseOnChunksOverlimit: {{ .Values.fluentbit.input.systemd.pauseOnChunksOverlimit | quote }} 31 {{- end }} 32 {{- end }} 33 {{- end }} 34 {{- end }}