12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- ---
- # Source: loki-stack/charts/fluent-bit/templates/daemonset.yaml
- apiVersion: apps/v1
- kind: DaemonSet
- metadata:
- name: loki-fluent-bit-loki
- namespace: loki
- labels:
- app: fluent-bit-loki
- chart: fluent-bit-0.0.2
- release: loki
- heritage: Tiller
- annotations:
- {}
-
- spec:
- selector:
- matchLabels:
- app: fluent-bit-loki
- release: loki
- updateStrategy:
- type: RollingUpdate
- template:
- metadata:
- labels:
- app: fluent-bit-loki
- release: loki
- annotations:
- checksum/config: b15de805dfc12b6609c7b03af98727686ba86afc16c9f8956324777b7e85138c
- prometheus.io/path: /api/v1/metrics/prometheus
- prometheus.io/port: "2020"
- prometheus.io/scrape: "true"
-
- spec:
- serviceAccountName: loki-fluent-bit-loki
- containers:
- - name: fluent-bit-loki
- image: "grafana/fluent-bit-plugin-loki:0.1"
- imagePullPolicy: IfNotPresent
- volumeMounts:
- - name: config
- mountPath: /fluent-bit/etc
- - name: run
- mountPath: /run/fluent-bit
- - mountPath: /var/log
- name: varlog
- - mountPath: /var/lib/docker/containers
- name: varlibdockercontainers
- readOnly: true
-
- ports:
- - containerPort: 2020
- name: http-metrics
- resources:
- limits:
- memory: 100Mi
- requests:
- cpu: 100m
- memory: 100Mi
-
- nodeSelector:
- {}
-
- affinity:
- {}
-
- tolerations:
- - effect: NoSchedule
- key: node-role.kubernetes.io/master
-
- terminationGracePeriodSeconds: 10
- volumes:
- - name: config
- configMap:
- name: loki-fluent-bit-loki
- - name: run
- hostPath:
- path: /run/fluent-bit
- - hostPath:
- path: /var/log
- name: varlog
- - hostPath:
- path: /var/lib/docker/containers
- name: varlibdockercontainers
-
|