Add support for ARM (Raspberry PI) for nfs-client
- Reorganized to use Makefile for building
- Added arm container for use in ARM based kubernetes clusters
Signed-off-by: Niklas Wik <niklas.wik@iki.fi>
(cherry picked from commit 166056da73)
This commit is contained in:
32
deploy/deployment-arm.yaml
Normal file
32
deploy/deployment-arm.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
kind: Deployment
|
||||
apiVersion: extensions/v1beta1
|
||||
metadata:
|
||||
name: nfs-client-provisioner
|
||||
spec:
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: nfs-client-provisioner
|
||||
spec:
|
||||
serviceAccount: nfs-client-provisioner
|
||||
containers:
|
||||
- name: nfs-client-provisioner
|
||||
image: quay.io/external_storage/nfs-client-provisioner-arm:latest
|
||||
volumeMounts:
|
||||
- name: nfs-client-root
|
||||
mountPath: /persistentvolumes
|
||||
env:
|
||||
- name: PROVISIONER_NAME
|
||||
value: fuseim.pri/ifs
|
||||
- name: NFS_SERVER
|
||||
value: 192.168.1.20
|
||||
- name: NFS_PATH
|
||||
value: /mnt/kube_nfs
|
||||
volumes:
|
||||
- name: nfs-client-root
|
||||
nfs:
|
||||
server: 192.168.1.20
|
||||
path: /mnt/kube_nfs
|
||||
Reference in New Issue
Block a user