Files
homelab/k8s/core/prom-stack/promtail-values.yaml

38 lines
813 B
YAML
Raw Normal View History

2026-01-07 15:01:15 +00:00
# Promtail - log collection agent for all cluster pods
config:
clients:
- url: http://loki-gateway.prometheus.svc:80/loki/api/v1/push
2026-01-07 15:13:54 +00:00
# DaemonSet - runs on every node
2026-01-07 15:01:15 +00:00
daemonset:
enabled: true
2026-01-07 15:13:54 +00:00
# Tolerations for master/control-plane nodes
2026-01-07 15:01:15 +00:00
tolerations:
- key: node-role.kubernetes.io/master
operator: Exists
effect: NoSchedule
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
2026-01-07 15:13:54 +00:00
# Init container to increase inotify limits
initContainer:
- name: init-inotify
image: docker.io/busybox:1.36
imagePullPolicy: IfNotPresent
command:
- sh
- -c
- sysctl -w fs.inotify.max_user_instances=512
securityContext:
privileged: true
2026-01-07 15:01:15 +00:00
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 200m
memory: 128Mi