You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To enable support for raw block volumes, enable the `BlockVolume` feature gate on the
546
-
apiserver, controller-manager and the kubelet.
547
+
The `BlockVolume` feature gate is enabled by default as of v1.13 on the apiserver, controller-manager and kubelet.
547
548
548
549
The following volume plugins support raw block volumes, including dynamic provisioning where
549
550
applicable.
@@ -562,6 +563,8 @@ applicable.
562
563
Support for the additional plugins was added in 1.10.
563
564
{{< /note >}}
564
565
566
+
`PersistentVolumeClaims`can only be bound to `PersistentVolumes` with the same `volumeMode.`
567
+
565
568
### Persistent Volumes using a Raw Block Volume
566
569
```yaml
567
570
apiVersion: v1
@@ -619,28 +622,6 @@ spec:
619
622
**Note:** When adding a raw block device for a Pod, we specify the device path in the container instead of a mount path.
620
623
{{< /note >}}
621
624
622
-
### Binding Block Volumes
623
-
624
-
If a user requests a raw block volume by indicating this using the `volumeMode` field in the `PersistentVolumeClaim` spec, the binding rules differ slightly from previous releases that didn't consider this mode as part of the spec.
625
-
Listed is a table of possible combinations the user and admin might specify for requesting a raw block device. The table indicates if the volume will be bound or not given the combinations:
626
-
Volume binding matrix for statically provisioned volumes:
**Note:** Only statically provisioned volumes are supported for alpha release. Administrators should take care to consider these values when working with raw block devices.
642
-
{{< /note >}}
643
-
644
625
## Volume Snapshot and Restore Volume from Snapshot Support
0 commit comments