ceph-csi/vendor/k8s.io/kubernetes/examples/volumes/flexvolume/nginx-dummy.yaml

19 lines
298 B
YAML
Raw Normal View History

2018-03-06 22:33:18 +00:00
apiVersion: v1
kind: Pod
metadata:
name: nginx-dummy
namespace: default
spec:
containers:
- name: nginx-dummy
image: nginx
volumeMounts:
- name: dummy
mountPath: /data
ports:
- containerPort: 80
volumes:
- name: dummy
flexVolume:
driver: "k8s/dummy"