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

19 lines
353 B
YAML
Raw Normal View History

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