Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for pv01 (0.06 sec)

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

    			newPVC:        makeClaim("pvc1", "5", "ns1"),
    			shouldSucceed: false,
    		},
    		"fail-new-lower-version": {
    			oldPVC:        makeClaim("pvc1", "5", "ns1"),
    			newPVC:        makeClaim("pvc1", "4", "ns1"),
    			shouldSucceed: false,
    		},
    		"fail-new-bad-version": {
    			oldPVC:        makeClaim("pvc1", "5", "ns1"),
    			newPVC:        makeClaim("pvc1", "a", "ns1"),
    			shouldSucceed: false,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. pkg/controller/volume/attachdetach/attach_detach_controller_test.go

    	for _, tc := range []vaTest{
    		{ // pod is scheduled
    			testName:          "Scheduled pod",
    			volName:           "vol1",
    			podName:           "pod1",
    			podNodeName:       "mynode-1",
    			pvName:            "pv1",
    			vaName:            "va1",
    			vaNodeName:        "mynode-1",
    			vaAttachStatus:    false,
    			expected_attaches: map[string][]string{"mynode-1": {"vol1"}},
    			expected_detaches: map[string][]string{},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  3. plugin/pkg/auth/authorizer/node/node_authorizer_test.go

    			expect: authorizer.DecisionAllow,
    		},
    		{
    			name:   "allowed shared secret via pvc",
    			attrs:  authorizer.AttributesRecord{User: node0, ResourceRequest: true, Verb: "get", Resource: "secrets", Name: "secret-pv0-pod0-node0-ns0", Namespace: "ns0"},
    			expect: authorizer.DecisionAllow,
    		},
    		{
    			name:   "allowed pvc",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  4. pkg/volume/csi/csi_plugin_test.go

    				Volume:           makeTestVol("test-vol1", testDriver),
    				PersistentVolume: makeTestPV("test-pv1", 20, testDriver, testVol),
    				ReadOnly:         true,
    			},
    			shouldFail: true,
    		},
    		{
    			name:                "mounter with persistent volume source",
    			spec:                volume.NewSpecFromPersistentVolume(makeTestPV("test-pv1", 20, testDriver, testVol), true),
    			podUID:              types.UID(fmt.Sprintf("%08X", rand.Uint64())),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  5. pkg/kubelet/volumemanager/reconciler/reconstruct_test.go

    			mountPaths := []string{vp}
    			os.MkdirAll(vp, 0755)
    
    			// Arrange 2 - populate DSW
    			outerName := filepath.Base(tc.volumePath)
    			pod, pv, pvc := getPodPVCAndPV(tc.volumeMode, "pod1", outerName, "pvc1")
    			volumeSpec := &volume.Spec{PersistentVolume: pv}
    			kubeClient := createtestClientWithPVPVC(pv, pvc, v1.AttachedVolume{
    				Name:       v1.UniqueVolumeName(fmt.Sprintf("fake-plugin/%s", outerName)),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/volumebinding/binder.go

    			} else {
    				// for subsequent finding of eligible nodes for the local PersistentVolume,
    				// take the intersection of the nodes with the existing eligible nodes
    				// for cases if PV1 has node affinity to node1 and PV2 has node affinity to node2,
    				// then the eligible node list should be empty.
    				eligibleNodes = eligibleNodes.Intersection(sets.New(nodeNames...))
    			}
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top