Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for poda (0.04 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    			out: &example.PodList{Items: []example.Pod{}},
    		},
    		"normal": {
    			in:  &example.PodList{Items: []example.Pod{*podA, *podB}},
    			m:   matchEverything(),
    			out: &example.PodList{Items: []example.Pod{*podA, *podB}},
    		},
    		"normalFiltered": {
    			in:  &example.PodList{Items: []example.Pod{*podA, *podB}},
    			m:   matchPodName("foo"),
    			out: &example.PodList{Items: []example.Pod{*podB}},
    		},
    		"normalFilteredNoNamespace": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  2. tests/integration/pilot/mirror_test.go

    					// we only apply to config clusters
    					t.ConfigIstio().EvalFile(apps.Namespace.Name(), vsc, "testdata/traffic-mirroring-template.yaml").
    						ApplyOrFail(t)
    
    					for _, podA := range apps.A {
    						podA := podA
    						t.NewSubTest(fmt.Sprintf("from %s", podA.Config().Cluster.StableName())).Run(func(t framework.TestContext) {
    							for _, proto := range mirrorProtocols {
    								t.NewSubTest(string(proto)).Run(func(t framework.TestContext) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go

    			patchBytes: []byte(test.patch),
    		}
    		jp := jsonPatcher{patcher: p}
    		codec := codecs.LegacyCodec(examplev1.SchemeGroupVersion)
    		pod := &examplev1.Pod{}
    		pod.Name = "podA"
    		pod.ObjectMeta.Finalizers = []string{"foo"}
    		versionedJS, err := runtime.Encode(codec, pod)
    		if err != nil {
    			t.Errorf("%s: unexpected error: %v", test.name, err)
    			continue
    		}
    		_, _, err = jp.applyJSPatch(versionedJS)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_test.go

    	// resources)
    	pods[7].Status.Phase = v1.PodFailed
    	kubelet.podWorkers.(*fakePodWorkers).terminationRequested = map[types.UID]bool{
    		pods[7].UID: true,
    	}
    
    	expected := []*v1.Pod{pods[2], pods[3], pods[4], pods[7]}
    	kubelet.podManager.SetPods(pods)
    	actual := kubelet.filterOutInactivePods(pods)
    	assert.Equal(t, expected, actual)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	s.assertEvent(t, s.podXdsName("pod4"))
    	s.clearEvents()
    
    	// Delete it, should remove from the Service as well
    	s.deletePod(t, "pod4")
    	s.assertAddresses(t, "", "pod1", "pod2", "pod3", "svc1")
    	s.assertAddresses(t, s.addrXdsName("10.0.0.1"), "pod1", "pod2", "svc1")
    	s.assertAddresses(t, s.addrXdsName("127.0.0.4")) // Should not be accessible anymore
    	s.assertAddresses(t, s.podXdsName("pod4"))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  6. pkg/dns/server/name_table_test.go

    		makeServiceInstances(pod1, headlessService, "pod1", "headless-svc"))
    	push.AddServiceInstances(headlessService,
    		makeServiceInstances(pod2, headlessService, "pod2", "headless-svc"))
    	push.AddServiceInstances(headlessService,
    		makeServiceInstances(pod3, headlessService, "pod3", "headless-svc"))
    	push.AddServiceInstances(headlessService,
    		makeServiceInstances(pod4, headlessService, "pod4", "headless-svc"))
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 25 04:26:03 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. pkg/kubelet/stats/cadvisor_stats_provider_test.go

    	assert.Len(t, filteredInfos, 5)
    	assert.Len(t, allInfos, 11)
    	for _, c := range []string{"/pod0-i", "/pod0-c0"} {
    		if _, found := filteredInfos[c]; !found {
    			t.Errorf("%q is expected to be in the output\n", c)
    		}
    	}
    
    	expectedInfoKeys := []string{"pod0-i-terminated-1", "pod0-c0-terminated-1", "pod0-i-terminated-2", "pod0-c0-terminated-2", "pod0-i", "pod0-c0"}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  8. pkg/kubelet/eviction/helpers_test.go

    		pod8: newPodMemoryStats(pod8, resource.MustParse("200Mi")), // -800 relative to request
    	}
    	statsFn := func(pod *v1.Pod) (statsapi.PodStats, bool) {
    		result, found := stats[pod]
    		return result, found
    	}
    	pods := []*v1.Pod{pod8, pod7, pod6, pod5, pod4, pod3, pod2, pod1}
    	expected := []*v1.Pod{pod1, pod2, pod3, pod4, pod5, pod6, pod7, pod8}
    	orderedBy(exceedMemoryRequests(statsFn), priority, memory(statsFn)).Sort(pods)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/cache/desired_state_of_world_test.go

    	verifyVolumeExistsWithSpecNameInVolumeDsw(t, podName, volumeSpec.Name(), dsw)
    
    	// Arrange: prepare a different pod with the same context
    	pod2 := pod.DeepCopy()
    	pod2.Name = "pod2"
    	pod2.UID = "pod2uid"
    	pod2Name := util.GetUniquePodName(pod)
    
    	// Act
    	generatedVolumeName2, err := dsw.AddPodToVolume(
    		pod2Name, pod2, volumeSpec, volumeSpec.Name(), "" /* volumeGidValue */, seLinuxContainerContexts)
    	// Assert
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 34K bytes
    - Viewed (0)
  10. hack/testdata/sorted-pods/sorted-pod3.yaml

    apiVersion: v1
    kind: Pod
    metadata:
      name: sorted-pod3
      creationTimestamp: "2018-08-30T14:10:53Z"
      labels:
        name: sorted-pod1-label
    spec:
      containers:
      - name: kubernetes-pause3
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 223 bytes
    - Viewed (0)
Back to top