cri-o/vendor/k8s.io/kubernetes/examples/volumes/aws_ebs/aws-ebs-web.yaml

22 lines
432 B
YAML
Raw Normal View History

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