Skip to content

Commit

Permalink
Persistent Storage: Note about disks on AWS (#2998)
Browse files Browse the repository at this point in the history
  • Loading branch information
cicharka authored and erzetpe committed Mar 22, 2022
1 parent 313e91c commit b29ed8a
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions docs/home/howto/kubernetes/PERSISTENT_STORAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ 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
#### 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`.
To create Rook/Ceph Cluster Storage on Azure first you need to add empty disk resource to Kubernetes cluster in key `specification.additional_disks`, under `kind: infrastructure/virtual-machine` for configuration of kubernetes node machine:

```yaml
---
Expand All @@ -90,6 +90,32 @@ specification:

#### Create disks for Rook/Ceph Cluster Storage - AWS

To define additional empty disk resources for Rook/Ceph Cluster Storage on AWS, use `specification.disks.additional_disks` under `kind: infrastructure/virtual-machine` for configuration of kubernetes node machine:
```yaml
---
kind: infrastructure/virtual-machine
title: Virtual Machine Infra
provider: aws
name: kubernetes-node-machine
specification:
disks:
additional_disks:
- volume_type: gp2
volume_size: 64
delete_on_termination: false
encrypted: true
```
Currently Epiphany support the following parameters for `additional_disks` specification:
- device_name
- volume_type
- volume_size
- encrypted
- delete_on_termination
- tags

More information about AWS block devices and its parameters: [ebs_block_device](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance#ebs_block_device)


#### Create disks for Rook/Ceph Cluster Storage - On Prem

### Azure
Expand Down

0 comments on commit b29ed8a

Please sign in to comment.