-
Type: Task
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Continuous Integration
-
Team:PLATFORM
-
Sprint:nxplatform #35
-
Story Points:1
Since Kubernetes 1.18, a startup probe is available to handle containers with a long startup time, see https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#define-startup-probes.
The cluster was recently upgraded to v1.18.17-gke.700, thus, the startup probe is now available, as we can see:
k describe pod jenkins-0 ... Warning Unhealthy 16m kubelet Startup probe failed: Get http://10.60.53.14:8080/login: dial tcp 10.60.53.14:8080: connect: connection refused Warning Unhealthy 16m kubelet Startup probe failed: Get http://10.60.53.14:8080/login: net/http: request canceled (Client.Timeout exceeded while awaiting headers) Warning Unhealthy 15m (x5 over 16m) kubelet Startup probe failed: HTTP probe failed with statuscode: 503
Let's remove the now useless initialDelaySeconds: 60 from the livenessProbe and readinessProbe.
- Is referenced in