123456789101112131415161718192021222324252627282930313233 |
- kind: Deployment
- apiVersion: extensions/v1beta1
- metadata:
- name: nfs-client-provisioner
- namespace: i2
- spec:
- replicas: 1
- strategy:
- type: Recreate
- template:
- metadata:
- labels:
- app: nfs-client-provisioner
- spec:
- serviceAccountName: nfs-client-provisioner
- containers:
- - name: nfs-client-provisioner
- image: quay.io/external_storage/nfs-client-provisioner:latest
- volumeMounts:
- - name: nfs-client-root
- mountPath: /persistentvolumes
- env:
- - name: PROVISIONER_NAME
- value: i2/nfs
- - name: NFS_SERVER
- value: 192.168.14.210
- - name: NFS_PATH
- value: /data/nfs-data
- volumes:
- - name: nfs-client-root
- nfs:
- server: 192.168.14.210
- path: /data/nfs-data
|