Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 71 for PodRunning (0.49 sec)

  1. pkg/quota/v1/evaluator/core/pods_test.go

    		want               corev1.ResourceList
    	}{
    		{
    			name: "nil case",
    		},
    		{
    			name: "all pods in running state",
    			objs: []runtime.Object{
    				makePod("p1", "", cpu1, api.PodRunning),
    				makePod("p2", "", cpu1, api.PodRunning),
    			},
    			want: corev1.ResourceList{
    				corev1.ResourcePods:               resource.MustParse("2"),
    				corev1.ResourceName("count/pods"): resource.MustParse("2"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  2. pkg/controller/replicaset/replica_set_test.go

    	now := metav1.Now()
    	pendingDeletionRS.DeletionTimestamp = &now
    	pod1 := newPod("pod1", someRS, v1.PodRunning, nil, true)
    	pod2 := newPod("pod2", someRS, v1.PodRunning, nil, true)
    	pod3 := newPod("pod3", relatedRS, v1.PodRunning, nil, true)
    	pod4 := newPod("pod4", unrelatedRS, v1.PodRunning, nil, true)
    	logger, _ := ktesting.NewTestContext(t)
    
    	stopCh := make(chan struct{})
    	defer close(stopCh)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_serviceentry_test.go

    	s := newAmbientTestServer(t, testC, testNW)
    
    	s.addPods(t, "140.140.0.10", "pod1", "sa1", map[string]string{"app": "a"}, nil, true, corev1.PodRunning)
    	s.assertEvent(t, s.podXdsName("pod1"))
    	s.addPods(t, "140.140.0.11", "pod2", "sa1", map[string]string{"app": "other"}, nil, true, corev1.PodRunning)
    	s.assertEvent(t, s.podXdsName("pod2"))
    	s.addWorkloadEntries(t, "240.240.34.56", "name1", "sa1", map[string]string{"app": "a"})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 03:01:04 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. pkg/registry/core/pod/storage/eviction_test.go

    			expectError: "Cannot evict pod as it would violate the pod's disruption budget.: TooManyRequests: The disruption budget foo needs 0 healthy pods and has 0 currently",
    			podPhase:    api.PodRunning,
    			podName:     "t1",
    			policies:    []*policyv1.UnhealthyPodEvictionPolicyType{nil, unhealthyPolicyPtr(policyv1.IfHealthyBudget)}, // AlwaysAllow would terminate the pod since Running pods are not guarded by this policy
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 09:26:37 UTC 2024
    - 40K bytes
    - Viewed (0)
  5. istioctl/pkg/describe/describe_test.go

    										ContainerPort: 9080,
    									},
    								},
    							},
    							{
    								Name: "istio-proxy",
    							},
    						},
    					},
    					Status: corev1.PodStatus{
    						Phase: corev1.PodRunning,
    						ContainerStatuses: []corev1.ContainerStatus{
    							{
    								Name:  "istio-proxy",
    								Ready: true,
    							},
    						},
    					},
    				},
    				&corev1.Pod{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:54:01 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    			pod: &v1.Pod{
    				TypeMeta: metav1.TypeMeta{},
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "name",
    					Namespace: "ns",
    				},
    				Spec: v1.PodSpec{},
    				Status: v1.PodStatus{
    					Phase: v1.PodRunning,
    					PodIP: "1.2.3.4",
    				},
    			},
    			result: &workloadapi.Workload{
    				Uid:               "cluster0//Pod/ns/name",
    				Name:              "name",
    				Namespace:         "ns",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. pkg/volume/util/recyclerclient/recycler_client_test.go

    				newEvent(v1.EventTypeNormal, "Created container with docker id 83d929aeac82"),
    				newEvent(v1.EventTypeNormal, "Started container with docker id 83d929aeac82"),
    				newPodEvent(watch.Modified, "podRecyclerSuccess", v1.PodRunning, ""),
    				newPodEvent(watch.Modified, "podRecyclerSuccess", v1.PodSucceeded, ""),
    			},
    			expectedEvents: []mockEvent{
    				{v1.EventTypeNormal, "Successfully assigned recycler-for-podRecyclerSuccess to 127.0.0.1"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 14:16:53 UTC 2022
    - 8.5K bytes
    - Viewed (0)
  8. pkg/controller/job/job_controller_test.go

    			1, 1, 0,
    			false, []int32{0}, v1.PodRunning,
    			1, 0, 0, nil, "",
    		},
    		"backoffLimit 1 with restartCount 0 should have 1 pod active": {
    			1, 1, 1,
    			false, []int32{0}, v1.PodRunning,
    			1, 0, 0, nil, "",
    		},
    		"backoffLimit 1 with restartCount 1 and podRunning should have 0 pod active": {
    			1, 1, 1,
    			false, []int32{1}, v1.PodRunning,
    			0, 0, 1, &jobConditionFailed, "BackoffLimitExceeded",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  9. pilot/pkg/controllers/untaint/nodeuntainter_test.go

    		pod.Status = corev1.PodStatus{}
    		newPod := s.pc.Create(pod)
    		if markReady {
    			setPodReady(newPod)
    		}
    		newPod.Status.PodIP = ip
    		newPod.Status.Phase = corev1.PodRunning
    		newPod.Status.PodIPs = []corev1.PodIP{
    			{
    				IP: ip,
    			},
    		}
    		s.pc.UpdateStatus(newPod)
    	} else {
    		s.pc.Update(pod)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 00:50:31 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. pkg/controller/job/tracking_utils_test.go

    			},
    		},
    		"pod with finalizer fails": {
    			oldPod: &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Finalizers: []string{batch.JobTrackingFinalizer},
    				},
    				Status: v1.PodStatus{
    					Phase: v1.PodRunning,
    				},
    			},
    			newPod: &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Finalizers: []string{batch.JobTrackingFinalizer},
    				},
    				Status: v1.PodStatus{
    					Phase: v1.PodFailed,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 14 05:40:02 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top