Page MenuHomePhorge

fluentd-daemonset.yaml
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

fluentd-daemonset.yaml

{{- if not .Values.openshift -}}
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: fluentd
namespace: kube-system
labels:
app: fluentd-logging
version: v1
kubernetes.io/cluster-service: "true"
spec:
selector:
matchLabels:
name: fluentd-logging
version: v1
kubernetes.io/cluster-service: "true"
template:
metadata:
annotations:
checksum/config: {{ include (print $.Template.BasePath "/fluentd-configmap.yaml") . | sha256sum }}
labels:
name: fluentd-logging
version: v1
kubernetes.io/cluster-service: "true"
spec:
tolerations:
- key: node-role.kubernetes.io/master
effect: NoSchedule
containers:
- name: fluentd
image: grafana/fluent-plugin-loki:main
command:
- fluentd
- -v
- -p
- /fluentd/plugins
securityContext:
runAsNonRoot: false
# Required to read logs from /var/log
runAsUser: 0
resources:
limits:
memory: 200Mi
requests:
cpu: 100m
memory: 200Mi
volumeMounts:
- name: varlog
mountPath: /var/log
- name: config
mountPath: /etc/fluent
terminationGracePeriodSeconds: 30
volumes:
- name: varlog
hostPath:
path: /var/log
- name: config
configMap:
name: fluentd-logging
{{- end }}

File Metadata

Mime Type
text/plain
Expires
Fri, Apr 24, 12:46 PM (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18896676
Default Alt Text
fluentd-daemonset.yaml (1 KB)

Event Timeline