-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
-
False
-
False
-
Undefined
-
---
-
Quarkus version 1.11.0.Final
When an application defines a `quarkus.http.root-path`, k8s liveness and readiness probe path must follow this context path.
Expected behavior
quarkus.http.root-path=api
apiVersion: "apps/v1" kind: "Deployment" metadata: ... name: "http" spec: ... template: ... spec: containers: - ... livenessProbe: failureThreshold: 3 httpGet: path: "api/q/health/live" port: 8080 scheme: "HTTP" ... ... readinessProbe: failureThreshold: 3 httpGet: path: "api/q//health/ready" port: 8080 scheme: "HTTP" ...
Current behavior
apiVersion: "apps/v1" kind: "Deployment" metadata: ... name: "http" spec: ... template: ... spec: containers: - ... livenessProbe: failureThreshold: 3 httpGet: path: "q/health/live" port: 8080 scheme: "HTTP" ... ... readinessProbe: failureThreshold: 3 httpGet: path: "q/health/ready" port: 8080 scheme: "HTTP" ...
So looks that we are missing the context path on the k8s yamls.