I am using a manually created Kube.netes Cluster (using kubeadm
) deployed on AWS ec2 instances (manually created ec2 instances). I want to use AWS EBS volumes for Kube.netes persistent volume. How can I use AWS EBS volumes within Kube.netes cluster for persistent volumes?
Cluster details:
kubectl
veresion: 1.19 kubeadm
veresion: 1.19 Posted community wiki for better visibility with general solution as there are no further details / logs provided. Feel free to expand it.
The official supported way to mount Amazon Elastic Block Store as Kube.netes volume on the self-managed Kube.netes cluster running on AWS is to use awsElasticBlockStore
volume type .
To manage the lifecycle of Amazon EBS volumes on the self-managed Kube.netes cluster running on AWS please install Amazon Elastic Block Store Container Storage Interface Driver .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.