This commit is contained in:
2026-03-30 15:54:20 +00:00
parent af5d281e61
commit a5fdf9eca6

View File

@@ -112,8 +112,8 @@ data:
}
rule {
source_labels = ["__journal__hostname"]
target_label = "host"
target_label = "host"
replacement = sys.env("NODE_NAME")
}
rule {
@@ -187,6 +187,12 @@ spec:
ports:
- containerPort: 12345
name: http
env:
- name: NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
volumeMounts:
- name: config