Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for LAST (0.03 sec)

  1. pkg/kubelet/kubelet.go

    	// Finally, put the most recent version of the config on the Kubelet, so
    	// people can see how it was configured.
    	klet.kubeletConfiguration = *kubeCfg
    
    	// Generating the status funcs should be the last thing we do,
    	// since this relies on the rest of the Kubelet having been constructed.
    	klet.setNodeStatusFuncs = klet.defaultNodeStatusFuncs()
    
    	return klet, nil
    }
    
    type serviceLister interface {
    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_pods.go

    	}
    	return resource.ExtractResourceValueByContainerName(fs, pod, containerName)
    }
    
    // killPod instructs the container runtime to kill the pod. This method requires that
    // the pod status contains the result of the last syncPod, otherwise it may fail to
    // terminate newly created containers and sandboxes.
    func (kl *Kubelet) killPod(ctx context.Context, pod *v1.Pod, p kubecontainer.Pod, gracePeriodOverride *int64) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_test.go

    	for _, s := range statuses {
    		assert.Equal(t, expectedState[s.Name], s.State, "%s: state", message)
    		assert.Equal(t, expectedLastTerminationState[s.Name], s.LastTerminationState, "%s: last terminated state", message)
    	}
    }
    
    // Test generateAPIPodStatus with different reason cache and old api pod status.
    func TestGenerateAPIPodStatusWithReasonCache(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
Back to top