fix: update service monitor configuration to use port instead of targetPort

Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
zhenyus 2025-03-17 23:25:43 +08:00
parent 07d4cb7236
commit c2967c3854
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ centralStorage:
terminationGracePeriodSeconds: 30
serviceMonitor:
enabled: true
targetPort: 8005
port: 8005
labels:
release: kube-prometheus-stack
namespace: freeleaps-monitoring-system

View File

@ -25,7 +25,7 @@ central-storage:
probes: {}
serviceMonitor:
enabled: false
targetPort: 8005
port: 8005
labels: {}
namespace: ""
internal: 30s