26 lines
590 B
YAML
26 lines
590 B
YAML
# Promtail - log collection agent for all cluster pods
|
|
config:
|
|
clients:
|
|
- url: http://loki-gateway.prometheus.svc:80/loki/api/v1/push
|
|
|
|
# DaemonSet - запускается на каждой ноде
|
|
daemonset:
|
|
enabled: true
|
|
|
|
# Tolerations для запуска на master/control-plane нодах
|
|
tolerations:
|
|
- key: node-role.kubernetes.io/master
|
|
operator: Exists
|
|
effect: NoSchedule
|
|
- key: node-role.kubernetes.io/control-plane
|
|
operator: Exists
|
|
effect: NoSchedule
|
|
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 64Mi
|
|
limits:
|
|
cpu: 200m
|
|
memory: 128Mi
|