Install OpenShift Data Foundation
Red Hat OpenShift Data Foundation (ODF) — previously Red Hat OpenShift Container Storage (OCS) — is software-defined storage for containers.
Red Hat OpenShift Data Foundation is a persistent storage solution for the OpenShift Container Platform that supports file, block, and object storage on-premises or in hybrid clouds. ODF is fully integrated with OpenShift Container Platform for deployment, management, and monitoring.
Use OpenShift Data Foundation for OpenShift versions starting with version 4.9.
OpenShift Container Platform has been verified to work in conjunction with localstorage devices and OpenShift Container Storage (OCS) on AWS EC2, VMware, Azure and Bare Metal hosts.
OpenShift Data Foundation services
Red Hat OpenShift Data Foundation services are primarily made available to applications by way of storage classes that represent the following components:
- Block storage devices, catering primarily to database workloads. Prime examples include Red Hat OpenShift Container Platform logging and monitoring, and PostgreSQL.
- Shared and distributed file system, catering primarily to software development, messaging, and data aggregation workloads. Examples include Jenkins build sources and artifacts, Wordpress uploaded content, Red Hat OpenShift Container Platform registry, and messaging using JBoss AMQ.
- Multicloud object storage, featuring a lightweight S3 API endpoint that can abstract the storage and retrieval of data from multiple cloud object stores.
- On premises object storage, featuring a robust S3 API endpoint that scales to tens of petabytes and billions of objects, primarily targeting data intensive applications. Examples include the storage and access of row, columnar, and semi-structured data with applications like Spark, Presto, Red Hat AMQ Streams (Kafka), and even machine learning frameworks like TensorFlow and Pytorch.
The following diagram shows the Red Hat OpenShift Data Foundation architecture:
For more information, see Red Hat OpenShift Data Foundation architecture.
Red Hat OpenShift Data Foundation supports deployment into Red Hat OpenShift Container Platform clusters deployed on:
- Installer Provisioned Infrastructure
- User Provisioned Infrastructure
For details about these two approaches, see OpenShift Container Platform - Installation process.
ODF Operators
Red Hat OpenShift Data Foundation is comprised of three Operator Lifecycle Manager (OLM) operator bundles, deploying four operators which codify administrative tasks and custom resources so that task and resource characteristics can be automated:
-
OpenShift Data Foundation
odf-operator
-
OpenShift Container Storage
ocs-operator
rook-ceph-operator
-
Multicloud Object Gateway
mcg-operator
Administrators define the desired end state of the cluster, and the OpenShift Data Foundation operators ensure the cluster is either in that state or approaching that state, with minimal administrator intervention.
Lab
For a lab on how to deploy OCS and ODF, see Installation and Configuration.
References
See
- Installing OpenShift Container Storage from Dave Wakeman
- Red Hat documentation: ODF architecture
- OpenShift Container Storage for an quick high level view of how OCS and ODF works.