- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 76 for cpod2 (3.54 sec)
-
pkg/kubelet/volumemanager/cache/actual_state_of_world_test.go
} podName2 := util.GetUniquePodName(pod2) mounter2, err := plugin.NewMounter(volumeSpec2, pod2, volume.VolumeOptions{}) if err != nil { t.Fatalf("NewMounter failed. Expected: <no error> Actual: <%v>", err) } mapper2, err := plugin.NewBlockVolumeMapper(volumeSpec2, pod2, volume.VolumeOptions{}) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 46.3K bytes - Viewed (0) -
cni/pkg/nodeagent/net_test.go
} func TestSyncHostIPSetsIgnoresPodIPAddErrorAndContinues(t *testing.T) { pod1 := buildConvincingPod(false) pod2 := buildConvincingPod(false) pod2.ObjectMeta.SetUID("4455") fakeIPSetDeps := ipset.FakeNLDeps() var pod1UID string = string(pod1.ObjectMeta.UID) var pod2UID string = string(pod2.ObjectMeta.UID) ipProto := uint8(unix.IPPROTO_TCP) ctx, cancel := context.WithCancel(context.Background())
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 05:10:23 UTC 2024 - 17.8K bytes - Viewed (0) -
pkg/scheduler/extender_test.go
st.MakePod().Name("pod1").UID("uid1").Obj(), st.MakePod().Name("pod3").UID("uid3").Obj(), }, NumPDBViolations: 1, }, "node2": { Pods: []*v1.Pod{ st.MakePod().Name("pod2").UID("uid2").Obj(), st.MakePod().Name("pod4").UID("uid4").Obj(), }, NumPDBViolations: 2, }, }, want: map[string]*extenderv1.MetaVictims{ "node1": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 19:07:19 UTC 2024 - 16.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/test/apis_meta_v1_unstructed_unstructure_test.go
if err != nil { t.Fatalf("unexpected error: %v", err) } // ensure pod is still valid pod2, ok := obj2.(*testapigroup.Carp) if !ok { t.Fatalf("expected an *api.Pod, got %#v", obj2) } // ensure round-trip preserved large integers if !reflect.DeepEqual(pod, pod2) { t.Fatalf("Expected\n\t%#v, got \n\t%#v", pod, pod2) } } // TestAccessorMethods does opaque roundtrip testing against an Unstructured
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 05 20:12:50 UTC 2022 - 17.3K bytes - Viewed (0) -
pkg/scheduler/scheduler_test.go
st.MakePod().Name("pod1").UID("pod1").SchedulerName(testSchedulerProfile1).Obj(), st.MakePod().Name("pod2").UID("pod2").SchedulerName(testSchedulerProfile1).Obj(), st.MakePod().Name("pod3").UID("pod3").SchedulerName(testSchedulerProfile1).Obj(), }, expectPodNamesInWaitingPods: []string{"pod1", "pod2", "pod3"}, }, { name: "pods with different profiles are waiting on permit stage",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 42K bytes - Viewed (0) -
pkg/controller/endpointslice/endpointslice_controller_test.go
// ensure this pod will not match the selector pod2 := newPod(2, ns, true, 0, false) pod2.Labels["foo"] = "boo" esController.podStore.Add(pod2) standardSyncService(t, esController, ns, "testing-1") expectActions(t, client.Actions(), 1, "create", "endpointslices") // an endpoint slice should be created, it should only reference pod1 (not pod2)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 65.5K bytes - Viewed (0) -
pkg/scheduler/internal/queue/scheduling_queue_test.go
{podEnqueued: newQueuedPodInfoForLookup(pod)}, }, wantBackoffQPodNames: []string{"targetpod"}, wantInFlightPods: []*v1.Pod{pod2}, // only pod2 is registered because pod is already enqueued back. wantInFlightEvents: []interface{}{pod2, NodeAdd}, queueingHintMap: QueueingHintMapPerProfile{ "": { PvAdd: { { PluginName: "fooPlugin1", QueueingHintFn: queueHintReturnQueue,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 146.9K bytes - Viewed (0) -
pkg/controller/deployment/deployment_controller_test.go
rs2 := newReplicaSet(foo, "foo-1", 1) pod1 := generatePodFromRS(rs1) pod2 := generatePodFromRS(rs2) f.dLister = append(f.dLister, foo) // Let's pretend this is a different pod. The gist is that the pod lister needs to // return a non-empty list. f.podLister = append(f.podLister, pod1, pod2) c, _, err := f.newController(ctx) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 32.5K bytes - Viewed (0) -
pkg/scheduler/eventhandlers_test.go
}{ { name: "check nodeAffinity and nodeports, nodeAffinity need fail quickly if includeAllFailures is false", node: st.MakeNode().Name("fake-node").Label("foo", "bar").Obj(), pod: st.MakePod().Name("pod2").HostPort(80).NodeSelector(map[string]string{"foo": "bar1"}).Obj(), existingPods: []*v1.Pod{ st.MakePod().Name("pod1").HostPort(80).Obj(), },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 10 14:38:54 UTC 2024 - 21.5K bytes - Viewed (0) -
pkg/controller/daemon/daemon_controller_test.go
if got, want := key, expectedKey; got != want { t.Errorf("queue.Get() = %v, want %v", got, want) } pod2 := newPod("pod2-", "node-0", simpleDaemonSetLabel, ds2) prev = *pod2 bumpResourceVersion(pod2) manager.updatePod(logger, &prev, pod2) 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)