mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 03:03:59 +00:00
Merge pull request #126931 from lengrongfu/feat/add-unready
Add default status "not ready" when readiness probe sync
This commit is contained in:
commit
bf6a9da1c3
@ -2465,7 +2465,7 @@ func (kl *Kubelet) syncLoopIteration(ctx context.Context, configCh <-chan kubety
|
||||
ready := update.Result == proberesults.Success
|
||||
kl.statusManager.SetContainerReadiness(update.PodUID, update.ContainerID, ready)
|
||||
|
||||
status := ""
|
||||
status := "not ready"
|
||||
if ready {
|
||||
status = "ready"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user