Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 84 for pdName (0.58 sec)

  1. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    	// nonmigrated test case is no longer relevant and can be removed.
    	if migrationEnabled {
    		pv.Spec.PersistentVolumeSource = v1.PersistentVolumeSource{
    			GCEPersistentDisk: &v1.GCEPersistentDiskVolumeSource{
    				PDName:    "test-disk",
    				FSType:    "ext4",
    				Partition: 0,
    				ReadOnly:  false,
    			},
    		}
    	} else {
    		pv.Spec.PersistentVolumeSource = v1.PersistentVolumeSource{
    			RBD: &v1.RBDPersistentVolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  2. pkg/controller/disruption/disruption_test.go

    	pdb, pdbName := newMinAvailablePodDisruptionBudget(t, intstr.FromInt32(3))
    	pdb.Spec.Selector = &metav1.LabelSelector{}
    	pod, _ := newPod(t, "yo-yo-yo")
    
    	add(t, dc.pdbStore, pdb)
    	dc.sync(ctx, pdbName)
    	ps.VerifyPdbStatus(t, pdbName, 0, 0, 3, 0, map[string]metav1.Time{})
    
    	add(t, dc.podStore, pod)
    	dc.sync(ctx, pdbName)
    	ps.VerifyPdbStatus(t, pdbName, 0, 1, 3, 1, map[string]metav1.Time{})
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  3. pkg/kubelet/server/server_test.go

    			podNamespace := "other"
    			podName := "foo"
    			expectedPodName := getPodName(podName, podNamespace)
    			expectedContainerName := "baz"
    			setPodByNameFunc(fw, podNamespace, podName, expectedContainerName)
    			setGetContainerLogsFunc(fw, t, expectedPodName, expectedContainerName, test.podLogOption, output)
    			resp, err := http.Get(fw.testHTTPServer.URL + "/containerLogs/" + podNamespace + "/" + podName + "/" + expectedContainerName + test.query)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  4. pkg/volume/csi/csi_attacher_test.go

    	bTrue  = true
    )
    
    func makeTestAttachment(attachID, nodeName, pvName string) *storage.VolumeAttachment {
    	return &storage.VolumeAttachment{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: attachID,
    		},
    		Spec: storage.VolumeAttachmentSpec{
    			NodeName: nodeName,
    			Attacher: "mock",
    			Source: storage.VolumeAttachmentSource{
    				PersistentVolumeName: &pvName,
    			},
    		},
    		Status: storage.VolumeAttachmentStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    			fsName                                                = "test-fs"
    			plName                                                = "test-pl"
    			serverConcurrency, plConcurrencyShares, plConcurrency = 1, 1, 1
    		)
    
    		apfConfiguration := newConfiguration(fsName, plName, userName, plConcurrencyShares, 0)
    		stopCh := make(chan struct{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  6. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    	if volumeExists {
    		t.Fatalf(
    			"Volume %q/node %q should not exist, but it does.",
    			volumeName,
    			nodeName)
    	}
    
    	_, podErr := dsw.AddPod(types.UniquePodName(podName), controllervolumetesting.NewPod(podName, podName), volumeSpec, nodeName)
    	if podErr != nil {
    		t.Fatalf("AddPod failed. Expected: <no error> Actual: <%v>", podErr)
    	}
    
    	// Act
    	_, ctx := ktesting.NewTestContext(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  7. pkg/controller/endpointslice/endpointslice_controller_test.go

    					delay:   200 * time.Millisecond,
    					podName: "pod0",
    					podIP:   "10.0.0.0",
    				},
    				{
    					delay:   100 * time.Millisecond,
    					podName: "pod1",
    					podIP:   "10.0.0.1",
    				},
    				{
    					delay:   100 * time.Millisecond,
    					podName: "pod2",
    					podIP:   "10.0.0.2",
    				},
    			},
    			finalDelay:       3 * time.Second,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  8. pkg/controller/endpoint/endpoints_controller_test.go

    					delay:   200 * time.Millisecond,
    					podName: "pod0",
    					podIP:   "10.0.0.0",
    				},
    				{
    					delay:   100 * time.Millisecond,
    					podName: "pod1",
    					podIP:   "10.0.0.1",
    				},
    				{
    					delay:   100 * time.Millisecond,
    					podName: "pod2",
    					podIP:   "10.0.0.2",
    				},
    			},
    			finalDelay:       3 * time.Second,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    	"k8s.io/utils/ptr"
    )
    
    var (
    	podKind = v1.SchemeGroupVersion.WithKind("Pod")
    
    	podName       = "my-pod"
    	podUID        = "1234"
    	resourceName  = "my-resource"
    	resourceName2 = resourceName + "-2"
    	claimName     = podName + "-" + resourceName
    	claimName2    = podName + "-" + resourceName + "-2"
    	className     = "my-resource-class"
    	namespace     = "default"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    	}, nil
    }
    
    func basePod(podName string) *example.Pod {
    	return baseNamespacedPod(podName, "")
    }
    
    func basePodUpdated(podName string) *example.Pod {
    	return baseNamespacedPodUpdated(podName, "")
    }
    
    func basePodAssigned(podName, nodeName string) *example.Pod {
    	return baseNamespacedPodAssigned(podName, "", nodeName)
    }
    
    func baseNamespacedPod(podName, namespace string) *example.Pod {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
Back to top