- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for VolumeLifecycleEphemeral (0.27 sec)
-
pkg/apis/storage/fuzzer/fuzzer.go
storage.VolumeLifecycleEphemeral, } case 5: obj.Spec.VolumeLifecycleModes = []storage.VolumeLifecycleMode{ storage.VolumeLifecyclePersistent, storage.VolumeLifecycleEphemeral, } case 6: obj.Spec.VolumeLifecycleModes = []storage.VolumeLifecycleMode{ storage.VolumeLifecycleEphemeral, storage.VolumeLifecyclePersistent, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 13:32:38 UTC 2023 - 3.5K bytes - Viewed (0) -
pkg/volume/csi/csi_test.go
}, driverSpec: &storage.CSIDriverSpec{ // This will cause the volume to be rejected. VolumeLifecycleModes: []storage.VolumeLifecycleMode{storage.VolumeLifecycleEphemeral}, FSGroupPolicy: &defaultFSGroupPolicy, }, }, { name: "ephemeral inline supported", driver: "inline-driver-1", volName: "test.vol2",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 03 15:55:13 UTC 2022 - 21.1K bytes - Viewed (0) -
pkg/volume/csi/csi_plugin.go
} // If mode is VolumeLifecycleEphemeral, use constructVolSourceSpec // to construct volume source spec. If mode is VolumeLifecyclePersistent, // use constructPVSourceSpec to construct volume construct pv source spec. if storage.VolumeLifecycleMode(volData[volDataKey.volumeLifecycleMode]) == storage.VolumeLifecycleEphemeral {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 29.2K bytes - Viewed (0) -
pkg/volume/csi/csi_plugin_test.go
modes: []storage.VolumeLifecycleMode{storage.VolumeLifecycleEphemeral}, }, { name: "construct spec from volume spec2", specVolID: "volspec2", originSpec: volume.NewSpecFromVolume(makeTestVol("volspec2", testDriver)), podUID: types.UID(fmt.Sprintf("%08X", rand.Uint64())), modes: []storage.VolumeLifecycleMode{storage.VolumeLifecycleEphemeral}, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 41.8K bytes - Viewed (0) -
pkg/registry/storage/csidriver/strategy_test.go
}, Spec: storage.CSIDriverSpec{ AttachRequired: &enabled, PodInfoOnMount: &enabled, StorageCapacity: &enabled, VolumeLifecycleModes: []storage.VolumeLifecycleMode{ storage.VolumeLifecycleEphemeral, }, RequiresRepublish: &enabled, SELinuxMount: &enabled, }, }, false, }, { "both volume modes", &storage.CSIDriver{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 16.7K bytes - Viewed (0) -
pkg/volume/csi/csi_mounter_test.go
exitError error }{ { name: "setup with ephemeral source", podUID: types.UID(fmt.Sprintf("%08X", rand.Uint64())), mode: storage.VolumeLifecycleEphemeral, fsType: "ext4", setupShouldFail: true, spec: func(fsType string, options []string) *volume.Spec { volSrc := makeTestVol("pv1", testDriver) volSrc.CSI.FSType = &fsType
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 50.1K bytes - Viewed (0) -
pkg/apis/storage/validation/validation_test.go
RequiresRepublish: ¬RequiresRepublish, StorageCapacity: &storageCapacity, VolumeLifecycleModes: []storage.VolumeLifecycleMode{ storage.VolumeLifecycleEphemeral, storage.VolumeLifecyclePersistent, storage.VolumeLifecycleEphemeral, }, SELinuxMount: &seLinuxMount, }, }, { ObjectMeta: metav1.ObjectMeta{Name: driverName}, Spec: storage.CSIDriverSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 69.7K bytes - Viewed (0) -
pkg/volume/csi/csi_util.go
"csi.storage.k8s.io/pod.uid": string(pod.UID), "csi.storage.k8s.io/serviceAccount.name": pod.Spec.ServiceAccountName, "csi.storage.k8s.io/ephemeral": strconv.FormatBool(volumeMode == storage.VolumeLifecycleEphemeral), } return attrs
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 28 17:14:00 UTC 2023 - 7.3K bytes - Viewed (0) -
pkg/apis/storage/validation/validation.go
for _, mode := range modes { switch mode { case storage.VolumeLifecyclePersistent, storage.VolumeLifecycleEphemeral: default: allErrs = append(allErrs, field.NotSupported(fldPath, mode, []string{ string(storage.VolumeLifecyclePersistent), string(storage.VolumeLifecycleEphemeral), })) } } return allErrs }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 00:47:13 UTC 2024 - 25.5K bytes - Viewed (0) -
pkg/apis/storage/types.go
// claim mechanism and have a lifecycle that is independent of the pods which // use them. VolumeLifecyclePersistent VolumeLifecycleMode = "Persistent" // VolumeLifecycleEphemeral indicates that the driver can be used for // ephemeral inline volumes. Such volumes are specified inside the pod // spec with a CSIVolumeSource and, as far as Kubernetes is concerned, have
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 13 20:24:57 UTC 2023 - 29.4K bytes - Viewed (0)