Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for pod_0 (0.04 sec)

  1. pkg/controller/endpointslice/endpointslice_controller_test.go

    					IPFamilies: []v1.IPFamily{v1.IPv4Protocol},
    				},
    			},
    			pods: []*v1.Pod{
    				{
    					ObjectMeta: metav1.ObjectMeta{
    						Namespace:         "default",
    						Name:              "pod0",
    						Labels:            map[string]string{"foo": "bar"},
    						DeletionTimestamp: nil,
    					},
    					Spec: v1.PodSpec{
    						Containers: []v1.Container{{
    							Name: "container-1",
    						}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  2. pkg/controller/statefulset/stateful_pod_control_test.go

    					t.Fatalf("could not update index: %v", err)
    				}
    				return true, update.GetObject(), nil
    			})
    			set := newStatefulSet(3)
    			set.GetObjectMeta().SetUID("set-123")
    			pod0 := newStatefulSetPod(set, 0)
    			claims0 := getPersistentVolumeClaims(set, pod0)
    			for k := range claims0 {
    				claim := claims0[k]
    				if tc.ownerRef != nil {
    					claim.SetOwnerReferences(tc.ownerRef)
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  3. pkg/volume/util/subpath/subpath_linux_test.go

    		}
    		if err = test.validate(base); err != nil {
    			t.Errorf("test %q failed validation: %v", test.name, err)
    		}
    
    		os.RemoveAll(base)
    	}
    }
    
    var (
    	testVol       = "vol1"
    	testPod       = "pod0"
    	testContainer = "container0"
    	testSubpath   = 1
    )
    
    func setupFakeMounter(testMounts []string) *mount.FakeMounter {
    	mounts := []mount.MountPoint{}
    	for _, mountPoint := range testMounts {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 10 16:52:55 UTC 2021
    - 37.3K bytes
    - Viewed (0)
  4. pkg/kubelet/server/stats/volume_stat_calculator_test.go

    	"k8s.io/kubernetes/pkg/features"
    	statstest "k8s.io/kubernetes/pkg/kubelet/server/stats/testing"
    	"k8s.io/kubernetes/pkg/volume"
    )
    
    const (
    	namespace0  = "test0"
    	pName0      = "pod0"
    	capacity    = int64(10000000)
    	available   = int64(5000000)
    	inodesTotal = int64(2000)
    	inodesFree  = int64(1000)
    
    	vol0          = "vol0"
    	vol1          = "vol1"
    	vol2          = "vol2"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. pkg/api/pod/warnings_test.go

    				t.Errorf("missing: %s", missing)
    			}
    			for _, extra := range sets.List[string](actual.Difference(expected)) {
    				t.Errorf("extra: %s", extra)
    			}
    		})
    
    		t.Run("pod_"+tc.name, func(t *testing.T) {
    			var pod *api.Pod
    			if tc.template != nil {
    				pod = &api.Pod{
    					ObjectMeta: tc.template.ObjectMeta,
    					Spec:       tc.template.Spec,
    				}
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  6. pkg/scheduler/schedule_one_test.go

    	}{
    		{
    			name:    "the extender is not a binder",
    			podName: "pod0",
    			extenders: []framework.Extender{
    				&fakeExtender{isBinder: false, interestedPodName: "pod0"},
    			},
    			wantBinderID: -1, // default binding.
    		},
    		{
    			name:    "one of the extenders is a binder and interested in pod",
    			podName: "pod0",
    			extenders: []framework.Extender{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go

    	createTestDir(t, fmt.Sprintf("%s/%s", tmpDir, "recursive/rc/rc_1"))
    	createTestDir(t, fmt.Sprintf("%s/%s", tmpDir, "inode/hardlink"))
    	defer os.RemoveAll(tmpDir)
    
    	// create test files
    	writeTestFile(t, fmt.Sprintf("%s/recursive/pod/busybox.json", tmpDir), strings.Replace(aPod, "{id}", "0", -1))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 11:58:41 UTC 2023
    - 56.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    			podWithOrphanFinalizer("pod9"),
    			nilOrphanOptions,
    			defaultDeleteStrategy,
    			false,
    			[]string{"foo.com/x", metav1.FinalizerOrphanDependents, "bar.com/y"},
    		},
    		{
    			podWithOrphanFinalizer("pod10"),
    			nilOrphanOptions,
    			orphanDeleteStrategy,
    			false,
    			[]string{"foo.com/x", metav1.FinalizerOrphanDependents, "bar.com/y"},
    		},
    		{
    			podWithOtherFinalizers("pod11"),
    			nilOrphanOptions,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  9. pkg/kubelet/stats/cri_stats_provider_test.go

    	seedContainer0 = 2000
    	seedSandbox1   = 3000
    	seedContainer1 = 4000
    	seedContainer2 = 5000
    	seedSandbox2   = 6000
    	seedContainer3 = 7000
    	seedSandbox3   = 8000
    )
    
    const (
    	pName0 = "pod0"
    	pName1 = "pod1"
    	pName2 = "pod2"
    )
    
    const (
    	cName0 = "container0-name"
    	cName1 = "container1-name"
    	cName2 = "container2-name"
    	cName3 = "container3-name"
    	cName5 = "container5-name"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/memorymanager/policy_static_test.go

    			assignments:                  state.ContainerMemoryAssignments{},
    			initContainersReusableMemory: reusableMemory{"pod0": map[string]map[v1.ResourceName]uint64{}},
    			expectedAssignments: state.ContainerMemoryAssignments{
    				"pod1": map[string][]state.Block{
    					"initContainer1": {
    						{
    							NUMAAffinity: []int{0},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 05:49:15 UTC 2023
    - 100.4K bytes
    - Viewed (0)
Back to top