1
0

nfs-client-provisioner initial code

(cherry picked from commit 5a51799e23)
This commit is contained in:
Jackie Li
2017-04-26 21:12:08 +01:00
committed by kmova
parent d8553fbc86
commit 3376ae7e5f
9 changed files with 244 additions and 14 deletions

31
deploy/deployment.yaml Normal file
View File

@@ -0,0 +1,31 @@
kind: Deployment
apiVersion: extensions/v1beta1
metadata:
name: nfs-client-provisioner
spec:
replicas: 1
strategy:
type: Recreate
template:
metadata:
labels:
app: nfs-client-provisioner
spec:
containers:
- name: nfs-client-provisioner
image: quay.io/jackieli/nfs-client-provisioner:v1
volumeMounts:
- name: nfs-client-root
mountPath: /persistentvolumes
env:
- name: PROVISIONER_NAME
value: fuseim.pri/ifs
- name: NFS_SERVER
value: 10.10.10.60
- name: NFS_PATH
value: /ifs/kubernetes
volumes:
- name: nfs-client-root
nfs:
server: 10.10.10.60
path: /ifs/kubernetes