Skip to content

Commit

Permalink
volumes demo
Browse files Browse the repository at this point in the history
  • Loading branch information
wardviaene committed Nov 24, 2016
1 parent f01f6e9 commit cd8a431
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions volumes/helloworld-with-volume.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: helloworld-deployment
spec:
replicas: 1
template:
metadata:
labels:
app: helloworld
spec:
containers:
- name: k8s-demo
image: wardviaene/k8s-demo
ports:
- name: nodejs-port
containerPort: 3000
volumeMounts:
- mountPath: /myvol
name: myvolume
volumes:
- name: myvolume
awsElasticBlockStore:
volumeID: # insert AWS EBS volumeID here

0 comments on commit cd8a431

Please sign in to comment.