mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-01-27 10:18:27 +00:00
fix(flux): bind metrics port to $POD_IP
This commit is contained in:
@@ -66,7 +66,7 @@ spec:
|
||||
path: /spec/template/spec/containers/0/env/-
|
||||
value:
|
||||
name: KUBERNETES_SERVICE_PORT
|
||||
value: "6443"
|
||||
value: "7445" # Talos KubePrism
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/env/-
|
||||
value:
|
||||
@@ -87,8 +87,8 @@ spec:
|
||||
- --log-level=debug
|
||||
- --log-encoding=json
|
||||
- --enable-leader-election=false
|
||||
- --metrics-addr=127.0.0.1:$(METRICS_PORT)
|
||||
- --health-addr=127.0.0.1:$(HEALTH_PORT)
|
||||
- --metrics-addr=$(POD_IP):$(METRICS_PORT)
|
||||
- --health-addr=127.0.0.1:$(HEALTH_PORT) # hopefully your pod IP uses InternalIP and isn't a public IP, none of mine are at least
|
||||
- op: add
|
||||
path: /spec/template/metadata/labels/flux
|
||||
value: localhost
|
||||
|
||||
Reference in New Issue
Block a user