Created
June 21, 2020 08:30
-
-
Save vamsijakkula/32f376d262d4206dfec8e8bfc819adda to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: DaemonSet | |
metadata: | |
name: fluent-bit | |
labels: | |
app: fluent-bit | |
spec: | |
selector: | |
matchLabels: | |
app: fluent-bit | |
template: | |
metadata: | |
labels: | |
app: fluent-bit | |
spec: | |
containers: | |
- name: fluentd | |
image: fluent/fluent-bit:1.4.5 | |
volumeMounts: | |
- name: varlog | |
mountPath: /var/log | |
- name: varlibdockercontainers | |
mountPath: /var/lib/docker/containers | |
readOnly: true | |
terminationGracePeriodSeconds: 30 | |
volumes: | |
- name: varlog | |
hostPath: | |
path: /var/log | |
- name: varlibdockercontainers | |
hostPath: | |
path: /var/lib/docker/containers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment