- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 82 for pod12 (0.06 sec)
-
pkg/kubelet/cm/devicemanager/manager_test.go
as.Nil(err) err = testManager.Allocate(pod2, &pod2.Spec.Containers[0]) as.Nil(err) // when pod is in activePods, GetDeviceRunContainerOptions should return runContainerOpts, err := testManager.GetDeviceRunContainerOptions(pod1, &pod1.Spec.Containers[0]) as.Nil(err) as.Equal(len(runContainerOpts.Devices), 3) as.Equal(len(runContainerOpts.Mounts), 2)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 65K bytes - Viewed (0) -
pkg/kubelet/pod_workers_test.go
Pod: newNamedPod("2-static", "test1", "pod1", true), UpdateType: kubetypes.SyncPodUpdate, }) drainAllWorkers(podWorkers) // should observe both pods running pod1 := podWorkers.podSyncStatuses[types.UID("1-normal")] if pod1.IsTerminated() { t.Fatalf("unexpected pod state: %#v", pod1) } pod2 := podWorkers.podSyncStatuses[types.UID("2-static")] if pod2.IsTerminated() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 75.6K bytes - Viewed (0) -
pkg/controller/endpointslice/endpointslice_controller_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 65.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go
t.Errorf("found pod") } // Test List. store.Add(makeTestPod("pod1", 4)) store.Add(makeTestPod("pod2", 5)) store.Add(makeTestPod("pod3", 6)) { expected := map[string]storeElement{ "prefix/ns/pod1": *makeTestStoreElement(makeTestPod("pod1", 4)), "prefix/ns/pod2": *makeTestStoreElement(makeTestPod("pod2", 5)), "prefix/ns/pod3": *makeTestStoreElement(makeTestPod("pod3", 6)), }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 35.4K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/policy_static_test.go
assignments: state.ContainerMemoryAssignments{ "pod1": map[string][]state.Block{ "container1": { { NUMAAffinity: []int{0}, Type: hugepages1Gi, Size: gb, }, }, }, "pod2": map[string][]state.Block{ "container2": { { 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) -
pkg/controller/daemon/util/daemonset_util_test.go
templateGeneration, newPod("pod1", "node1", labels), hash, true, }, { "templateGeneration matches, hash doesn't", templateGeneration, newPod("pod1", "node1", labels), hash + "123", true, }, { "templateGeneration matches, no hash label, has hash", templateGeneration, newPod("pod1", "node1", labelsNoHash), hash, true, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 14.5K bytes - Viewed (0) -
pkg/kubelet/util/manager/watch_based_manager_test.go
steps: []step{ {"add", "ns1", "secret1", "pod1"}, {"add", "ns1", "secret1", "pod1"}, {"delete", "ns1", "secret1", "pod1"}, {"delete", "ns1", "secret1", "pod1"}, }, expects: []expect{ {"ns1", "secret1", "pod1", 1}, {"ns1", "secret1", "pod1", 2}, {"ns1", "secret1", "pod1", 1}, {"ns1", "secret1", "pod1", 0}, }, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 09 10:05:43 UTC 2023 - 17.2K bytes - Viewed (0) -
cmd/kubeadm/app/util/staticpod/utils.go
func ManifestFilesAreEqual(path1, path2 string) (bool, string, error) { pod1, err := ReadStaticPodFromDisk(path1) if err != nil { return false, "", err } pod2, err := ReadStaticPodFromDisk(path2) if err != nil { return false, "", err } hasher := md5.New() DeepHashObject(hasher, pod1) hash1 := hasher.Sum(nil)[0:] DeepHashObject(hasher, pod2) hash2 := hasher.Sum(nil)[0:] if bytes.Equal(hash1, hash2) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:56 UTC 2024 - 14.1K bytes - Viewed (0) -
pkg/scheduler/extender_test.go
podsInNodeList: []*v1.Pod{ st.MakePod().Name("pod1").UID("uid1").Obj(), st.MakePod().Name("pod2").UID("uid2").Obj(), st.MakePod().Name("pod3").UID("uid3").Obj(), st.MakePod().Name("pod4").UID("uid4").Obj(), }, nodeInfos: nil, want: map[string]*extenderv1.Victims{ "node1": { Pods: []*v1.Pod{ st.MakePod().Name("pod1").UID("uid1").Obj(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 19:07:19 UTC 2024 - 16.7K bytes - Viewed (0) -
pkg/scheduler/scheduler_test.go
}, }, waitSchedulingPods: []*v1.Pod{ 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"}, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 42K bytes - Viewed (0)