Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for PodFailed (0.39 sec)

  1. pkg/controller/job/pod_failure_policy_test.go

    							Values:   []int32{2, 3},
    						},
    					},
    				},
    			},
    			failedPod: &v1.Pod{
    				ObjectMeta: validPodObjectMeta,
    				Status: v1.PodStatus{
    					Phase: v1.PodFailed,
    					ContainerStatuses: []v1.ContainerStatus{
    						{
    							Name: "main-container",
    							State: v1.ContainerState{
    								Terminated: &v1.ContainerStateTerminated{
    									ExitCode: 2,
    								},
    							},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  2. pkg/controller/job/indexed_job_utils_test.go

    				},
    			},
    			pods: []*v1.Pod{
    				buildPod().uid("a").indexFailureCount("0").phase(v1.PodFailed).index("0").trackingFinalizer().Pod,
    				buildPod().uid("b").indexFailureCount("1").phase(v1.PodFailed).index("1").trackingFinalizer().Pod,
    				buildPod().uid("c").indexFailureCount("0").phase(v1.PodFailed).index("2").trackingFinalizer().Pod,
    			},
    			wantPodsWithDelayedDeletionPerIndex: []string{"a", "c"},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  3. pkg/controller/podgc/gc_controller_test.go

    		enablePodDisruptionConditions bool
    	}{
    		{
    			name: "delete pod a which is PodFailed and pod b which is PodSucceeded; PodDisruptionConditions enabled",
    			pods: []nameToPhase{
    				{name: "a", phase: v1.PodFailed},
    				{name: "b", phase: v1.PodSucceeded},
    				{name: "c", phase: v1.PodFailed},
    			},
    			threshold:                     1,
    			deletedPodNames:               sets.New("a", "b"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 08:16:48 UTC 2024
    - 29K bytes
    - Viewed (0)
  4. pkg/kubelet/status/status_manager_test.go

    			},
    		},
    		"Failed pod": {
    			status: v1.PodStatus{
    				Phase: v1.PodFailed,
    			},
    			wantStatus: v1.PodStatus{
    				Phase: v1.PodFailed,
    			},
    		},
    		"Unknown pod": {
    			status: v1.PodStatus{
    				Phase: v1.PodUnknown,
    			},
    			wantStatus: v1.PodStatus{
    				Phase: v1.PodFailed,
    			},
    		},
    		"Unknown phase pod": {
    			status: v1.PodStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 68.1K bytes
    - Viewed (0)
  5. pkg/controller/job/job_controller_test.go

    				buildPod().uid("c").phase(v1.PodSucceeded).trackingFinalizer().Pod,
    				buildPod().uid("d").phase(v1.PodFailed).Pod,
    				buildPod().uid("e").phase(v1.PodFailed).trackingFinalizer().Pod,
    				buildPod().uid("f").phase(v1.PodFailed).trackingFinalizer().Pod,
    				buildPod().uid("g").phase(v1.PodFailed).trackingFinalizer().Pod,
    			},
    			wantSucceeded: 4,
    			wantFailed:    5,
    		},
    		"deleted pods": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/pod_test.go

    		t.Error(err)
    	}
    	if handled != 4 {
    		t.Errorf("notified workload handler %d times, want %d", handled, 4)
    	}
    
    	assert.Equal(t, c.pods.getPodsByIP(ip), nil)
    
    	if err := f(nil, &v1.Pod{ObjectMeta: pod2, Status: v1.PodStatus{Conditions: readyCondition, PodIP: ip, Phase: v1.PodFailed}}, model.EventDelete); err != nil {
    		t.Error(err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 18:27:40 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. pkg/controller/job/backoff_utils_test.go

    					},
    				})
    			}
    
    			for _, finishTime := range tc.newFailedPods {
    				newFailedPods = append(newFailedPods, &v1.Pod{
    					ObjectMeta: metav1.ObjectMeta{},
    					Status: v1.PodStatus{
    						Phase: v1.PodFailed,
    						ContainerStatuses: []v1.ContainerStatus{
    							{
    								State: v1.ContainerState{
    									Terminated: &v1.ContainerStateTerminated{
    										FinishedAt: finishTime,
    									},
    								},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 07:46:41 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_test.go

    	// Check pod status stored in the status map.
    	checkPodStatus(t, kl, fittingPod, v1.PodPending)
    	checkPodStatus(t, kl, emptyPod, v1.PodFailed)
    	checkPodStatus(t, kl, missingPod, v1.PodPending)
    	checkPodStatus(t, kl, failedPod, v1.PodFailed)
    }
    
    // TODO(filipg): This test should be removed once StatusSyncer can do garbage collection without external signal.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  9. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux_test.go

    			expectedPodStatuses: map[string]v1.PodStatus{
    				"normal-pod-nil-grace-period": {
    					Phase:   v1.PodFailed,
    					Message: "Pod was terminated in response to imminent node shutdown.",
    					Reason:  "Terminated",
    				},
    				"critical-pod-nil-grace-period": {
    					Phase:   v1.PodFailed,
    					Message: "Pod was terminated in response to imminent node shutdown.",
    					Reason:  "Terminated",
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  10. pkg/controller/podgc/gc_controller.go

    		// forever as there is no kubelet running to change the phase.
    		if pod.Status.Phase != v1.PodSucceeded && pod.Status.Phase != v1.PodFailed {
    			newStatus := pod.Status.DeepCopy()
    			newStatus.Phase = v1.PodFailed
    			if condition != nil && utilfeature.DefaultFeatureGate.Enabled(features.PodDisruptionConditions) {
    				apipod.UpdatePodCondition(newStatus, condition)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top