Skip to content

Instantly share code, notes, and snippets.

@sumitsaiwal
Created July 28, 2018 17:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sumitsaiwal/07ff8901dcea2265d7bb560d8b7ad334 to your computer and use it in GitHub Desktop.
Save sumitsaiwal/07ff8901dcea2265d7bb560d8b7ad334 to your computer and use it in GitHub Desktop.
AWS EBS Volumes in Kubernetes
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