Files
movienight-backend/deploy/helm/movienight/values.yaml
T
google-labs-jules[bot]anddevitq 2d6012866b Fix observability and startup probe issues
- Explicitly configure management port 8081 in application.yaml to resolve connection refused errors.
- Adjust startupProbe failure threshold and initial delay in Helm chart to allow for a one-minute startup time.
- Update vmagent to use Kubernetes pod discovery for metrics scraping, adding necessary RBAC Role and RoleBinding.
- Introduce 'json-logging' Spring profile for structured console logging in Kubernetes.
- Add support for VictoriaMetrics Operator CRDs (VMSingle, VMAgent, VMPodScrape) to leverage the existing operator in the cluster.
- Review and refine observability templates for better integration with the VictoriaMetrics stack.

Co-authored-by: devitq <118541411+devitq@users.noreply.github.com>
2026-05-23 00:05:16 +00:00

193 lines
3.8 KiB
YAML

nameOverride: ""
fullnameOverride: ""
global:
imagePullSecrets: []
labels: {}
annotations: {}
serviceAccount:
create: true
name: ""
annotations: {}
postgres:
# Set url/username/password for a fixed database, or use existingSecret.
url: ""
username: ""
password: ""
existingSecret:
name: ""
urlKey: url
usernameKey: username
passwordKey: password
cluster:
enabled: false
name: ""
instances: 1
database: postgres
owner: postgres
# Secret containing CNPG initdb owner credentials (username/password).
bootstrapSecretName: ""
host: ""
port: 5432
storage:
size: 10Gi
storageClass: ""
labels: {}
annotations: {}
extraSpec: {}
backend:
enabled: true
replicaCount: 1
image:
repository: ghcr.io/devitq/movienight-backend
tag: latest
pullPolicy: IfNotPresent
service:
type: ClusterIP
port: 8080
management:
enabled: true
port: 8081
env:
- name: SERVER_PORT
value: "8080"
- name: SPRING_DATASOURCE_DRIVER_CLASS_NAME
value: org.postgresql.Driver
- name: SPRING_FLYWAY_ENABLED
value: "true"
- name: SPRING_FLYWAY_LOCATIONS
value: classpath:db/migration
- name: SPRING_FLYWAY_BASELINE_ON_MIGRATE
value: "true"
- name: SPRING_H2_CONSOLE_ENABLED
value: "false"
envFrom: []
podAnnotations: {}
podLabels: {}
resources: {}
securityContext: {}
podSecurityContext: {}
nodeSelector: {}
tolerations: []
affinity: {}
livenessProbe:
httpGet:
path: /actuator/health/liveness
port: management
initialDelaySeconds: 20
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 5
readinessProbe:
httpGet:
path: /actuator/health/readiness
port: management
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 5
startupProbe:
httpGet:
path: /actuator/health
port: management
initialDelaySeconds: 10
periodSeconds: 5
timeoutSeconds: 5
failureThreshold: 12
gateway:
enabled: false
name: ""
className: ""
labels: {}
annotations: {}
listenerHostname: ""
hostnames: []
http:
enabled: true
port: 80
https:
enabled: false
port: 443
secretName: ""
routes:
enabled: true
backend:
enabled: true
pathPrefix: /
observability:
enabled: false
metrics:
applicationTag: movienight
httpServerRequestsHistogram: true
jsonLogging: true
victoriaMetrics:
enabled: true
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
name: VictoriaMetrics
uid: victoriametrics
labels:
grafana_datasource: "1"
annotations: {}
url: ""
isDefault: true
dashboards:
enabled: true
labels:
grafana_dashboard: "1"
annotations:
grafana_folder: MovieNight