# Source: promtail/templates/daemonset.yaml apiVersion: apps/v1 kind: DaemonSet metadata: name: promtail namespace: vynil-monitor labels: helm.sh/chart: promtail-6.15.4 app.kubernetes.io/name: promtail app.kubernetes.io/instance: promtail app.kubernetes.io/version: "2.9.3" app.kubernetes.io/managed-by: Helm annotations: configmap.reloader.stakater.com/reload: promtail spec: selector: matchLabels: app.kubernetes.io/name: promtail app.kubernetes.io/instance: promtail updateStrategy: {} template: metadata: labels: app.kubernetes.io/name: promtail app.kubernetes.io/instance: promtail annotations: checksum/config: 00064144e25aa9a0c6068578ba972e5af7d36ef6c203575fa021e9986a3194c3 spec: serviceAccountName: promtail enableServiceLinks: true securityContext: runAsGroup: 0 runAsUser: 0 containers: - name: promtail image: "docker.io/grafana/promtail:2.9.3" imagePullPolicy: IfNotPresent args: - "-config.file=/etc/promtail/promtail.yaml" volumeMounts: - name: config mountPath: /etc/promtail - mountPath: /run/promtail name: run - mountPath: /var/lib/docker/containers name: containers readOnly: true - mountPath: /var/log/pods name: pods readOnly: true env: - name: HOSTNAME valueFrom: fieldRef: fieldPath: spec.nodeName ports: - name: http-metrics containerPort: 3101 protocol: TCP securityContext: allowPrivilegeEscalation: false capabilities: drop: - ALL readOnlyRootFilesystem: true readinessProbe: failureThreshold: 5 httpGet: path: '/ready' port: http-metrics initialDelaySeconds: 10 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 1 tolerations: - effect: NoSchedule key: node-role.kubernetes.io/master operator: Exists - effect: NoSchedule key: node-role.kubernetes.io/control-plane operator: Exists volumes: - name: config configMap: name: promtail - hostPath: path: /run/promtail name: run - hostPath: path: /var/lib/docker/containers name: containers - hostPath: path: /var/log/pods name: pods