diff --git a/docs/home/howto/kubernetes/PERSISTENT_STORAGE.md b/docs/home/howto/kubernetes/PERSISTENT_STORAGE.md index fdcc6f57c1..e18bb37b03 100644 --- a/docs/home/howto/kubernetes/PERSISTENT_STORAGE.md +++ b/docs/home/howto/kubernetes/PERSISTENT_STORAGE.md @@ -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 --- @@ -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