Created
July 28, 2018 17:59
-
-
Save sumitsaiwal/07ff8901dcea2265d7bb560d8b7ad334 to your computer and use it in GitHub Desktop.
AWS EBS Volumes in Kubernetes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
containers: | |
- name: APP_NAME | |
image: "DOCKER_IMAGE_NAME" | |
ports: | |
- name: http | |
containerPort: 3000 | |
volumeMounts: | |
- name: share | |
mountPath: /var/lib/ | |
volumes: | |
- name: share | |
AWSElasticBlockStore: | |
fsType: "ext4" | |
volumeID: "vol-f37a03aa" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment