Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 102 for Pods (0.05 sec)

  1. pkg/scheduler/framework/runtime/framework.go

    	// nominated pods, we run them when those pods are added to PreFilter state and nodeInfo.
    	// If all filters succeed in this pass, we run them again when these
    	// nominated pods are not added. This second pass is necessary because some
    	// filters such as inter-pod affinity may not pass without the nominated pods.
    	// If there are no nominated pods for the node or if the first run of the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	s.addPods(t, "127.0.0.1", "pod1", "sa1", map[string]string{"app": "a"}, nil, true, corev1.PodRunning)
    	s.assertEvent(t, s.podXdsName("pod1"))
    
    	// Now add a service that will select pods with label "a".
    	s.addService(t, "svc1",
    		map[string]string{},
    		map[string]string{},
    		[]int32{80}, map[string]string{"app": "a"}, "10.0.0.1")
    	s.assertEvent(t, s.podXdsName("pod1"), s.svcXdsName("svc1"))
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  3. pkg/kubelet/server/server_test.go

    }
    
    func TestTrimURLPath(t *testing.T) {
    	tests := []struct {
    		path, expected string
    	}{
    		{"", ""},
    		{"//", ""},
    		{"/pods", "pods"},
    		{"pods", "pods"},
    		{"pods/", "pods"},
    		{"good/", "good"},
    		{"pods/probes", "pods"},
    		{"metrics", "metrics"},
    		{"metrics/resource", "metrics/resource"},
    		{"metrics/hello", "metrics/hello"},
    	}
    
    	for _, test := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  4. plugin/pkg/admission/limitranger/admission_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/serviceregistry_test.go

    			Address: pod.Status.PodIP,
    			Port:    80,
    		}}
    		expectServiceEndpoints(t, fx, expectedSvc, 80, instances)
    
    		// when pods become unready, we should see the instances being removed from the registry
    		setPodUnready(pod)
    		_, err := kube.CoreV1().Pods(pod.Namespace).UpdateStatus(context.TODO(), pod, metav1.UpdateOptions{})
    		if err != nil {
    			t.Fatal(err)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  6. pkg/controller/statefulset/stateful_set_utils_test.go

    	}
    }
    
    func TestAscendingOrdinal(t *testing.T) {
    	set := newStatefulSet(10)
    	pods := make([]*v1.Pod, 10)
    	perm := rand.Perm(10)
    	for i, v := range perm {
    		pods[i] = newStatefulSetPod(set, v)
    	}
    	sort.Sort(ascendingOrdinal(pods))
    	if !sort.IsSorted(ascendingOrdinal(pods)) {
    		t.Error("ascendingOrdinal fails to sort Pods")
    	}
    }
    
    func TestOverlappingStatefulSets(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  7. pkg/apis/autoscaling/v2beta2/zz_generated.conversion.go

    	out.Type = autoscaling.MetricSourceType(in.Type)
    	out.Object = (*autoscaling.ObjectMetricSource)(unsafe.Pointer(in.Object))
    	out.Pods = (*autoscaling.PodsMetricSource)(unsafe.Pointer(in.Pods))
    	out.Resource = (*autoscaling.ResourceMetricSource)(unsafe.Pointer(in.Resource))
    	if in.ContainerResource != nil {
    		in, out := &in.ContainerResource, &out.ContainerResource
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 60.9K bytes
    - Viewed (0)
  8. pkg/apis/autoscaling/v2/zz_generated.conversion.go

    	out.Type = autoscaling.MetricSourceType(in.Type)
    	out.Object = (*autoscaling.ObjectMetricSource)(unsafe.Pointer(in.Object))
    	out.Pods = (*autoscaling.PodsMetricSource)(unsafe.Pointer(in.Pods))
    	out.Resource = (*autoscaling.ResourceMetricSource)(unsafe.Pointer(in.Resource))
    	if in.ContainerResource != nil {
    		in, out := &in.ContainerResource, &out.ContainerResource
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 09 02:34:54 UTC 2021
    - 58.5K bytes
    - Viewed (0)
  9. pkg/apis/autoscaling/validation/validation_test.go

    					Value:         7,
    					PeriodSeconds: 8,
    				}},
    			},
    		},
    		msg: `spec.behavior.scaleUp.policies[0].type: Unsupported value: "hm": supported values: "Percent", "Pods"`,
    	}, {
    		behavior: autoscaling.HorizontalPodAutoscalerBehavior{
    			ScaleUp: &autoscaling.HPAScalingRules{
    				Policies: []autoscaling.HPAScalingPolicy{{
    					Type:  autoscaling.PodsScalingPolicy,
    					Value: 8,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  10. pkg/controller/volume/persistentvolume/pv_controller.go

    	pods := []*v1.Pod{}
    	objs, err := ctrl.podIndexer.ByIndex(common.PodPVCIndex, key)
    	if err != nil {
    		return pods, err
    	}
    	for _, obj := range objs {
    		pod, ok := obj.(*v1.Pod)
    		if !ok {
    			continue
    		}
    		pods = append(pods, pod)
    	}
    	return pods, err
    }
    
    // isVolumeUsed returns list of active pods that use given PV.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
Back to top