Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 338 for podB (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. pilot/pkg/serviceregistry/kube/controller/pod_test.go

    	createPod("128.0.0.2", "pod")
    	assert.Equal(t, c.pods.getPodKeys("128.0.0.2"), []types.NamespacedName{{Name: "pod", Namespace: "ns"}})
    	assert.Equal(t, c.pods.getPodKeys("128.0.0.1"), nil)
    
    	// A new pod is created with the old IP. We should get new-pod, not pod
    	createPod("128.0.0.1", "new-pod")
    	assert.Equal(t, c.pods.getPodKeys("128.0.0.1"), []types.NamespacedName{{Name: "new-pod", Namespace: "ns"}})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 18:27:40 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. pkg/kubelet/util/manager/cache_based_manager_test.go

    	store.AddReference("ns1", "name1", "pod1")
    	store.AddReference("ns2", "name2", "pod2")
    	store.AddReference("ns1", "name1", "pod3")
    	store.AddReference("ns1", "name1", "pod4")
    	store.DeleteReference("ns1", "name1", "pod1")
    	store.DeleteReference("ns2", "name2", "pod2")
    	store.AddReference("ns3", "name3", "pod5")
    
    	// Adds don't issue Get requests.
    	actions := fakeClient.Actions()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. pilot/pkg/xds/workload_test.go

    		ads.ExpectEmptyResponse()
    
    		// Create pod, due to wildcard subscribe we should receive it
    		createPod(s, "pod", "sa", "127.0.0.1", "not-node")
    		expect(ads.ExpectResponse(), "Kubernetes//Pod/default/pod")
    
    		// A new pod should push only that one
    		createPod(s, "pod2", "sa", "127.0.0.2", "node")
    		expect(ads.ExpectResponse(), "Kubernetes//Pod/default/pod2")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  8. pkg/kubelet/volumemanager/cache/actual_state_of_world_test.go

    // Call MarkVolumeAsDetached() on a volume which mounted by pod(s) should be skipped
    func Test_MarkVolumeAsDetached_Negative_PodInVolume(t *testing.T) {
    	// Arrange
    	volumePluginMgr, plugin := volumetesting.GetTestVolumePluginMgr(t)
    	devicePath := "fake/device/path"
    	asw := NewActualStateOfWorld("mynode", volumePluginMgr)
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "pod1",
    			UID:  "pod1uid",
    		},
    		Spec: v1.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  9. plugin/pkg/admission/serviceaccount/admission_test.go

    	// clear generated volume names
    	for i := range pod.Spec.Volumes {
    		if len(pod.Spec.Volumes[i].Name) > 0 {
    			pod.Spec.Volumes[i].Name = "cleared"
    		}
    	}
    	for i := range pod.Spec.Containers[0].VolumeMounts {
    		if len(pod.Spec.Containers[0].VolumeMounts[i].Name) > 0 {
    			pod.Spec.Containers[0].VolumeMounts[i].Name = "cleared"
    		}
    	}
    
    	if !reflect.DeepEqual(expectedVolumes, pod.Spec.Volumes) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 17:49:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  10. 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)
Back to top