- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for expandFile (0.14 sec)
-
pkg/kubelet/container/helpers_test.go
VolumeMounts: []v1.VolumeMount{{SubPathExpr: "$()"}}, }, expectedSubPath: "$()", expectedMountPath: "", expectedOk: false, }, { name: "subpaths with nested expandable envs", container: &v1.Container{ VolumeMounts: []v1.VolumeMount{{SubPathExpr: "$(POD_NAME$(ANNOTATION))"}}, }, envs: []EnvVar{ { Name: "POD_NAME", Value: "foo", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 01:55:46 UTC 2024 - 24.5K bytes - Viewed (0) -
pkg/kubelet/volumemanager/cache/actual_state_of_world.go
volumePlugin, err := asw.volumePluginMgr.FindNodeExpandablePluginBySpec(volumeObj.spec) if err != nil || volumePlugin == nil { // Log and continue processing klog.InfoS("PodExistsInVolume failed to find expandable plugin", "volume", volumeObj.volumeName, "volumeSpecName", volumeObj.spec.Name()) return currentSize, false } if volumePlugin.RequiresFSResize() { return currentSize, true } }
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/plugins.go
func (pm *VolumePluginMgr) FindExpandablePluginBySpec(spec *Spec) (ExpandableVolumePlugin, error) { volumePlugin, err := pm.FindPluginBySpec(spec) if err != nil { if spec.IsKubeletExpandable() { // for kubelet expandable volumes, return a noop plugin that // returns success for expand on the controller klog.V(4).InfoS("FindExpandablePluginBySpec -> returning noopExpandableVolumePluginInstance", "specName", spec.Name())
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/testing/testing.go
Volume: &v1.Volume{ Name: volumeName, }, }, nil } func (plugin *FakeVolumePlugin) GetDeviceMountRefs(deviceMountPath string) ([]string, error) { return []string{}, nil } // Expandable volume support func (plugin *FakeVolumePlugin) ExpandVolumeDevice(spec *volume.Spec, newSize resource.Quantity, oldSize resource.Quantity) (resource.Quantity, error) { return resource.Quantity{}, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 53.3K bytes - Viewed (0)