- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for volumeSize (0.15 sec)
-
pkg/controller/volume/persistentvolume/pv_controller.go
if volume.ObjectMeta.DeletionTimestamp != nil { return fmt.Errorf("the volume is marked for deletion %q", volume.Name) } volumeQty := volume.Spec.Capacity[v1.ResourceStorage] volumeSize := volumeQty.Value() if volumeSize < requestedSize { return fmt.Errorf("requested PV is too small") } requestedClass := storagehelpers.GetPersistentVolumeClaimClass(claim)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 08:42:31 UTC 2024 - 89.2K bytes - Viewed (0) -
pkg/volume/projected/projected_test.go
testPodUID := types.UID("test_pod_uid") testPodName := "podName" cases := []struct { name string volumeFile []v1.DownwardAPIVolumeFile pod *v1.Pod mode int32 payload map[string]util.FileProjection success bool }{ { name: "annotation", volumeFile: []v1.DownwardAPIVolumeFile{ {Path: "annotation", FieldRef: &v1.ObjectFieldSelector{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 18:40:48 UTC 2023 - 40.5K bytes - Viewed (0)