Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 68 for PodRunning (0.21 sec)

  1. pkg/controller/podautoscaler/horizontal_test.go

    		reportedPodPhase:             []v1.PodPhase{v1.PodRunning, v1.PodRunning, v1.PodRunning, v1.PodRunning, v1.PodRunning, v1.PodRunning, v1.PodRunning},
    		reportedPodDeletionTimestamp: []bool{false, false, false, false, false, true, true},
    		recommendations:              []timestampedRecommendation{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  2. pkg/kube/krt/bench_test.go

    				Labels: map[string]string{
    					"app": fmt.Sprintf("app-%d", i%25),
    				},
    			},
    			Spec: v1.PodSpec{
    				ServiceAccountName: "fake-sa",
    			},
    			Status: v1.PodStatus{
    				Phase: v1.PodRunning,
    				PodIP: GetIP(),
    			},
    		})
    	}
    	initialServices := []*v1.Service{}
    	for i := 0; i < 50; i++ {
    		initialServices = append(initialServices, &v1.Service{
    			ObjectMeta: metav1.ObjectMeta{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. pkg/kubelet/prober/common_test.go

    		ContainerID: testContainerID.String(),
    	}
    	containerStatus.State.Running = &v1.ContainerStateRunning{StartedAt: metav1.Now()}
    	containerStatus.Started = &started
    	podStatus := v1.PodStatus{
    		Phase:             v1.PodRunning,
    		ContainerStatuses: []v1.ContainerStatus{containerStatus},
    	}
    	return podStatus
    }
    
    func getTestPod() *v1.Pod {
    	container := v1.Container{
    		Name: testContainerName,
    	}
    	pod := v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 12 16:57:26 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. pkg/util/pod/pod_test.go

    				t.Errorf("expect patchBytes: %q, got: %q\n", tc.expectedPatchBytes, patchBytes)
    			}
    		})
    	}
    }
    
    func getPodStatus() v1.PodStatus {
    	return v1.PodStatus{
    		Phase: v1.PodRunning,
    		Conditions: []v1.PodCondition{
    			{
    				Type:   v1.PodReady,
    				Status: v1.ConditionTrue,
    			},
    			{
    				Type:   v1.PodScheduled,
    				Status: v1.ConditionTrue,
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 15:22:29 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_pods_test.go

    					},
    				},
    			},
    			false,
    			v1.PodRunning,
    			"all running",
    		},
    		{
    			&v1.Pod{
    				Spec: desiredState,
    				Status: v1.PodStatus{
    					ContainerStatuses: []v1.ContainerStatus{
    						stoppedState("containerA"),
    						stoppedState("containerB"),
    					},
    				},
    			},
    			false,
    			v1.PodRunning,
    			"all stopped with restart always",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  6. pkg/controller/volume/pvcprotection/pvc_protection_controller_test.go

    		//
    		// Pod events
    		//
    		{
    			name: "updated running Pod -> no action",
    			initialObjects: []runtime.Object{
    				deleted(withProtectionFinalizer(pvc())),
    			},
    			updatedPod:      withStatus(v1.PodRunning, withPVC(defaultPVCName, pod())),
    			expectedActions: []clienttesting.Action{},
    		},
    		{
    			name: "updated finished Pod -> finalizer is not removed",
    			initialObjects: []runtime.Object{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  7. pkg/controller/deployment/recreate_test.go

    			oldRSs: []*apps.ReplicaSet{newRSWithStatus("rs-1", 0, 0, nil)},
    			podMap: map[types.UID][]*v1.Pod{
    				"uid-1": {
    					{
    						Status: v1.PodStatus{
    							Phase: v1.PodRunning,
    						},
    					},
    				},
    			},
    			hasOldPodsRunning: true,
    		},
    		{
    			name:   "old RSs with zero status replicas but pods in terminal state and pending are present",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  8. pkg/test/framework/components/istio/eastwest.go

    			LabelSelector: eastWestIngressIstioLabel,
    		})
    		if err != nil {
    			return err
    		}
    		for _, p := range pods.Items {
    			if p.Status.Phase == corev1.PodRunning {
    				return nil
    			}
    		}
    		return fmt.Errorf("no ready pods for " + eastWestIngressIstioLabel)
    	}, componentDeployTimeout, componentDeployDelay); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 10 02:30:20 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  9. istioctl/pkg/internaldebug/internal-debug_test.go

    						Labels: map[string]string{
    							"app":                 "istiod",
    							label.IoIstioRev.Name: c.revision,
    						},
    					},
    					Status: corev1.PodStatus{
    						Phase: corev1.PodRunning,
    					},
    				}, metav1.CreateOptions{})
    				assert.NoError(t, err)
    			}
    			verifyExecTestOutput(t, DebugCommand(ctx), c)
    		})
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 08:28:50 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. istioctl/pkg/util/handlers/handlers_test.go

    				{
    					EphemeralContainerCommon: corev1.EphemeralContainerCommon{
    						Name: "debugger",
    					},
    				},
    			},
    		},
    		Status: corev1.PodStatus{
    			Phase: corev1.PodRunning,
    		},
    	}
    }
    
    func attachDeploy(ns string) *appsv1.Deployment {
    	return &appsv1.Deployment{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "foo",
    			Namespace: ns,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 09 18:17:49 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top