- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 169 for newpod (0.3 sec)
-
pkg/scheduler/framework/plugins/nodeports/node_ports_test.go
wantPreFilterStatus: framework.NewStatus(framework.Skip), }, { pod: newPod("m1", "UDP/127.0.0.1/8080"), nodeInfo: framework.NewNodeInfo( newPod("m1", "UDP/127.0.0.1/9090")), name: "other port", }, { pod: newPod("m1", "UDP/127.0.0.1/8080"), nodeInfo: framework.NewNodeInfo( newPod("m1", "UDP/127.0.0.1/8080")), name: "same udp port",
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/tainteviction/taint_eviction_test.go
prevPod *corev1.Pod newPod *corev1.Pod oldNode *corev1.Node newNode *corev1.Node expectPatch bool expectDelete bool }{ { description: "existing pod2 scheduled onto tainted Node", pods: []corev1.Pod{ *testutil.NewPod("pod1", "node1"), }, prevPod: testutil.NewPod("pod2", ""), newPod: testutil.NewPod("pod2", "node1"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 31.3K bytes - Viewed (0) -
pkg/api/pod/util_test.go
} DropDisabledPodFields(newPod, newPod) require.Equal(t, &test.pod, newPod, "unchanged pod should never be mutated") DropDisabledPodFields(newPod, nil) if enabled && fieldsEnabled { assert.Equal(t, &test.pod, newPod, "pod should not be mutated when both feature gates are enabled") return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 108.8K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/nodevolumelimits/csi_test.go
wantPreFilterStatus *framework.Status }{ { newPod: csiEBSOneVolPod, existingPods: []*v1.Pod{runningPod, csiEBSTwoVolPod}, filterName: "csi", maxVols: 4, driverNames: []string{ebsCSIDriverName}, test: "fits when node volume limit >= new pods CSI volume", limitSource: "node", }, { newPod: csiEBSOneVolPod,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 18:07:11 UTC 2024 - 28.6K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/attach_detach_controller_test.go
newPod1 := controllervolumetesting.NewPodWithVolume("newpod-1", "volumeName2", "mynode-1") attachDetachRecoveryTestCase(t, []*v1.Pod{newPod1}, []*v1.Pod{}) newPod1 = controllervolumetesting.NewPodWithVolume("newpod-1", "volumeName2", "mynode-1") attachDetachRecoveryTestCase(t, []*v1.Pod{}, []*v1.Pod{newPod1}) newPod1 = controllervolumetesting.NewPodWithVolume("newpod-1", "volumeName2", "mynode-1")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 11:00:37 UTC 2024 - 24.2K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/nodevolumelimits/non_csi_test.go
}, }).Obj() tests := []struct { newPod *v1.Pod existingPods []*v1.Pod extraClaims []v1.PersistentVolumeClaim ephemeralEnabled bool maxVols int32 test string wantStatus *framework.Status wantPreFilterStatus *framework.Status }{ { newPod: ephemeralVolumePod, ephemeralEnabled: true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Dec 30 23:00:56 UTC 2023 - 36.8K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/interpodaffinity/plugin_test.go
tests := []struct { name string pod *v1.Pod oldPod, newPod *v1.Pod expectedHint framework.QueueingHint }{ { name: "add a pod which matches the pod affinity", pod: st.MakePod().Name("p").PodAffinityIn("service", "region", []string{"securityscan", "value2"}, st.PodAffinityWithRequiredReq).Obj(), newPod: st.MakePod().Node("fake-node").Label("service", "securityscan").Obj(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 12 03:08:44 UTC 2024 - 9.7K bytes - Viewed (0) -
pkg/kubelet/config/common.go
if err != nil { return false, pods, err } newPods, ok := obj.(*api.PodList) // Check whether the object could be converted to list of pods. if !ok { err = fmt.Errorf("invalid pods list: %#v", obj) return false, pods, err } // Apply default values and validate pods. for i := range newPods.Items { newPod := &newPods.Items[i] if newPod.Name == "" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 18:40:48 UTC 2023 - 5.8K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/podtopologyspread/plugin_test.go
Obj(), newPod: st.MakePod().Node("fake-node").Label("foo", "").Obj(), expectedHint: framework.Queue, }, { name: "add un-scheduled pod", pod: st.MakePod().Name("p").Label("foo", ""). SpreadConstraint(1, "zone", v1.DoNotSchedule, fooSelector, nil, nil, nil, nil). Obj(), newPod: st.MakePod().Label("foo", "").Obj(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 17 06:30:53 UTC 2023 - 13K bytes - Viewed (0) -
pkg/apis/core/v1/helper/qos/qos_test.go
testCases := []struct { pod *v1.Pod expected v1.PodQOSClass }{ { pod: newPod("guaranteed", []v1.Container{ newContainer("guaranteed", getResourceList("100m", "100Mi"), getResourceList("100m", "100Mi")), }), expected: v1.PodQOSGuaranteed, }, { pod: newPod("guaranteed-guaranteed", []v1.Container{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 07 14:47:37 UTC 2023 - 6.2K bytes - Viewed (0)