ceph-csi/vendor/k8s.io/kubernetes/examples/volumes/flexvolume/nginx-lvm.yaml
Serguei Bezverkhi e9033989a0 vendor updates
2018-03-07 11:43:06 -05:00

24 lines
406 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: nginx
namespace: default
spec:
containers:
- name: nginx
image: nginx
volumeMounts:
- name: test
mountPath: /data
ports:
- containerPort: 80
volumes:
- name: test
flexVolume:
driver: "kubernetes.io/lvm"
fsType: "ext4"
options:
volumeID: "vol1"
size: "1000m"
volumegroup: "kube_vg"