Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 685 for volumeID (0.18 sec)

  1. pkg/kubelet/volumemanager/reconciler/reconstruct.go

    			// There is nothing to reconstruct
    			continue
    		}
    		reconstructedVolume, err := rc.reconstructVolume(volume)
    		if err != nil {
    			klog.InfoS("Could not construct volume information", "podName", volume.podName, "volumeSpecName", volume.volumeSpecName, "err", err)
    			// We can't reconstruct the volume. Remember to check DSW after it's fully populated and force unmount the volume when it's orphaned.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_mounter.go

    	volumeLifecycleMode storage.VolumeLifecycleMode
    	volumeID            string
    	specVolumeID        string
    	readOnly            bool
    	needSELinuxRelabel  bool
    	spec                *volume.Spec
    	pod                 *api.Pod
    	podUID              types.UID
    	publishContext      map[string]string
    	kubeVolHost         volume.KubeletVolumeHost
    	volume.MetricsProvider
    }
    
    // volume.Volume methods
    var _ volume.Volume = &csiMountMgr{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 30 10:47:59 UTC 2024
    - 21K bytes
    - Viewed (0)
  3. pkg/volume/csimigration/plugin_manager_test.go

    			pluginFeatureEnabled: true,
    			isMigratable:         true,
    			csiMigrationEnabled:  true,
    			spec: &volume.Spec{
    				PersistentVolume: &v1.PersistentVolume{
    					Spec: v1.PersistentVolumeSpec{
    						PersistentVolumeSource: v1.PersistentVolumeSource{
    							PortworxVolume: &v1.PortworxVolumeSource{
    								VolumeID: "test-volume",
    							},
    						},
    					},
    				},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/nodevolumelimits/non_csi.go

    		} else {
    			return parsedMaxVols
    		}
    	}
    
    	return -1
    }
    
    // VolumeFilter contains information on how to filter PD Volumes when checking PD Volume caps.
    type VolumeFilter struct {
    	// Filter normal volumes
    	FilterVolume           func(vol *v1.Volume) (id string, relevant bool)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 30 23:00:56 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top