- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for requiresFSResize (0.47 sec)
-
pkg/volume/flexvolume/driver-call.go
SupportsMetrics bool `json:"supportsMetrics"` FSGroup bool `json:"fsGroup"` RequiresFSResize bool `json:"requiresFSResize"` } func defaultCapabilities() *DriverCapabilities { return &DriverCapabilities{ Attach: true, SELinuxRelabel: true, SupportsMetrics: false, FSGroup: true, RequiresFSResize: true, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 25 02:39:55 UTC 2021 - 7.5K bytes - Viewed (0) -
pkg/volume/noop_expandable_plugin.go
return ReconstructedVolume{Spec: n.spec}, nil } func (n *noopExpandableVolumePluginInstance) SupportsMountOption() bool { return true } func (n *noopExpandableVolumePluginInstance) RequiresFSResize() bool { return true } func (n *noopExpandableVolumePluginInstance) SupportsSELinuxContextMount(spec *Spec) (bool, error) { return false, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 2.2K bytes - Viewed (0) -
pkg/volume/flexvolume/plugin.go
mountsDir := filepath.Join(plugin.host.GetPluginDir(flexVolumePluginName), plugin.driverName, "mounts") return filepath.Join(mountsDir, volumeName), nil } func (plugin *flexVolumePlugin) RequiresFSResize() bool { return plugin.capabilities.RequiresFSResize
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 9.7K bytes - Viewed (0) -
pkg/volume/csi/expander.go
"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) { klog.V(4).Infof(log("Expander.NodeExpand(%s)", resizeOptions.DeviceMountPath))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 31 17:23:56 UTC 2024 - 4.6K bytes - Viewed (0) -
pkg/volume/portworx/portworx.go
return &portworxVolumeProvisioner{ portworxVolume: &portworxVolume{ manager: manager, plugin: plugin, }, options: options, }, nil } func (plugin *portworxVolumePlugin) RequiresFSResize() bool { return false } func (plugin *portworxVolumePlugin) ExpandVolumeDevice( spec *volume.Spec, newSize resource.Quantity, oldSize resource.Quantity) (resource.Quantity, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 13.6K bytes - Viewed (0) -
pkg/volume/plugins.go
RequiresFSResize() bool } // NodeExpandableVolumePlugin is an expanded interface of VolumePlugin and is used for volumes that // require expansion on the node via NodeExpand call. type NodeExpandableVolumePlugin interface { VolumePlugin RequiresFSResize() bool
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 16:13:15 UTC 2024 - 38.2K bytes - Viewed (0) -
pkg/volume/local/local.go
return nil default: return fmt.Errorf("only directory and block device are supported") } } func (plugin *localVolumePlugin) RequiresFSResize() bool { return true } func (plugin *localVolumePlugin) NodeExpand(resizeOptions volume.NodeResizeOptions) (bool, error) { fsVolume, err := util.CheckVolumeModeFilesystem(resizeOptions.VolumeSpec)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 22.2K bytes - Viewed (0) -
pkg/volume/util/operationexecutor/operation_generator.go
// No Cloudprovider resize needed, lets mark resizing as done // Rest of the volume expand controller code will assume PVC as *not* resized until pvc.Status.Size // reflects user requested size. if !volumePlugin.RequiresFSResize() || !fsVolume { klog.V(4).Infof("Controller resizing done for PVC %s", util.GetPersistentVolumeClaimQualifiedName(pvc)) _, err := util.MarkResizeFinished(pvc, newSize, og.kubeClient) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 101.4K bytes - Viewed (0) -
pkg/kubelet/volumemanager/cache/actual_state_of_world.go
klog.InfoS("PodExistsInVolume failed to find expandable plugin", "volume", volumeObj.volumeName, "volumeSpecName", volumeObj.spec.Name()) return currentSize, false } if volumePlugin.RequiresFSResize() { return currentSize, true } } return currentSize, false } func (asw *actualStateOfWorld) PodRemovedFromVolume( podName volumetypes.UniquePodName,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 09 07:34:33 UTC 2024 - 45.8K bytes - Viewed (0) -
pkg/volume/testing/testing.go
func (plugin *FakeVolumePlugin) ExpandVolumeDevice(spec *volume.Spec, newSize resource.Quantity, oldSize resource.Quantity) (resource.Quantity, error) { return resource.Quantity{}, nil } func (plugin *FakeVolumePlugin) RequiresFSResize() bool { return !plugin.DisableNodeExpansion } func (plugin *FakeVolumePlugin) NodeExpand(resizeOptions volume.NodeResizeOptions) (bool, error) { plugin.NodeExpandCallCount++
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 53.3K bytes - Viewed (0)