Skip to content

Commit

Permalink
Apply changes in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
erzetpe committed Feb 24, 2022
1 parent f5a55ca commit e092184
Showing 1 changed file with 27 additions and 26 deletions.
53 changes: 27 additions & 26 deletions docs/home/howto/kubernetes/PERSISTENT_STORAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e092184

Please sign in to comment.