- Remove nodeSelector for control-plane node - Remove tolerations for control-plane taint - Allow pods to schedule on any available node
43 lines
825 B
YAML
43 lines
825 B
YAML
# Promtail Helm Values
|
|
# Chart: https://grafana.github.io/helm-charts
|
|
# Log collector agent (DaemonSet on all nodes)
|
|
|
|
# Loki endpoint
|
|
config:
|
|
clients:
|
|
- url: http://loki.loki.svc.cluster.local:3100/loki/api/v1/push
|
|
|
|
# Default scrape config (use defaults)
|
|
defaultVolumes:
|
|
- name: run
|
|
hostPath:
|
|
path: /run/promtail
|
|
- name: containers
|
|
hostPath:
|
|
path: /var/lib/docker/containers
|
|
- name: pods
|
|
hostPath:
|
|
path: /var/log/pods
|
|
|
|
defaultVolumeMounts:
|
|
- name: run
|
|
mountPath: /run/promtail
|
|
- name: containers
|
|
mountPath: /var/lib/docker/containers
|
|
readOnly: true
|
|
- name: pods
|
|
mountPath: /var/log/pods
|
|
readOnly: true
|
|
|
|
# Resources
|
|
resources:
|
|
requests:
|
|
cpu: 23m
|
|
memory: 182Mi
|
|
limits:
|
|
memory: 182Mi
|
|
|
|
# ServiceMonitor disabled
|
|
serviceMonitor:
|
|
enabled: false
|