Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for terminatingPod (0.26 sec)

  1. plugin/pkg/admission/limitranger/admission_test.go

    	// a pod that is undergoing termination should never be blocked
    	terminatingPod := validPod("terminatingPod", 1, api.ResourceRequirements{})
    	now := metav1.Now()
    	terminatingPod.DeletionTimestamp = &now
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  2. pkg/kubelet/pod_workers.go

    type PodWorkerState int
    
    const (
    	// SyncPod is when the pod is expected to be started and running.
    	SyncPod PodWorkerState = iota
    	// TerminatingPod is when the pod is no longer being set up, but some
    	// containers may be running and are being torn down.
    	TerminatingPod
    	// TerminatedPod indicates the pod is stopped, can have no more running
    	// containers, and any foreground cleanup can be executed.
    	TerminatedPod
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 13:22:37 UTC 2024
    - 74.8K bytes
    - Viewed (0)
  3. pkg/kubelet/pod_workers_test.go

    	state = podWorkers.SyncKnownPods([]*v1.Pod{
    		newNamedPod("8-static", "test1", "pod1", true),
    	})
    	drainAllWorkers(podWorkers)
    	if e, a := map[types.UID]PodWorkerSync{
    		"1-normal": {State: TerminatingPod, Orphan: true, HasConfig: true},
    		"8-static": {State: SyncPod, HasConfig: true, Static: true},
    	}, state; !reflect.DeepEqual(e, a) {
    		t.Fatalf("unexpected actual restartable: %s", cmp.Diff(e, a))
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
Back to top