Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 191 for poda (0.04 sec)

  1. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    			},
    			wantAZ: map[*corev1.Pod]string{
    				pod1: "region1/zone1/",
    				pod2: "region2/zone2/",
    			},
    		},
    		{
    			name: "should return false if pod isn't in the cache",
    			wantAZ: map[*corev1.Pod]string{
    				pod1: "",
    				pod2: "",
    			},
    		},
    		{
    			name: "should return false if node isn't in the cache",
    			pods: []*corev1.Pod{pod1, pod2},
    			wantAZ: map[*corev1.Pod]string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_serviceentry_test.go

    					WorkloadType:      workloadapi.WorkloadType_POD,
    					WorkloadName:      "pod1",
    				},
    			},
    		},
    	}})
    
    	s.addPods(t, "140.140.0.11", "pod2", "sa1", map[string]string{"app": "other"}, nil, true, corev1.PodRunning)
    	s.assertEvent(t, s.podXdsName("pod2"))
    	s.assertWorkloads(t, "", workloadapi.WorkloadStatus_HEALTHY, "pod1", "pod2")
    	s.addWorkloadEntries(t, "240.240.34.56", "name1", "sa1", map[string]string{"app": "a"})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 03:01:04 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  3. pkg/controller/endpoint/endpoints_controller_test.go

    			ns := "test"
    			addPods(podStore, ns, 1, 1, 0, tc.ipFamilies)
    			pods := podStore.List()
    			if len(pods) != 1 {
    				t.Fatalf("podStore size: expected: %d, got: %d", 1, len(pods))
    			}
    			pod := pods[0].(*v1.Pod)
    			epa, err := podToEndpointAddressForService(&tc.service, pod)
    
    			if err != nil && !tc.expectError {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  4. pkg/controller/volume/attachdetach/cache/desired_state_of_world_test.go

    	// Assert
    	if len(pods) != 1 {
    		t.Fatalf("Expected 1 pod, got %d", len(pods))
    	}
    	if pods[0].Name != pod1Name {
    		t.Errorf("Expected pod %s/%s, got %s", pod1Name, pod1Name, pods[0].Name)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  5. pkg/scheduler/extender_test.go

    				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(),
    						st.MakePod().Name("pod3").UID("uid3").Obj(),
    					},
    					NumPDBViolations: 1,
    				},
    				"node2": {
    					Pods: []*v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. hack/testdata/sorted-pods/sorted-pod2.yaml

    apiVersion: v1
    kind: Pod
    metadata:
      name: sorted-pod2
      creationTimestamp: "2018-08-30T14:10:55Z"
      labels:
        name: sorted-pod2-label
    spec:
      containers:
      - name: kubernetes-pause1
        image: registry.k8s.io/pause:3.10
        resources:
          requests:
            memory: "1G"
            cpu: "0.5"
          limits:
            memory: "2G"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 347 bytes
    - Viewed (0)
  7. 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)
  8. pkg/kubelet/pod_workers_test.go

    		return status
    	}
    	withLabel := func(pod *v1.Pod, label, value string) *v1.Pod {
    		if pod.Labels == nil {
    			pod.Labels = make(map[string]string)
    		}
    		pod.Labels[label] = value
    		return pod
    	}
    	withDeletionTimestamp := func(pod *v1.Pod, ts time.Time, gracePeriod *int64) *v1.Pod {
    		pod.DeletionTimestamp = &metav1.Time{Time: ts}
    		pod.DeletionGracePeriodSeconds = gracePeriod
    		return pod
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  9. plugin/pkg/auth/authorizer/node/node_authorizer_test.go

    		podClaimName := fmt.Sprintf("claimtemplate-with-claim%d", i)
    		claimName := fmt.Sprintf("generated-claim-%s-%s-%d", pod.Name, pod.Namespace, i)
    		pod.Spec.ResourceClaims = append(pod.Spec.ResourceClaims, corev1.PodResourceClaim{
    			Name: podClaimName,
    			Source: corev1.ClaimSource{
    				ResourceClaimTemplateName: &claimTemplateName,
    			},
    		})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  10. 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)
Back to top