Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for pod_0 (0.07 sec)

  1. pkg/scheduler/framework/plugins/volumezone/volume_zone_test.go

    		NumNodes  int
    		PreFilter bool
    	}{
    		{
    			Name:      "with prefilter",
    			Pod:       createPodWithVolume("pod_0", "PVC_Stable_0"),
    			NumPV:     1000,
    			NumPVC:    1000,
    			NumNodes:  1000,
    			PreFilter: true,
    		},
    		{
    			Name:      "without prefilter",
    			Pod:       createPodWithVolume("pod_0", "PVC_Stable_0"),
    			NumPV:     1000,
    			NumPVC:    1000,
    			NumNodes:  1000,
    			PreFilter: false,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 14 05:17:04 UTC 2023
    - 20K bytes
    - Viewed (0)
  2. pkg/kubelet/metrics/collectors/resource_metrics_test.go

    				container_cpu_usage_seconds_total{container="container_a",namespace="namespace_a",pod="pod_a"} 10 1624396278302
    				container_cpu_usage_seconds_total{container="container_a",namespace="namespace_b",pod="pod_b"} 10 1624396278302
    				container_cpu_usage_seconds_total{container="container_b",namespace="namespace_a",pod="pod_a"} 10 1624396278302
    				# HELP container_memory_working_set_bytes [STABLE] Current working set of the container in bytes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 15.3K bytes
    - Viewed (1)
  3. pkg/kubelet/stats/cadvisor_stats_provider_test.go

    	assert.Len(t, filteredInfos, 5)
    	assert.Len(t, allInfos, 11)
    	for _, c := range []string{"/pod0-i", "/pod0-c0"} {
    		if _, found := filteredInfos[c]; !found {
    			t.Errorf("%q is expected to be in the output\n", c)
    		}
    	}
    
    	expectedInfoKeys := []string{"pod0-i-terminated-1", "pod0-c0-terminated-1", "pod0-i-terminated-2", "pod0-c0-terminated-2", "pod0-i", "pod0-c0"}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  4. pkg/controller/daemon/update_test.go

    				return ds
    			}(),
    			nodeToPods: func() map[string][]*v1.Pod {
    				mapping := make(map[string][]*v1.Pod)
    				pod0 := newPod("pod-0", "node-0", simpleDaemonSetLabel, nil)
    				pod1 := newPod("pod-1", "node-1", simpleDaemonSetLabel, nil)
    				markPodReady(pod0)
    				markPodReady(pod1)
    				mapping["node-0"] = []*v1.Pod{pod0}
    				mapping["node-1"] = []*v1.Pod{pod1}
    				return mapping
    			}(),
    			maxUnavailable:         1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 10 21:10:35 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  5. plugin/pkg/auth/authorizer/node/node_authorizer_test.go

    			expect: authorizer.DecisionAllow,
    		},
    		{
    			name:   "allowed secret via pod",
    			attrs:  authorizer.AttributesRecord{User: node0, ResourceRequest: true, Verb: "get", Resource: "secrets", Name: "secret0-pod0-node0", Namespace: "ns0"},
    			expect: authorizer.DecisionAllow,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  6. pkg/controller/controller_utils_test.go

    								{Key: "key2", Value: "value2", Effect: "NoExecute"},
    							},
    						},
    					},
    				},
    				Clientset: fake.NewSimpleClientset(&v1.PodList{Items: []v1.Pod{*testutil.NewPod("pod0", "node0")}}),
    			},
    			nodeName: "node1",
    			taintsToRemove: []*v1.Taint{
    				{Key: "key2", Value: "value2", Effect: "NoExecute"},
    			},
    			expectedTaints: []v1.Taint{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
Back to top