OKD can be configured to access
volumes for application data.
Local volumes are persistent volumes (PV) that represent locally-mounted file
systems. As of OKD 3.10, this also includes raw block devices. A raw
device offers a more direct route to the physical device and allows an
application more control over the timing of I/O operations to that physical
device. This makes raw devices suitable for complex applications such as
database management systems that typically do their own caching. Local volumes
have a few unique features. Any pod that uses a local volume PV is scheduled on
the node where the local volume is mounted.
In addition, local volumes include a provisioner that automatically creates PVs
for locally-mounted devices. This provisioner currently scans only
pre-configured directories. This provisioner cannot dynamically provision
volumes, but this feature might be implemented in a future release.
The local volume provisioner allows using local storage within OKD
Local volumes is a Technology Preview feature only. Technology Preview features
are not supported with Red Hat production service level agreements (SLAs), might
not be functionally complete, and Red Hat does not recommend to use them for
production. These features provide early access to upcoming product features,
enabling customers to test functionality and provide feedback during the
development process. For more information on Red Hat Technology Preview features support scope,