mirror of
https://github.com/kubernetes-csi/csi-driver-nvmf.git
synced 2026-05-17 12:04:00 +00:00
Co-authored-by: Jiri 'Ghormoon' Novak <novak.jiri@poda.cz> Co-authored-by: Meinhard Zhou <zhouenhua@bytedance.com> Signed-off-by: Meinhard Zhou <zhouenhua@bytedance.com>
27 lines
532 B
YAML
27 lines
532 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: nginx-fs-test
|
|
labels:
|
|
app: nginx
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: nginx
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: nginx
|
|
spec:
|
|
containers:
|
|
- name: nginx
|
|
image: nginx
|
|
ports:
|
|
- containerPort: 80
|
|
volumeMounts:
|
|
- mountPath: /dev/nvmf
|
|
name: nvmf-volume
|
|
volumes:
|
|
- name: nvmf-volume
|
|
persistentVolumeClaim:
|
|
claimName: csi-nvmf-pvc-fs |