You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
900 B
36 lines
900 B
|
6 years ago
|
kind: Deployment
|
||
|
|
apiVersion: apps/v1
|
||
|
|
metadata:
|
||
|
|
name: nfs-client-provisioner
|
||
|
|
spec:
|
||
|
|
replicas: 1
|
||
|
|
strategy:
|
||
|
|
type: Recreate
|
||
|
|
selector:
|
||
|
|
matchLabels:
|
||
|
|
app: nfs-client-provisioner
|
||
|
|
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: fuseim.pri/ifs
|
||
|
|
- name: NFS_SERVER
|
||
|
|
value: 172.16.0.8
|
||
|
|
- name: NFS_PATH
|
||
|
|
value: /mnt/nfs/data
|
||
|
|
volumes:
|
||
|
|
- name: nfs-client-root
|
||
|
|
nfs:
|
||
|
|
server: 172.16.0.8
|
||
|
|
path: /mnt/nfs/data
|