Fix observability issues and refactor metrics stack to ArgoCD
- Resolved "connection refused" on startup probe by explicitly mapping management.server.port in application.yaml. - Adjusted startupProbe to a 70s window (10s delay + 12 * 5s) to accommodate application initialization. - Externalized VictoriaMetrics stack (Operator, Single, Agent, Alert) into separate ArgoCD Application manifests. - Removed bundled VictoriaMetrics templates from the MovieNight Helm chart. - Configured vmagent with Kubernetes pod-based service discovery for metrics scraping. - Ensured consistency between Helm values and externalized observability components. Co-authored-by: devitq <118541411+devitq@users.noreply.github.com>
This commit is contained in:
co-authored by
devitq
parent
2d6012866b
commit
47baaf8fce
@@ -121,59 +121,14 @@ routes:
|
||||
pathPrefix: /
|
||||
|
||||
observability:
|
||||
enabled: false
|
||||
enabled: true
|
||||
metrics:
|
||||
applicationTag: movienight
|
||||
httpServerRequestsHistogram: true
|
||||
jsonLogging: true
|
||||
victoriaMetrics:
|
||||
enabled: true
|
||||
url: "http://vmsingle-victoria-metrics-single.observability.svc:8428"
|
||||
operator:
|
||||
enabled: false
|
||||
image:
|
||||
repository: docker.io/victoriametrics/victoria-metrics
|
||||
tag: v1.134.0
|
||||
pullPolicy: IfNotPresent
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 8428
|
||||
retentionPeriod: 30d
|
||||
extraArgs: []
|
||||
persistence:
|
||||
enabled: true
|
||||
size: 10Gi
|
||||
storageClass: ""
|
||||
podAnnotations: {}
|
||||
podLabels: {}
|
||||
resources: {}
|
||||
securityContext: {}
|
||||
podSecurityContext: {}
|
||||
nodeSelector: {}
|
||||
tolerations: []
|
||||
affinity: {}
|
||||
vmagent:
|
||||
enabled: true
|
||||
image:
|
||||
repository: docker.io/victoriametrics/vmagent
|
||||
tag: v1.135.0
|
||||
pullPolicy: IfNotPresent
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 8429
|
||||
scrapeInterval: 5s
|
||||
scrapeTimeout: 5s
|
||||
remoteWriteUrl: ""
|
||||
backendJobName: movienight-backend
|
||||
extraArgs: []
|
||||
extraScrapeConfigs: []
|
||||
podAnnotations: {}
|
||||
podLabels: {}
|
||||
resources: {}
|
||||
securityContext: {}
|
||||
podSecurityContext: {}
|
||||
nodeSelector: {}
|
||||
tolerations: []
|
||||
affinity: {}
|
||||
grafana:
|
||||
datasource:
|
||||
enabled: true
|
||||
|
||||
Reference in New Issue
Block a user