Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Persistent Storage: Note about disks on AWS #2998

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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:
cicharka marked this conversation as resolved.
Show resolved Hide resolved

```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
cicharka marked this conversation as resolved.
Show resolved Hide resolved
volume_size: 64
delete_on_termination: false
cicharka marked this conversation as resolved.
Show resolved Hide resolved
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