Skip to content

Commit bf6a9da

Browse files
authored
Merge pull request kubernetes#126931 from lengrongfu/feat/add-unready
Add default status "not ready" when readiness probe sync
2 parents 0838221 + de40109 commit bf6a9da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/kubelet/kubelet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2465,7 +2465,7 @@ func (kl *Kubelet) syncLoopIteration(ctx context.Context, configCh <-chan kubety
24652465
ready := update.Result == proberesults.Success
24662466
kl.statusManager.SetContainerReadiness(update.PodUID, update.ContainerID, ready)
24672467

2468-
status := ""
2468+
status := "not ready"
24692469
if ready {
24702470
status = "ready"
24712471
}

0 commit comments

Comments
 (0)