From 4237738f3cfc5c122405b3b94033d15eeff6ad18 Mon Sep 17 00:00:00 2001 From: Chieh-Min Wang Date: Mon, 16 Nov 2020 09:50:32 +0800 Subject: [PATCH] docs: add partition field for EBS If the EBS volume is partitioned, you have to specify which partition to mount or the mounting process will fail. ``` mount: /var/lib/kubelet/plugins/kubernetes.io/aws-ebs/mounts/vol-: wrong fs type, bad option, bad superblock on /dev/nvme3n1, missing codepage or helper program, or other error. ``` --- content/en/docs/concepts/storage/volumes.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/en/docs/concepts/storage/volumes.md b/content/en/docs/concepts/storage/volumes.md index 39410ec2e5319..db06cdb3a97bc 100644 --- a/content/en/docs/concepts/storage/volumes.md +++ b/content/en/docs/concepts/storage/volumes.md @@ -106,6 +106,8 @@ spec: fsType: ext4 ``` +If the EBS volume is partitioned, you can supply the optional field `partition: ""` to specify which parition to mount on. + #### AWS EBS CSI migration {{< feature-state for_k8s_version="v1.17" state="beta" >}}