add log
This commit is contained in:
		@@ -1637,13 +1637,14 @@ func (kl *Kubelet) Run(updates <-chan kubetypes.PodUpdate) {
 | 
				
			|||||||
		// accumulating at approximately the same time from the set of nodes due to priority and
 | 
							// accumulating at approximately the same time from the set of nodes due to priority and
 | 
				
			||||||
		// fairness effect.
 | 
							// fairness effect.
 | 
				
			||||||
		go func() {
 | 
							go func() {
 | 
				
			||||||
 | 
								// Call updateRuntimeUp once before syncNodeStatus to make sure kubelet had already checked runtime state
 | 
				
			||||||
 | 
								// otherwise when restart kubelet, syncNodeStatus will report node notReady in first report period
 | 
				
			||||||
			kl.updateRuntimeUp()
 | 
								kl.updateRuntimeUp()
 | 
				
			||||||
			wait.JitterUntil(kl.syncNodeStatus, kl.nodeStatusUpdateFrequency, 0.04, true, wait.NeverStop)
 | 
								wait.JitterUntil(kl.syncNodeStatus, kl.nodeStatusUpdateFrequency, 0.04, true, wait.NeverStop)
 | 
				
			||||||
		}()
 | 
							}()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		go kl.fastStatusUpdateOnce()
 | 
							go kl.fastStatusUpdateOnce()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
		// start syncing lease
 | 
							// start syncing lease
 | 
				
			||||||
		go kl.nodeLeaseController.Run(context.Background())
 | 
							go kl.nodeLeaseController.Run(context.Background())
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user