Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for pod_0 (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/kubelet/kubelet_test.go

    					mem800MPodSpec.Containers[0].Name: mem800MPodSpec.Containers[0].Resources.Requests,
    				},
    			},
    		},
    		{
    			name: "No CPU and memory, resource allocation not exists",
    			pod:  podWithUIDNameNsSpec("10", "pod10", "foo", *emptyPodSpec),
    			expectedPodResourceAllocation: state.PodResourceAllocation{
    				"10": map[string]v1.ResourceList{
    					emptyPodSpec.Containers[0].Name: emptyPodSpec.Containers[0].Resources.Requests,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
Back to top