Responsibilities
The ocs-operator defines the associated CRDs.
The two
ocs-operator CRDs are:OCSInitializationOCSInitializationis 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
OCSInitializationCRD.- 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.
- Performs initialization tasks required for Fusion Data Foundation. If needed, these tasks can be triggered to
run again by deleting the
StorageCluster- The
StorageClusterCRD represents the system that provides the full functionality of Fusion Data Foundation. It triggers the operator to ensure the generation and reconciliation ofRook-CephandNooBaaCRDs. Theocs-operatoralgorithmically generates theCephClusterandNooBaaCRDs based on the configuration in theStorageClusterspec. The operator also creates additional CRs, such asCephBlockPools,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.