Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 43 for PodFailed (0.82 sec)

  1. pkg/controller/daemon/daemon_controller_test.go

    	for i := 0; i < number; i++ {
    		pod := newPod(fmt.Sprintf("%s-", nodeName), nodeName, label, ds)
    		pod.Status = v1.PodStatus{Phase: v1.PodFailed}
    		podStore.Add(pod)
    	}
    }
    
    func newControllerRevision(name string, namespace string, label map[string]string,
    	ownerReferences []metav1.OwnerReference) *apps.ControllerRevision {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  2. pkg/kubelet/eviction/eviction_manager_test.go

    			wantPodStatus: v1.PodStatus{
    				Phase:   v1.PodFailed,
    				Reason:  "Evicted",
    				Message: "The node was low on resource: memory. Threshold quantity: 2Gi, available: 1500Mi. ",
    			},
    		},
    		"eviction due to memory pressure; image fs": {
    			wantPodStatus: v1.PodStatus{
    				Phase:   v1.PodFailed,
    				Reason:  "Evicted",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/informers_test.go

    		},
    		Spec: corev1.PodSpec{
    			NodeName: NodeName,
    		},
    		Status: corev1.PodStatus{
    			PodIP: "11.1.1.12",
    			Phase: corev1.PodFailed,
    		},
    	}
    	ns := &corev1.Namespace{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:   "test",
    			Labels: map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeAmbient},
    		},
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  4. pkg/kubelet/eviction/eviction_manager.go

    	klog.V(3).InfoS("Evicting pod", "pod", klog.KObj(pod), "podUID", pod.UID, "message", evictMsg)
    	err := m.killPodFunc(pod, true, &gracePeriodOverride, func(status *v1.PodStatus) {
    		status.Phase = v1.PodFailed
    		status.Reason = Reason
    		status.Message = evictMsg
    		if condition != nil {
    			podutil.UpdatePodCondition(status, condition)
    		}
    	})
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 18:55:56 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  5. pkg/controller/endpoint/endpoints_controller_test.go

    			Labels: map[string]string{
    				"foo": "bar",
    			},
    		},
    		Subsets: []v1.EndpointSubset{},
    	})
    	addNotReadyPodsWithSpecifiedRestartPolicyAndPhase(endpoints.podStore, ns, 1, 1, v1.RestartPolicyNever, v1.PodFailed)
    	endpoints.serviceStore.Add(&v1.Service{
    		ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: ns},
    		Spec: v1.ServiceSpec{
    			Selector: map[string]string{"foo": "bar"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  6. pkg/controller/job/job_controller.go

    		// availability to opt-out into the old behavior.
    		return p.Status.Phase == v1.PodFailed
    	}
    	if p.Status.Phase == v1.PodFailed {
    		return true
    	}
    	if onlyReplaceFailedPods(job) {
    		return p.Status.Phase == v1.PodFailed
    	}
    	// Count deleted Pods as failures to account for orphan Pods that
    	// never have a chance to reach the Failed phase.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  7. pkg/quota/v1/evaluator/core/pods_test.go

    				makePod("p1", "high-priority", cpu1, api.PodRunning),
    				makePod("p2", "high-priority", cpu1, api.PodSucceeded),
    				makePod("p3", "low-priority", cpu1, api.PodRunning),
    				makePod("p4", "high-priority", nil, api.PodFailed),
    			},
    			quotaScopes: []corev1.ResourceQuotaScope{
    				corev1.ResourceQuotaScopePriorityClass,
    				corev1.ResourceQuotaScopeBestEffort,
    			},
    			quotaScopeSelector: &corev1.ScopeSelector{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  8. pkg/controller/podautoscaler/horizontal_test.go

    		reportedPodReadiness:    []v1.ConditionStatus{v1.ConditionTrue, v1.ConditionTrue, v1.ConditionFalse, v1.ConditionFalse},
    		reportedPodPhase:        []v1.PodPhase{v1.PodRunning, v1.PodRunning, v1.PodFailed, v1.PodFailed},
    		useMetricsAPI:           true,
    		expectedReportedReconciliationActionLabel: monitor.ActionLabelScaleUp,
    		expectedReportedReconciliationErrorLabel:  monitor.ErrorLabelNone,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  9. pkg/registry/core/pod/strategy.go

    		}
    	}
    	// if the pod is not scheduled, delete immediately
    	if len(pod.Spec.NodeName) == 0 {
    		period = 0
    	}
    	// if the pod is already terminated, delete immediately
    	if pod.Status.Phase == api.PodFailed || pod.Status.Phase == api.PodSucceeded {
    		period = 0
    	}
    
    	if period < 0 {
    		period = 1
    	}
    
    	// ensure the options and the pod are in sync
    	options.GracePeriodSeconds = &period
    	return true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  10. pkg/volume/util/util.go

    	// even if everything is notRunning (kubelet does not guarantee that when pod status is waiting that it isn't trying
    	// to start a container).
    	return podStatus.Phase == v1.PodFailed || podStatus.Phase == v1.PodSucceeded || (pod.DeletionTimestamp != nil && notRunning(podStatus.InitContainerStatuses) && notRunning(podStatus.ContainerStatuses) && notRunning(podStatus.EphemeralContainerStatuses))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.8K bytes
    - Viewed (0)
Back to top