Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 191 for poda (0.07 sec)

  1. pkg/scheduler/framework/plugins/interpodaffinity/filtering_test.go

    			pod:  st.MakePod().Namespace(defaultNamespace).Labels(podLabel2).PodAffinityIn("service", "region", []string{"securityscan", "value2"}, st.PodAffinityWithRequiredReq).Obj(),
    			pods: []*v1.Pod{pod},
    			node: &node1,
    		},
    		{
    			name: "satisfies the pod with requiredDuringSchedulingIgnoredDuringExecution in PodAffinity using not in operator in labelSelector that matches the existing pod",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 10:24:54 UTC 2023
    - 58.2K bytes
    - Viewed (0)
  2. pkg/kube/kclient/index_test.go

    	c.Kube().CoreV1().Pods("ns").Create(context.Background(), pod2, metav1.CreateOptions{})
    	assertIndex(k1, pod1) // Original one must still persist
    	assertIndex(k2, pod2) // New one should be there, eventually
    
    	// Create another pod with the same SA; we ought to find multiple now.
    	c.Kube().CoreV1().Pods("ns").Create(context.Background(), pod3, metav1.CreateOptions{})
    	assertIndex(k1, pod1, pod3) // Original one must still persist
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 04 03:49:30 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/cli-runtime/pkg/printers/managedfields_test.go

    		expected runtime.Object
    	}{
    		{
    			name: "pod without managedFields",
    			object: &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{Name: "pod1"},
    			},
    			expected: &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{Name: "pod1"},
    			},
    		},
    		{
    			name: "pod with managedFields",
    			object: &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: "pod1",
    					ManagedFields: []metav1.ManagedFieldsEntry{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 16 14:52:03 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/cache/desired_state_of_world_test.go

    	verifyVolumeExistsWithSpecNameInVolumeDsw(t, podName, volumeSpec.Name(), dsw)
    
    	// Arrange: prepare a different pod with the same context
    	pod2 := pod.DeepCopy()
    	pod2.Name = "pod2"
    	pod2.UID = "pod2uid"
    	pod2Name := util.GetUniquePodName(pod)
    
    	// Act
    	generatedVolumeName2, err := dsw.AddPodToVolume(
    		pod2Name, pod2, volumeSpec, volumeSpec.Name(), "" /* volumeGidValue */, seLinuxContainerContexts)
    	// 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)
  5. hack/testdata/sorted-pods/sorted-pod3.yaml

    apiVersion: v1
    kind: Pod
    metadata:
      name: sorted-pod3
      creationTimestamp: "2018-08-30T14:10:53Z"
      labels:
        name: sorted-pod1-label
    spec:
      containers:
      - name: kubernetes-pause3
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 223 bytes
    - Viewed (0)
  6. pkg/controller/controller_ref_manager_test.go

    				pods:    []*v1.Pod{pod1, pod2},
    				claimed: []*v1.Pod{pod1},
    				patches: 1,
    			}
    		}(),
    		func() test {
    			// act as a cluster-scoped controller
    			controller := v1.ReplicationController{}
    			controller.Namespace = ""
    			controller.UID = types.UID(controllerUID)
    			pod1 := newPod("pod1", productionLabel, nil)
    			pod2 := newPod("pod2", productionLabel, nil)
    			pod2.Namespace = "fakens"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 10 17:19:26 UTC 2021
    - 10.6K bytes
    - Viewed (0)
  7. pkg/controller/replicaset/replica_set_utils_test.go

    				newPod("pod2", fullyLabelledRS, v1.PodRunning, nil, true),
    			},
    			apps.ReplicaSetStatus{
    				Replicas:             2,
    				FullyLabeledReplicas: 2,
    				ReadyReplicas:        2,
    				AvailableReplicas:    2,
    			},
    		},
    		{
    			"2 not fully labelled pods",
    			notFullyLabelledRS,
    			[]*v1.Pod{
    				newPod("pod1", notFullyLabelledRS, v1.PodRunning, nil, true),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 19 20:18:23 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  8. 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)
  9. pkg/controller/deployment/deployment_controller_test.go

    	rs2 := newReplicaSet(d, "rs2", 1)
    
    	// Add a Pod for each ReplicaSet.
    	pod1 := generatePodFromRS(rs1)
    	pod2 := generatePodFromRS(rs2)
    	// Add a Pod that has matching labels, but no ControllerRef.
    	pod3 := generatePodFromRS(rs1)
    	pod3.Name = "pod3"
    	pod3.OwnerReferences = nil
    	// Add a Pod that has matching labels and ControllerRef, but is inactive.
    	pod4 := generatePodFromRS(rs1)
    	pod4.Name = "pod4"
    	pod4.Status.Phase = v1.PodFailed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  10. pkg/controller/replicaset/replica_set_test.go

    			rs:               someRS,
    			pods:             []*v1.Pod{pod1, pod2, pod3, pod4},
    			expectedPodNames: []string{"pod1", "pod2", "pod3"},
    		},
    	}
    	for _, c := range testCases {
    		for _, r := range c.rss {
    			informers.Apps().V1().ReplicaSets().Informer().GetIndexer().Add(r)
    		}
    		for _, pod := range c.pods {
    			informers.Core().V1().Pods().Informer().GetIndexer().Add(pod)
    			manager.addPod(logger, pod)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
Back to top