Added promtail
This commit is contained in:
@@ -21,8 +21,7 @@ loki:
|
|||||||
chunks_directory: /var/loki/chunks
|
chunks_directory: /var/loki/chunks
|
||||||
rules_directory: /var/loki/rules
|
rules_directory: /var/loki/rules
|
||||||
limits_config:
|
limits_config:
|
||||||
reject_old_samples: true
|
reject_old_samples: false
|
||||||
reject_old_samples_max_age: 168h
|
|
||||||
ingestion_rate_mb: 16
|
ingestion_rate_mb: 16
|
||||||
ingestion_burst_size_mb: 32
|
ingestion_burst_size_mb: 32
|
||||||
max_query_parallelism: 32
|
max_query_parallelism: 32
|
||||||
|
|||||||
@@ -3,11 +3,11 @@ config:
|
|||||||
clients:
|
clients:
|
||||||
- url: http://loki-gateway.prometheus.svc:80/loki/api/v1/push
|
- url: http://loki-gateway.prometheus.svc:80/loki/api/v1/push
|
||||||
|
|
||||||
# DaemonSet - запускается на каждой ноде
|
# DaemonSet - runs on every node
|
||||||
daemonset:
|
daemonset:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
# Tolerations для запуска на master/control-plane нодах
|
# Tolerations for master/control-plane nodes
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: node-role.kubernetes.io/master
|
- key: node-role.kubernetes.io/master
|
||||||
operator: Exists
|
operator: Exists
|
||||||
@@ -16,6 +16,18 @@ tolerations:
|
|||||||
operator: Exists
|
operator: Exists
|
||||||
effect: NoSchedule
|
effect: NoSchedule
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 50m
|
cpu: 50m
|
||||||
|
|||||||
Reference in New Issue
Block a user