Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for PodDisruptionConditions (0.22 sec)

  1. pkg/kubelet/eviction/eviction_manager_test.go

    	for name, tc := range testCases {
    		for _, enablePodDisruptionConditions := range []bool{false, true} {
    			t.Run(fmt.Sprintf("%s;PodDisruptionConditions=%v", name, enablePodDisruptionConditions), func(t *testing.T) {
    				featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.PodDisruptionConditions, enablePodDisruptionConditions)
    
    				podMaker := makePodWithMemoryStats
    				summaryStatsMaker := makeMemoryStats
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  2. pkg/controller/job/job_controller_test.go

    				},
    			},
    			wantStatusActive:    0,
    			wantStatusFailed:    1,
    			wantStatusSucceeded: 0,
    		},
    		"terminating Pod considered failed when PodDisruptionConditions is disabled": {
    			enableJobPodFailurePolicy: true,
    			job: batch.Job{
    				TypeMeta:   metav1.TypeMeta{Kind: "Job"},
    				ObjectMeta: validObjectMeta,
    				Spec: batch.JobSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods_test.go

    		expectedPodReadyToStartContainersCondition v1.PodCondition
    	}{
    		{
    			name: "pod disruption condition is copied over and the phase is set to failed when deleted; PodDisruptionConditions enabled",
    			pod: &v1.Pod{
    				Spec: desiredState,
    				Status: v1.PodStatus{
    					ContainerStatuses: []v1.ContainerStatus{
    						runningState("containerA"),
    						runningState("containerB"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_pods.go

    	for _, c := range pod.Status.Conditions {
    		if !kubetypes.PodConditionByKubelet(c.Type) {
    			s.Conditions = append(s.Conditions, c)
    		}
    	}
    
    	if utilfeature.DefaultFeatureGate.Enabled(features.PodDisruptionConditions) {
    		// copy over the pod disruption conditions from state which is already
    		// updated during the eviciton (due to either node resource pressure or
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
Back to top