Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (40 sloc) 803 Bytes
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: azure-managed-disk
spec:
accessModes:
- ReadWriteOnce
storageClassName: managed-premium
resources:
requests:
storage: 25Gi
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: disk-deploy
labels:
app: busy-box-with-disk
spec:
replicas: 1
selector:
matchLabels:
app: disk-pod
template:
metadata:
labels:
app: disk-pod
spec:
containers:
- name: busy
image: vplauzon/get-started:part2-no-redis
ports:
- containerPort: 80
volumeMounts:
- name: volume
mountPath: /buffer
volumes:
- name: volume
persistentVolumeClaim:
claimName: azure-managed-disk