Browse Source

API liveness probe: set timeout to 10 sec to prevent API restart if the system is busy

Vadim Rutkovsky 6 years ago
parent
commit
7d5ad5cc3b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      roles/openshift_control_plane/files/apiserver.yaml

+ 2 - 0
roles/openshift_control_plane/files/apiserver.yaml

@@ -39,12 +39,14 @@ spec:
         port: 8443
         path: healthz
       initialDelaySeconds: 45
+      timeoutSeconds: 10
     readinessProbe:
       httpGet:
         scheme: HTTPS
         port: 8443
         path: healthz/ready
       initialDelaySeconds: 10
+      timeoutSeconds: 10
   volumes:
   - name: master-config
     hostPath: