Skip to content

Commit 4eed855

Browse files
soohyunmeclaude
andcommitted
fix(promtail): use default scrape config instead of incomplete override
Custom scrape_configs was missing __path__ (the actual log file path on the node), so Promtail had no idea where to find log files. Use chart defaults which already handle /var/log/pods/**/*.log correctly; only set the Loki push URL. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 910c8eb commit 4eed855

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

infrastructure/base/monitoring/loki/promtail-values.yaml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
11
config:
22
clients:
33
- url: http://loki:3100/loki/api/v1/push
4-
scrape_configs:
5-
- job_name: kubernetes-pods
6-
kubernetes_sd_configs:
7-
- role: pod
8-
relabel_configs:
9-
- source_labels: [__meta_kubernetes_pod_name]
10-
action: replace
11-
target_label: pod
12-
- source_labels: [__meta_kubernetes_namespace]
13-
action: replace
14-
target_label: namespace
15-
- source_labels: [__meta_kubernetes_pod_label_app]
16-
action: replace
17-
target_label: app
18-
- source_labels: [__meta_kubernetes_pod_container_name]
19-
action: replace
20-
target_label: container
214

225
resources:
236
limits:

0 commit comments

Comments
 (0)