kubernetes/examples/persistent-volume-provisioning/quobyte/example-pod.yaml
Jan Safranek 907c4ad98d Move provisioning examples out of 'experimental' directory.
Dynamic provisioning is pretty stable now.
2017-01-06 13:58:04 +01:00

24 lines
446 B
YAML

apiVersion: v1
kind: ReplicationController
metadata:
name: server
spec:
replicas: 1
selector:
role: server
template:
metadata:
labels:
role: server
spec:
containers:
- name: server
image: nginx
volumeMounts:
- mountPath: /var/lib/www/html
name: quobytepvc
volumes:
- name: quobytepvc
persistentVolumeClaim:
claimName: claim1