Update probe timeouts, delays etc. (#4612)

* Fix merge conflict

* Add check delay

* Add more liveness and readiness options to metrics-server
This commit is contained in:
Andreas Krüger
2019-04-23 23:46:02 +02:00
committed by Kubernetes Prow Robot
parent d6d7458d68
commit d588532c9b
14 changed files with 32 additions and 34 deletions

View File

@@ -218,10 +218,10 @@ spec:
host: 127.0.0.1
path: /liveness
port: 9099
periodSeconds: 10
initialDelaySeconds: 10
initialDelaySeconds: 5
failureThreshold: 6
readinessProbe:
failureThreshold: 6
{% if calico_version is version('v3.3.0', '<') %}
httpGet:
host: 127.0.0.1
@@ -234,7 +234,6 @@ spec:
- -bird-ready
- -felix-ready
{% endif %}
periodSeconds: 10
volumeMounts:
- mountPath: /lib/modules
name: lib-modules

View File

@@ -253,7 +253,7 @@ spec:
path: /liveness
port: 9099
periodSeconds: 10
initialDelaySeconds: 10
initialDelaySeconds: 5
failureThreshold: 6
readinessProbe:
{% if calico_version is version('v3.3.0', '<')%}

View File

@@ -132,10 +132,7 @@ spec:
command:
- cilium
- status
# The initial delay for the liveness probe is intentionally large to
# avoid an endless kill & restart cycle if in the event that the initial
# bootstrapping takes longer than expected.
initialDelaySeconds: 120
initialDelaySeconds: 15
failureThreshold: 10
periodSeconds: 10
readinessProbe:

View File

@@ -104,7 +104,7 @@ spec:
httpGet:
path: /healthz
port: 20244
initialDelaySeconds: 10
initialDelaySeconds: 5
periodSeconds: 3
resources:
requests: