Skip to content

obinnaaliogor/Kubernetes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynamic Volume Provisioning

This example shows how to create a EBS volume and consume it from container dynamically.

Prerequisites

  1. Kubernetes 1.13+ (CSI 1.0).

  2. The aws-ebs-csi-driver driver is installed.

Usage

  1. Create a sample app along with the StorageClass and the PersistentVolumeClaim:
kubectl apply -f specs/
  1. Validate the volume was created and volumeHandle contains an EBS volumeID:
kubectl describe pv
  1. Validate the pod successfully wrote data to the volume:
kubectl exec -it app cat /data/out.txt
  1. Cleanup resources:
kubectl delete -f specs/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published