- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 75 for pod17 (0.04 sec)
-
pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_workloadentry_test.go
s.addPods(t, "127.0.0.201", "pod1", "pod1", map[string]string{"app": "a"}, nil, true, corev1.PodRunning) s.assertEvent(t, s.podXdsName("pod1")) s.addService(t, "svc1", map[string]string{}, // labels map[string]string{}, // annotations []int32{80}, map[string]string{"app": "a"}, // selector "10.0.0.1", ) s.assertEvent(t, s.podXdsName("pod1"), "ns1/svc1.ns1.svc.company.com") s.clearEvents()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 01:04:50 UTC 2024 - 15.6K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/nodeports/node_ports_test.go
t.Errorf("status does not match: %v, want: %v", gotStatus, wantStatus) } } func TestGetContainerPorts(t *testing.T) { tests := []struct { pod1 *v1.Pod pod2 *v1.Pod expected []*v1.ContainerPort }{ { pod1: st.MakePod().ContainerPort([]v1.ContainerPort{ { ContainerPort: 8001, HostPort: 8001, Protocol: v1.ProtocolTCP, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 19 11:02:11 UTC 2023 - 10.1K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/cache/desired_state_of_world_test.go
if len(volumesToAttach) != 0 { t.Fatalf("len(volumesToAttach) Expected: <0> Actual: <%v>", len(volumesToAttach)) } } // Populates data struct with pod1/volume/node and pod2/volume/node. // Calls DeleteNode() to delete the pod1/volume/node. // Verifies volume still exists, and one volumes to attach. func Test_DeletePod_Positive_2PodsExistNodeExistsVolumesExist(t *testing.T) { // Arrange
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 10:42:15 UTC 2024 - 35.9K bytes - Viewed (0) -
tools/bug-report/pkg/cluster/cluster_test.go
{ Namespaces: []string{"ex-"}, }, }, }, true, }, { "tested pod name not skip", &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "in-pod1", }, }, &config2.BugReportConfig{ Include: []*config2.SelectionSpec{ { Pods: []string{"in-"}, }, }, Exclude: []*config2.SelectionSpec{ {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jul 06 17:23:32 UTC 2023 - 11K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go
func TestWatchCacheBasic(t *testing.T) { store := newTestWatchCache(2, &cache.Indexers{}) defer store.Stop() // Test Add/Update/Delete. pod1 := makeTestPod("pod", 1) if err := store.Add(pod1); err != nil { t.Errorf("unexpected error: %v", err) } if item, ok, _ := store.Get(pod1); !ok { t.Errorf("didn't find pod") } else { expected := makeTestStoreElement(makeTestPod("pod", 1))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 35.4K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/manager_test.go
as.Nil(err) err = testManager.Allocate(pod2, &pod2.Spec.Containers[0]) as.Nil(err) // when pod is in activePods, GetDeviceRunContainerOptions should return runContainerOpts, err := testManager.GetDeviceRunContainerOptions(pod1, &pod1.Spec.Containers[0]) as.Nil(err) as.Equal(len(runContainerOpts.Devices), 3) as.Equal(len(runContainerOpts.Mounts), 2)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 65K bytes - Viewed (0) -
pkg/volume/fc/fc_test.go
fm := mount.NewFakeMounter( []mount.MountPoint{ {Device: "/dev/sdd", Path: "/var/lib/kubelet/pods/some-pod/volumes/kubernetes.io~fc/fc-in-pod1"}, }) mountPaths := []string{ "/var/lib/kubelet/pods/some-pod/volumes/kubernetes.io~fc/fc-in-pod1", } for _, path := range mountPaths { refs, _ := fm.GetMountRefs(path) var globalPDPath string for _, ref := range refs {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 01 15:56:32 UTC 2022 - 14.1K bytes - Viewed (0) -
pkg/controller/daemon/daemon_controller_test.go
if err != nil { t.Fatal(err) } err = manager.dsStore.Add(ds2) if err != nil { t.Fatal(err) } pod1 := newPod("pod1-", "node-0", simpleDaemonSetLabel, ds1) prev := *pod1 bumpResourceVersion(pod1) manager.updatePod(logger, &prev, pod1) if got, want := manager.queue.Len(), 1; got != want { t.Fatalf("queue.Len() = %v, want %v", got, want) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.4K bytes - Viewed (0) -
pkg/controller/endpoint/endpoints_controller_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 87.7K bytes - Viewed (0) -
pkg/scheduler/extender_test.go
podsInNodeList: []*v1.Pod{ st.MakePod().Name("pod1").UID("uid1").Obj(), st.MakePod().Name("pod2").UID("uid2").Obj(), st.MakePod().Name("pod3").UID("uid3").Obj(), st.MakePod().Name("pod4").UID("uid4").Obj(), }, nodeInfos: nil, want: map[string]*extenderv1.Victims{ "node1": { Pods: []*v1.Pod{ st.MakePod().Name("pod1").UID("uid1").Obj(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 19:07:19 UTC 2024 - 16.7K bytes - Viewed (0)