- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 82 for pod12 (0.04 sec)
-
pkg/kubelet/volumemanager/cache/desired_state_of_world_test.go
Level: "s0:c3,c4", } seLinuxContainerContexts2 := []*v1.SELinuxOptions{&seLinux2} pod2 := pod.DeepCopy() pod2.Name = "pod2" pod2.UID = "pod2uid" pod2.Spec.SecurityContext.SELinuxOptions = &seLinux2 pod2Name := util.GetUniquePodName(pod2) // Act _, err = dsw.AddPodToVolume( pod2Name, pod2, volumeSpec, volumeSpec.Name(), "" /* volumeGidValue */, seLinuxContainerContexts2) // Assert if err == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 34K bytes - Viewed (0) -
pkg/volume/local/local_linux_test.go
fsGroup1 := int64(s.Gid) fsGroup2 := fsGroup1 + 1 pod1 := &v1.Pod{ObjectMeta: metav1.ObjectMeta{UID: types.UID("poduid")}} pod1.Spec.SecurityContext = &v1.PodSecurityContext{ FSGroup: &fsGroup1, } pod2 := &v1.Pod{ObjectMeta: metav1.ObjectMeta{UID: types.UID("poduid")}} pod2.Spec.SecurityContext = &v1.PodSecurityContext{ FSGroup: &fsGroup2, } err = testFSGroupMount(plug, pod1, tmpDir, fsGroup1) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 2K bytes - Viewed (0) -
pkg/dns/server/name_table_test.go
push.Mesh = mesh push.AddPublicServices([]*model.Service{headlessService}) push.AddServiceInstances(headlessService, makeServiceInstances(pod1, headlessService, "pod1", "headless-svc")) push.AddServiceInstances(headlessService, makeServiceInstances(pod2, headlessService, "pod2", "headless-svc")) push.AddServiceInstances(headlessService, makeServiceInstances(pod3, headlessService, "pod3", "headless-svc"))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jan 25 04:26:03 UTC 2024 - 16K bytes - Viewed (0) -
pkg/kubelet/stats/cadvisor_stats_provider_test.go
// Pod1 - Namespace0 "/pod1-i": getTestContainerInfo(seedPod1Infra, pName1, namespace0, kubelettypes.PodInfraContainerName), "/pod1-c0": getTestContainerInfo(seedPod1Container, pName1, namespace0, cName10), // Pod2 - Namespace2 "/pod2-i": getTestContainerInfo(seedPod2Infra, pName2, namespace2, kubelettypes.PodInfraContainerName),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 30.2K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/network_test.go
sc := clienttest.NewWriter[*corev1.Service](t, s.client) pod1 := generatePod("127.0.0.1", "pod1", testNS, "sa1", "node1", map[string]string{"app": "a"}, nil) pc.CreateOrUpdateStatus(pod1) fx.WaitOrFail(t, "xds") pod2 := generatePod("127.0.0.2", "pod2", testNS, "sa2", "node1", map[string]string{"app": "a"}, nil) pc.CreateOrUpdateStatus(pod2) fx.WaitOrFail(t, "xds")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 19:09:43 UTC 2024 - 10.7K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller_test.go
assertEndpointsEvent([]string{"172.0.1.1"}, []string{"pod1"}) assertEndpointsEvent([]string{"172.0.1.1"}, []string{"pod1"}) fx.Clear() // Add the pod, expect the endpoints update for both addPod("pod2", "172.0.1.2") assertEndpointsEvent([]string{"172.0.1.1", "172.0.1.2"}, []string{"pod1", "pod2"}) assertEndpointsEvent([]string{"172.0.1.1", "172.0.1.2"}, []string{"pod1", "pod2"})
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 85K bytes - Viewed (0) -
pkg/scheduler/util/utils_test.go
currentTime := time.Now() pod1 := newPriorityPodWithStartTime("pod1", 1, currentTime) pod2 := newPriorityPodWithStartTime("pod2", 2, currentTime.Add(time.Second)) pod3 := newPriorityPodWithStartTime("pod3", 2, currentTime) tests := map[string]struct { p1 *v1.Pod p2 *v1.Pod expected bool }{ "Pod with higher priority": { p1: pod1, p2: pod2, expected: false,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 21 01:40:44 UTC 2023 - 14.5K bytes - Viewed (0) -
pkg/kubelet/eviction/helpers_test.go
func TestOrderedByPriorityProcess(t *testing.T) { pod1 := newPod("low-priority-high-usage", lowPriority, nil, nil) pod2 := newPod("low-priority-low-usage", lowPriority, nil, nil) pod3 := newPod("high-priority-high-usage", highPriority, nil, nil) pod4 := newPod("high-priority-low-usage", highPriority, nil, nil) stats := map[*v1.Pod]statsapi.PodStats{ pod1: newPodProcessStats(pod1, 20), pod2: newPodProcessStats(pod2, 6),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 23:14:12 UTC 2024 - 106.7K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/nodeports/node_ports_test.go
t.Errorf("status does not match: %v, want: %v", gotStatus, wantStatus) } } func TestGetContainerPorts(t *testing.T) { tests := []struct { pod1 *v1.Pod pod2 *v1.Pod expected []*v1.ContainerPort }{ { pod1: st.MakePod().ContainerPort([]v1.ContainerPort{ { ContainerPort: 8001, HostPort: 8001, Protocol: v1.ProtocolTCP, }, {
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/volume/attachdetach/cache/desired_state_of_world_test.go
} // Populates data struct with pod1/volume/node. // Calls DeleteNode() to delete the pod2/volume/node. // Verifies volume still exists, and one volumes to attach. func Test_DeletePod_Positive_PodDoesNotExist(t *testing.T) { // Arrange volumePluginMgr, _ := volumetesting.GetTestVolumePluginMgr(t) dsw := NewDesiredStateOfWorld(volumePluginMgr) pod1Name := "pod1-uid" pod2Name := "pod2-uid"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 10:42:15 UTC 2024 - 35.9K bytes - Viewed (0)