fix: correct route name and health check endpoints in deployment
- Fix route name mismatch: script was looking for 'resource-governance' but route is named 'resource-governance-route' - Fix health check endpoints: use /health instead of /api/v1/health for liveness/readiness probes - Add better error handling and route verification in deploy script - Add sleep delay to ensure route is ready before URL extraction - Show available routes if expected route is not found
This commit is contained in:
@@ -38,7 +38,7 @@ spec:
|
||||
protocol: TCP
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /api/v1/health
|
||||
path: /health
|
||||
port: 8080
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 10
|
||||
@@ -46,7 +46,7 @@ spec:
|
||||
failureThreshold: 3
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /api/v1/health
|
||||
path: /health
|
||||
port: 8080
|
||||
initialDelaySeconds: 15 # Aguarda mais tempo para inicializar
|
||||
periodSeconds: 5
|
||||
|
||||
Reference in New Issue
Block a user