Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for fastStatusUpdateOnce (0.21 sec)

  1. pkg/kubelet/kubelet.go

    	// so errors are logged without verbosity guard, to avoid excessive error logs at node startup.
    	// It's false during the node initialization period of nodeReadyGracePeriod, and after that
    	// it's set to true by fastStatusUpdateOnce when it exits.
    	containerRuntimeReadyExpected bool
    
    	// nodeStatusUpdateFrequency specifies how often kubelet computes node status. If node lease
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_node_status.go

    	kl.setNodeStatus(ctx, node)
    
    	return node, nil
    }
    
    // fastNodeStatusUpdate is a "lightweight" version of syncNodeStatus which doesn't hit the
    // apiserver except for the final run, to be called by fastStatusUpdateOnce in each loop.
    // It holds the same lock as syncNodeStatus and is thread-safe when called concurrently with
    // syncNodeStatus. Its return value indicates whether the loop running it should exit
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_node_status_test.go

    				patchCount++
    				if patchCount > tc.patchFailures {
    					return false, nil, nil
    				}
    				return true, nil, fmt.Errorf("try again")
    			})
    
    			kubelet.fastStatusUpdateOnce()
    
    			assert.True(t, kubelet.containerRuntimeReadyExpected)
    			assert.Equal(t, tc.wantCalls, callCount)
    			assert.Equal(t, tc.wantPatches, patchCount)
    
    			actions := kubeClient.Actions()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
Back to top