I created the volume using the following command.
aws ec2 create-volume
Then I used the file below to create a module that uses the volume. But when I log in, I do not see the volume. Is there something I can do wrong? Did I miss something? Thanks for any ideas.
---
kind: "Pod"
apiVersion: "v1"
metadata:
name: "nginx"
labels:
name: "nginx"
spec:
containers:
-
name: "nginx"
image: "nginx"
volumeMounts:
- mountPath: /test-ebs
name: test-volume
volumes:
- name: test-volume
awsElasticBlockStore:
volumeID: aws://us-east-1c/vol-8499707e
fsType: ext4
source
share