Responsibilities

The ocs-operator defines the associated CRDs.

The two ocs-operator CRDs are:
OCSInitialization
OCSInitialization is a singleton CRD used for encapsulating operations that apply at the operator level. The operator takes care of ensuring that one instance always exists. The CR triggers the following:
  • Performs initialization tasks required for Fusion Data Foundation. If needed, these tasks can be triggered to run again by deleting the OCSInitialization CRD.
    • Ensures that the required Security Context Constraints (SCCs) for Fusion Data Foundation are present.
  • Manages the deployment of the Ceph toolbox Pod, used for performing advanced troubleshooting and recovery operations.
StorageCluster
The StorageCluster CRD represents the system that provides the full functionality of Fusion Data Foundation. It triggers the operator to ensure the generation and reconciliation of Rook-Ceph and NooBaa CRDs. The ocs-operator algorithmically generates the CephCluster and NooBaa CRDs based on the configuration in the StorageCluster spec. The operator also creates additional CRs, such as CephBlockPools, Routes, and so on. These resources are required for enabling different features of Fusion Data Foundation. Currently, only one StorageCluster CR per OpenShift Container Platform cluster is supported.