Commit 12e9898
committed
OCPBUGS-66996: Extends the time for the extractor liveness probe
Before:
* `crictl info` was timing out after 2 seconds
* the command was executed every 10 seconds
* 2 failures were making the container unhealthy
* => 10 seconds of unavailability was making the pod crash
This was too constraining as there are occasions where `crictl` can be unavailable
for a longer period of time (eg when the TLS CA bundle requires to restart some pods)
Now:
* `crictl info` is timing out after 10 seconds
* the command is executed every 30 seconds
* 3 failures (default) are making the container unhealthy
* => 1m30s of unaivailability is making the pod crash
Note: The liveness probe is used instead of the readiness probe
as the container MUST crash if the crictl connection has been changed (eg
following a TLS CA bundle update) and at this point, the pod must be recreated
to be able to connect to cri-o socket with an updated TLS certificate.
This fixes https://issues.redhat.com/browse/OCPBUGS-66996
Signed-off-by: Jeff Mesnil <jmesnil@redhat.com>1 parent fa84a57 commit 12e9898
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
93 | 95 | | |
94 | | - | |
95 | | - | |
| 96 | + | |
| 97 | + | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
| |||
0 commit comments