Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 75 for pod17 (0.04 sec)

  1. pkg/client/tests/fake_client_test.go

    		}
    	}
    
    	pod1, err := tc.CoreV1().Pods("nsA").Get(context.TODO(), "pod-1", metav1.GetOptions{})
    	if err != nil {
    		t.Fatalf("Pods.Get: %s", err)
    	}
    	if pod1 == nil {
    		t.Fatalf("Expected to find pod nsA/pod-1 but it wasn't found")
    	}
    	if pod1.Namespace != "nsA" || pod1.Name != "pod-1" {
    		t.Fatalf("Expected to find pod nsA/pod-1t, got %s/%s", pod1.Namespace, pod1.Name)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 08 17:30:21 UTC 2020
    - 5.6K bytes
    - Viewed (0)
  2. 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)
  3. pkg/kubelet/stats/cadvisor_stats_provider_test.go

    		"/pod0-c1": getTestContainerInfo(seedPod0Container1, pName0, namespace0, cName01),
    		// Pod1 - Namespace0
    		"/pod1-i":  getTestContainerInfo(seedPod1Infra, pName1, namespace0, kubelettypes.PodInfraContainerName),
    		"/pod1-c0": getTestContainerInfo(seedPod1Container, pName1, namespace0, cName10),
    		// Pod2 - Namespace2
    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/kubelet/cm/memorymanager/policy_static_test.go

    						},
    					},
    				},
    			},
    			expectedError: fmt.Errorf("[memorymanager] (pod: pod1, container: container1) the memory assignment uses the NUMA that does not exist"),
    		},
    		{
    			description: "should fail when machine state does not have resource that used under the memory assignment",
    			assignments: state.ContainerMemoryAssignments{
    				"pod1": map[string][]state.Block{
    					"container1": {
    						{
    							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)
  5. pilot/pkg/serviceregistry/kube/controller/network_test.go

    		}, retry.Timeout(time.Second*5))
    	}
    
    	pc := clienttest.NewWriter[*corev1.Pod](t, s.client)
    	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)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. pkg/istio-agent/testdata/grpc-bootstrap.json

          "channel_creds": [
            {
              "type": "insecure"
            }
          ],
          "server_features": [
            "xds_v3"
          ]
        }
      ],
      "node": {
        "id": "sidecar~127.0.0.1~pod1.fake-namespace~fake-namespace.svc.cluster.local",
        "metadata": {
          "GENERATOR": "grpc",
          "INSTANCE_IPS": "127.0.0.1",
          "ISTIO_VERSION": "version",
          "PILOT_SAN": [
            "istiod.istio-system.svc"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 957 bytes
    - Viewed (0)
  7. pkg/kubelet/volumemanager/reconciler/reconstruct_test.go

    				}
    				volumes := rcInstance.actualStateOfWorld.GetPossiblyMountedVolumesForPod("pod1")
    				if len(volumes) != 1 {
    					return fmt.Errorf("expected 1 uncertain volume in asw got %d", len(volumes))
    				}
    				// The volume should be marked as reconstructed in ASW
    				if reconstructed := rcInstance.actualStateOfWorld.IsVolumeReconstructed("fake-plugin/pvc-abcdef", "pod1"); !reconstructed {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. pkg/controller/endpointslice/endpointslice_controller_test.go

    func TestSyncServicePodSelection(t *testing.T) {
    	client, esController := newController(t, []string{"node-1"}, time.Duration(0))
    	ns := metav1.NamespaceDefault
    
    	pod1 := newPod(1, ns, true, 0, false)
    	esController.podStore.Add(pod1)
    
    	// ensure this pod will not match the selector
    	pod2 := newPod(2, ns, true, 0, false)
    	pod2.Labels["foo"] = "boo"
    	esController.podStore.Add(pod2)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  9. pkg/scheduler/schedule_one_test.go

    						Operator: metav1.LabelSelectorOpExists,
    					},
    				},
    			}, nil, nil, nil, nil).Obj(),
    			pods: []*v1.Pod{
    				st.MakePod().Name("pod1a").UID("pod1a").Label("foo", "").Node("node1").Phase(v1.PodRunning).Obj(),
    				st.MakePod().Name("pod1b").UID("pod1b").Label("foo", "").Node("node1").Phase(v1.PodRunning).Obj(),
    				st.MakePod().Name("pod2").UID("pod2").Label("foo", "").Node("node2").Phase(v1.PodRunning).Obj(),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_test.go

    			},
    		},
    		{
    			name:                  "No CPU and memory, resource allocation exists",
    			pod:                   podWithUIDNameNsSpec("11", "pod11", "foo", *emptyPodSpec),
    			existingPodAllocation: podWithUIDNameNsSpec("11", "pod11", "foo", *emptyPodSpec),
    			expectedPodResourceAllocation: state.PodResourceAllocation{
    				"11": 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