apiVersion: v1
kind: Pod
metadata:
  name: aws-web
spec:
  containers:
    - name: web
      image: nginx
      ports:
        - name: web
          containerPort: 80
          protocol: tcp
      volumeMounts:
        - name: html-volume
          mountPath: "/usr/share/nginx/html"
  volumes:
    - name: html-volume
      awsElasticBlockStore:
        # Enter the volume region and ID below
        volumeID: aws://{region}/{volume ID}
        fsType: ext4

apiVersion: v1
kind: Pod
metadata:
  name: aws-web
spec:
  containers:
    - name: web
      image: nginx
      ports:
        - name: web
          containerPort: 80
          protocol: tcp
      volumeMounts:
        - name: html-volume
          mountPath: "/usr/share/nginx/html"
  volumes:
    - name: html-volume
      awsElasticBlockStore:
        # Enter the volume ID below
        volumeID: volume_ID
        fsType: ext4

Use instance availability zone for AWS EBS
Use instance availability zone for AWS EBS

Signed-off-by: Sami Wagiaalla <5da732858d0128b49fc15a8b13d480f16b6849a9@redhat.com>
