diff --git a/docs/home/howto/kubernetes/PERSISTENT_STORAGE.md b/docs/home/howto/kubernetes/PERSISTENT_STORAGE.md index fdcc6f57c1..ae7c172a61 100644 --- a/docs/home/howto/kubernetes/PERSISTENT_STORAGE.md +++ b/docs/home/howto/kubernetes/PERSISTENT_STORAGE.md @@ -8,6 +8,7 @@ or [Amazon EFS](https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html) sto ## Kubernetes Rook/Ceph Cluster Storage Rook provides distributed storage systems for Kubernetes installed with Epiphany. + It provides capabilities: - self-managing - self-scaling @@ -19,14 +20,38 @@ It provides capabilities: Epiphany supports Rook with Ceph storage, other options provided by Rook - Cassandra, NFS are not supported. -### Rook/Ceph General Configuration - To add Rook/Ceph support in Epiphany you need to add to your cluster configuration two elements: - storage (for cloud deployments - can be automatically created by Epiphany) - Rook/Ceph Adding the storage is described below in separate sections for Azure, AWS and on premise environments. +### Create disks for Rook/Ceph Cluster Storage - Azure + +To create Rook/Ceph Cluster Storage on Azure first you need to add empty disk resource to Kubernetes cluster in key `specification.additional_disks`. + +```yaml +--- +kind: infrastructure/virtual-machine +name: kubernetes-node-machine +provider: azure +based_on: kubernetes-node-machine +specification: + storage_image_reference: + .. + storage_os_disk: + disk_size_gb: 64 + additional_disks: + - storage_account_type: Premium_LRS + disk_size_gb: 128 +``` + +#### Create disks for Rook/Ceph Cluster Storage - AWS + +#### Create disks for Rook/Ceph Cluster Storage - On Prem + +### Rook/Ceph Configuration + To enable Rook support add to your cluster configuration the section like below: ```yaml @@ -68,30 +93,6 @@ Sample configuration files that can be used in Epiphany `configuration/rook`: More informations about Rook with Ceph storage may be found in the official Rook [documentation](https://rook.io/docs/rook/v1.8/). -### Create disks for Rook/Ceph Cluster Storage - Azure - -To create Rook/Ceph Cluster Storage on Azure first you need to add empty disk resource to Kubernetes cluster in key `specification.additional_disks`. - -```yaml ---- -kind: infrastructure/virtual-machine -name: kubernetes-node-machine -provider: azure -based_on: kubernetes-node-machine -specification: - storage_image_reference: - .. - storage_os_disk: - disk_size_gb: 64 - additional_disks: - - storage_account_type: Premium_LRS - disk_size_gb: 128 -``` - -#### Create disks for Rook/Ceph Cluster Storage - AWS - -#### Create disks for Rook/Ceph Cluster Storage - On Prem - ### Azure #### Infrastructure