mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 16:29:21 +00:00
Merge pull request #41176 from tanshanshan/fix-little2
Automatic merge from submit-queue fix comment **What this PR does / why we need it**: fix comment Thanks. **Special notes for your reviewer**: **Release note**: ```release-note ```
This commit is contained in:
commit
fe4a254a70
@ -215,7 +215,7 @@ func (w *worker) doProbe() (keepGoing bool) {
|
|||||||
w.resultsManager.Set(w.containerID, result, w.pod)
|
w.resultsManager.Set(w.containerID, result, w.pod)
|
||||||
|
|
||||||
if w.probeType == liveness && result == results.Failure {
|
if w.probeType == liveness && result == results.Failure {
|
||||||
// The container fails a liveness check, it will need to be restared.
|
// The container fails a liveness check, it will need to be restarted.
|
||||||
// Stop probing until we see a new container ID. This is to reduce the
|
// Stop probing until we see a new container ID. This is to reduce the
|
||||||
// chance of hitting #21751, where running `docker exec` when a
|
// chance of hitting #21751, where running `docker exec` when a
|
||||||
// container is being stopped may lead to corrupted container state.
|
// container is being stopped may lead to corrupted container state.
|
||||||
|
Loading…
Reference in New Issue
Block a user