mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-24 22:10:23 +00:00
23 lines
388 B
YAML
23 lines
388 B
YAML
|
apiVersion: v1
|
||
|
kind: Pod
|
||
|
metadata:
|
||
|
name: nginx-nfs
|
||
|
namespace: default
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: nginx-nfs
|
||
|
image: nginx
|
||
|
volumeMounts:
|
||
|
- name: test
|
||
|
mountPath: /data
|
||
|
ports:
|
||
|
- containerPort: 80
|
||
|
volumes:
|
||
|
- name: test
|
||
|
flexVolume:
|
||
|
driver: "k8s/nfs"
|
||
|
fsType: "nfs"
|
||
|
options:
|
||
|
server: "172.16.0.25"
|
||
|
share: "dws_nas_scratch"
|