Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 996 for volumeID (0.12 sec)

  1. pkg/volume/util/hostutil/hostutil_windows.go

    	for _, ref := range refs {
    		if strings.Contains(ref, basemountPath) {
    			volumeID, err := filepath.Rel(mount.NormalizeWindowsPath(basemountPath), ref)
    			if err != nil {
    				klog.Errorf("Failed to get volume id from mount %s - %v", mountPath, err)
    				return "", err
    			}
    			return volumeID, nil
    		}
    	}
    
    	return filepath.Base(mountPath), nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 13:38:40 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. pkg/volume/portworx/portworx_util.go

    		}
    		spec.VolumeLabels[k] = v
    	}
    
    	volumeID, err := driver.Create(locator, source, spec)
    	if err != nil {
    		klog.Errorf("Error creating Portworx Volume : %v", err)
    		return "", 0, nil, err
    	}
    
    	klog.Infof("Successfully created Portworx volume for PVC: %v", p.options.PVC.Name)
    	return volumeID, requestGiB, nil, err
    }
    
    // DeleteVolume deletes a Portworx volume
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 12.2K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/nodevolumelimits/non_csi_test.go

    	oneVolPod := st.MakePod().Volume(v1.Volume{
    		VolumeSource: v1.VolumeSource{
    			AWSElasticBlockStore: &v1.AWSElasticBlockStoreVolumeSource{VolumeID: "ovp"},
    		},
    	}).Obj()
    	twoVolPod := st.MakePod().Volume(v1.Volume{
    		VolumeSource: v1.VolumeSource{
    			AWSElasticBlockStore: &v1.AWSElasticBlockStoreVolumeSource{VolumeID: "tvp1"},
    		},
    	}).Volume(v1.Volume{
    		VolumeSource: v1.VolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 30 23:00:56 UTC 2023
    - 36.8K bytes
    - Viewed (0)
  4. pkg/volume/csi/csi_block.go

    	"k8s.io/kubernetes/pkg/util/removeall"
    	"k8s.io/kubernetes/pkg/volume"
    	volumetypes "k8s.io/kubernetes/pkg/volume/util/types"
    	utilstrings "k8s.io/utils/strings"
    )
    
    type csiBlockMapper struct {
    	csiClientGetter
    	k8s        kubernetes.Interface
    	plugin     *csiPlugin
    	driverName csiDriverName
    	specName   string
    	volumeID   string
    	readOnly   bool
    	spec       *volume.Spec
    	pod        *v1.Pod
    	podUID     types.UID
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/nodevolumelimits/csi_test.go

    	inTreeInlineVolPod := &v1.Pod{
    		Spec: v1.PodSpec{
    			Volumes: []v1.Volume{
    				{
    					VolumeSource: v1.VolumeSource{
    						AWSElasticBlockStore: &v1.AWSElasticBlockStoreVolumeSource{
    							VolumeID: "aws-inline1",
    						},
    					},
    				},
    			},
    		},
    	}
    	inTreeInlineVolPodWithSameCSIVolumeID := &v1.Pod{
    		Spec: v1.PodSpec{
    			Volumes: []v1.Volume{
    				{
    					VolumeSource: v1.VolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 18:07:11 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  6. pkg/volume/csi/csi_plugin_test.go

    			if rec.Spec == nil {
    				t.Fatal("nil volume.Spec constructed")
    			}
    
    			if rec.Spec.Name() != tc.specVolID {
    				t.Errorf("unexpected spec name constructed volume.Spec: %s", rec.Spec.Name())
    			}
    
    			switch {
    			case rec.Spec.Volume != nil:
    				if rec.Spec.Volume.CSI == nil {
    					t.Error("missing CSIVolumeSource in constructed volume.Spec")
    				}
    				if rec.Spec.Volume.CSI.Driver != tc.originSpec.Volume.CSI.Driver {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  7. pkg/volume/csi/expander.go

    	api "k8s.io/api/core/v1"
    	"k8s.io/klog/v2"
    	"k8s.io/kubernetes/pkg/volume"
    	"k8s.io/kubernetes/pkg/volume/util"
    	volumetypes "k8s.io/kubernetes/pkg/volume/util/types"
    )
    
    var _ volume.NodeExpandableVolumePlugin = &csiPlugin{}
    
    func (c *csiPlugin) RequiresFSResize() bool {
    	return true
    }
    
    func (c *csiPlugin) NodeExpand(resizeOptions volume.NodeResizeOptions) (bool, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 17:23:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. pkg/volume/csi/csi_attacher_test.go

    	}{
    		{
    			name: "attach and detach with volume sources",
    			attachedSpecs: []attachedSpec{
    				{"vol0", volume.NewSpecFromPersistentVolume(makeTestPV("pv0", 10, testDriver, "vol0"), false), true},
    				{"vol1", volume.NewSpecFromVolume(makeTestVol("pv1", testDriver)), false},
    				{"vol2", volume.NewSpecFromPersistentVolume(makeTestPV("pv2", 10, testDriver, "vol2"), false), true},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.DaemonSet.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.Deployment.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 53.7K bytes
    - Viewed (0)
Back to top