fix: add serviceMonitor configuration to authentication, centralStorage, content, notification, and payment services

Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
zhenyus 2025-03-17 23:40:13 +08:00
parent 32198e2f9a
commit 4a726cce49
10 changed files with 66 additions and 65 deletions

View File

@ -43,18 +43,18 @@ authentication:
successThreshold: 1 successThreshold: 1
failureThreshold: 3 failureThreshold: 3
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
serviceMonitor:
enabled: true
labels:
release: kube-prometheus-stack
namespace: freeleaps-monitoring-system
interval: 30s
scrapeTimeout: ""
services: services:
- name: authentication-service - name: authentication-service
type: ClusterIP type: ClusterIP
port: 8004 port: 8004
targetPort: 8004 targetPort: 8004
serviceMonitor:
enabled: true
labels:
release: kube-prometheus-stack
namespace: freeleaps-monitoring-system
interval: 30s
scrapeTimeout: ""
ingresses: {} ingresses: {}
configs: configs:
tz: UTC tz: UTC

View File

@ -23,17 +23,18 @@ authentication:
memory: "1Gi" memory: "1Gi"
# FIXME: Wait until the developers implements the probes APIs # FIXME: Wait until the developers implements the probes APIs
probes: {} probes: {}
serviceMonitor:
enabled: false
labels: {}
namespace: ""
internal: 30s
scrapeTimeout: ""
services: services:
- name: authentication-service - name: authentication-service
type: ClusterIP type: ClusterIP
port: 8004 port: 8004
targetPort: 8004 targetPort: 8004
serviceMonitor:
enabled: false
labels:
release: kube-prometheus-stack
namespace: freeleaps-monitoring-system
interval: 30s
scrapeTimeout: ""
# Defaults to {}, which means doesn't have any ingress # Defaults to {}, which means doesn't have any ingress
ingresses: {} ingresses: {}
configs: configs:

View File

@ -43,18 +43,18 @@ centralStorage:
successThreshold: 1 successThreshold: 1
failureThreshold: 3 failureThreshold: 3
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
serviceMonitor:
enabled: true
labels:
release: kube-prometheus-stack
namespace: freeleaps-monitoring-system
internal: 30s
scrapeTimeout: ""
services: services:
- name: central-storage-service - name: central-storage-service
type: ClusterIP type: ClusterIP
port: 8005 port: 8005
targetPort: 8005 targetPort: 8005
serviceMonitor:
enabled: true
labels:
release: kube-prometheus-stack
namespace: freeleaps-monitoring-system
internal: 30s
scrapeTimeout: ""
ingresses: {} ingresses: {}
configs: configs:
tz: UTC tz: UTC

View File

@ -23,17 +23,17 @@ central-storage:
memory: "1Gi" memory: "1Gi"
# FIXME: Wait until the developers implements the probes APIs # FIXME: Wait until the developers implements the probes APIs
probes: {} probes: {}
serviceMonitor:
enabled: false
labels: {}
namespace: ""
internal: 30s
scrapeTimeout: ""
services: services:
- name: central-storage-service - name: central-storage-service
type: ClusterIP type: ClusterIP
port: 8005 port: 8005
targetPort: 8005 targetPort: 8005
serviceMonitor:
enabled: false
labels: {}
namespace: ""
internal: 30s
scrapeTimeout: ""
# Defaults to {}, which means doesn't have any ingress # Defaults to {}, which means doesn't have any ingress
ingresses: {} ingresses: {}
configs: configs:

View File

@ -43,18 +43,18 @@ content:
successThreshold: 1 successThreshold: 1
failureThreshold: 3 failureThreshold: 3
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
serviceMonitor:
enabled: true
labels:
release: kube-prometheus-stack
namespace: freeleaps-monitoring-system
internal: 30s
scrapeTimeout: ""
services: services:
- name: content-service - name: content-service
type: ClusterIP type: ClusterIP
port: 8013 port: 8013
targetPort: 8013 targetPort: 8013
serviceMonitor:
enabled: true
labels:
release: kube-prometheus-stack
namespace: freeleaps-monitoring-system
internal: 30s
scrapeTimeout: ""
ingresses: {} ingresses: {}
configs: configs:
tz: UTC tz: UTC

View File

@ -23,17 +23,17 @@ content:
memory: "1Gi" memory: "1Gi"
# FIXME: Wait until the developers implements the probes APIs # FIXME: Wait until the developers implements the probes APIs
probes: {} probes: {}
serviceMonitor:
enabled: false
labels: {}
namespace: ""
internal: 30s
scrapeTimeout: ""
services: services:
- name: content-service - name: content-service
type: ClusterIP type: ClusterIP
port: 8013 port: 8013
targetPort: 8013 targetPort: 8013
serviceMonitor:
enabled: false
labels: {}
namespace: ""
internal: 30s
scrapeTimeout: ""
# Defaults to {}, which means doesn't have any ingress # Defaults to {}, which means doesn't have any ingress
ingresses: {} ingresses: {}
configs: configs:

View File

@ -43,18 +43,18 @@ notification:
successThreshold: 1 successThreshold: 1
failureThreshold: 3 failureThreshold: 3
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
serviceMonitor:
enabled: true
labels:
release: kube-prometheus-stack
namespace: freeleaps-monitoring-system
internal: 30s
scrapeTimeout: ''
services: services:
- name: notification-service - name: notification-service
type: ClusterIP type: ClusterIP
port: 8003 port: 8003
targetPort: 8003 targetPort: 8003
serviceMonitor:
enabled: true
labels:
release: kube-prometheus-stack
namespace: freeleaps-monitoring-system
internal: 30s
scrapeTimeout: ''
ingresses: {} ingresses: {}
configs: configs:
tz: UTC tz: UTC

View File

@ -23,17 +23,17 @@ notification:
memory: "1Gi" memory: "1Gi"
# FIXME: Wait until the developers implements the probes APIs # FIXME: Wait until the developers implements the probes APIs
probes: {} probes: {}
serviceMonitor:
enabled: false
labels: {}
namespace: ""
internal: 30s
scrapeTimeout: ""
services: services:
- name: notification-service - name: notification-service
type: ClusterIP type: ClusterIP
port: 8003 port: 8003
targetPort: 8003 targetPort: 8003
serviceMonitor:
enabled: false
labels: {}
namespace: ""
internal: 30s
scrapeTimeout: ""
# Defaults to {}, which means doesn't have any ingress # Defaults to {}, which means doesn't have any ingress
ingresses: {} ingresses: {}
configs: configs:

View File

@ -43,18 +43,18 @@ payment:
successThreshold: 1 successThreshold: 1
failureThreshold: 3 failureThreshold: 3
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
serviceMonitor:
enabled: true
labels:
release: kube-prometheus-stack
namespace: freeleaps-monitoring-system
internal: 30s
scrapeTimeout: ''
services: services:
- name: payment-service - name: payment-service
type: ClusterIP type: ClusterIP
port: 8006 port: 8006
targetPort: 8006 targetPort: 8006
serviceMonitor:
enabled: true
labels:
release: kube-prometheus-stack
namespace: freeleaps-monitoring-system
internal: 30s
scrapeTimeout: ''
ingresses: {} ingresses: {}
configs: configs:
tz: UTC tz: UTC

View File

@ -23,17 +23,17 @@ payment:
memory: "1Gi" memory: "1Gi"
# FIXME: Wait until the developers implements the probes APIs # FIXME: Wait until the developers implements the probes APIs
probes: {} probes: {}
serviceMonitor:
enabled: false
labels: {}
namespace: ""
internal: 30s
scrapeTimeout: ""
services: services:
- name: payment-service - name: payment-service
type: ClusterIP type: ClusterIP
port: 8006 port: 8006
targetPort: 8006 targetPort: 8006
serviceMonitor:
enabled: false
labels: {}
namespace: ""
internal: 30s
scrapeTimeout: ""
# Defaults to {}, which means doesn't have any ingress # Defaults to {}, which means doesn't have any ingress
ingresses: {} ingresses: {}
configs: configs: