Install and Configure rook-ceph
Procedure
-
See the rook-ceph Prerequisites: (https://rook.io/docs/rook/v1.7/pre-reqs.html) .
Note: Some environments you may need to provision and use Ubuntu with containerd node pool instead of the default GKE container-Optimized OS (COS)..
- Follow the instructions for rook-ceph: (https://rook.io/docs/rook/v1.7/quickstart.html).
- Configure a shared file system for rook: (https://rook.io/docs/rook/v1.7/ceph-filesystem.html).
-
Following OneDB helm chart configuration values need to be set to use rook-ceph:
Parameter Description Value nfsserver.enabled Set this attribute to ‘true’ to mount ReadWriteMany PVC across all OneDB server pods. Required for OnBar storage space and logical log backups. If this attribute value is set to ‘false’ then rest of the “nfsserver” related helm attributes are ignored. true nfsserver.volumeSize Set this to a value of the NFS PV size 50Gi nfsserver.other.enable Set to ‘true’ to enable NFS true nfsserver.other.storageClass Set this to the storage class of the NFS onedb-nfs-<namespace> - nfsserver.other.storageClass: This is set to the the storageClass name specified in the creation of rook-ceph.