Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for deletionTimestamp (0.56 sec)

  1. pkg/kubelet/kubelet_pods.go

    // filterTerminalPodsToDelete returns terminal pods which are ready to be
    // deleted by the status manager, but are not in pod workers.
    // First, the check for deletionTimestamp is a performance optimization as we
    // don't need to do anything with terminal pods without deletionTimestamp.
    // Second, the check for terminal pods is to avoid race conditions of triggering
    // deletion on Pending pods which are not yet added to pod workers.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_test.go

    			},
    		},
    		{
    			ObjectMeta: metav1.ObjectMeta{
    				UID:               "3",
    				Name:              "completed-pod3",
    				Namespace:         "ns",
    				Annotations:       make(map[string]string),
    				DeletionTimestamp: &now,
    			},
    			Status: v1.PodStatus{
    				ContainerStatuses: []v1.ContainerStatus{
    					{
    						State: v1.ContainerState{
    							Terminated: &v1.ContainerStateTerminated{},
    						},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet.go

    				}
    			}
    		}
    	}
    
    	// Create Mirror Pod for Static Pod if it doesn't already exist
    	if kubetypes.IsStaticPod(pod) {
    		deleted := false
    		if mirrorPod != nil {
    			if mirrorPod.DeletionTimestamp != nil || !kubepod.IsMirrorPodOf(mirrorPod, pod) {
    				// The mirror pod is semantically different from the static pod. Remove
    				// it. The mirror pod will get recreated later.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
Back to top