File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ metadata:
55 namespace : uni
66data :
77 # Database configuration (non-sensitive)
8- DB_URL : " jdbc:postgresql://pg-postgresql.dlti.svc.cluster.local:5432/ udav"
8+ # DB_URL is intentionally provided by Secret ` udav-secrets`
99 DB_SCHEMA : " public"
1010 DB_BATCH_SIZE : " 5000"
1111 DB_MAX_IDENT : " 255"
Original file line number Diff line number Diff line change @@ -31,13 +31,13 @@ spec:
3131 name : udav-secrets
3232 readinessProbe :
3333 httpGet :
34- path : /actuator/health
34+ path : /actuator/health/readiness
3535 port : http
3636 initialDelaySeconds : 30
3737 periodSeconds : 10
3838 livenessProbe :
3939 httpGet :
40- path : /actuator/health
40+ path : /actuator/health/liveness
4141 port : http
4242 initialDelaySeconds : 60
4343 periodSeconds : 20
Original file line number Diff line number Diff line change 5858 <groupId >org.springframework.boot</groupId >
5959 <artifactId >spring-boot-starter-data-jpa</artifactId >
6060 </dependency >
61+ <dependency >
62+ <groupId >org.springframework.boot</groupId >
63+ <artifactId >spring-boot-starter-actuator</artifactId >
64+ </dependency >
6165
6266
6367
Original file line number Diff line number Diff line change @@ -55,3 +55,8 @@ logging.level.org.springframework.boot=WARN
5555logging.level.org.springframework.web =WARN
5656logging.level.org.texttechnologylab.udav.importer.JooqDatabaseWriter =ERROR
5757spring.config.import =optional:file:.env[.properties]
58+
59+ # Kubernetes probe endpoints
60+ management.endpoint.health.probes.enabled =true
61+ management.endpoints.web.exposure.include =health,info
62+ management.endpoint.health.show-details =never
You can’t perform that action at this time.
0 commit comments