feat(nfs): Add NFS configurations for NAS
This commit is contained in:
parent
415b9ed485
commit
0a1ff45224
7
nfs-provisioner/kustomization.yaml
Normal file
7
nfs-provisioner/kustomization.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
namespace: nfs-provisioner
|
||||
bases:
|
||||
- github.com/kubernetes-sigs/nfs-subdir-external-provisioner/deploy
|
||||
resources:
|
||||
- namespace.yaml
|
||||
patchesStrategicMerge:
|
||||
- patch_nfs_details.yaml
|
4
nfs-provisioner/namespace.yaml
Normal file
4
nfs-provisioner/namespace.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: nfs-provisioner
|
21
nfs-provisioner/patch_nfs_details.yaml
Normal file
21
nfs-provisioner/patch_nfs_details.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: nfs-client-provisioner
|
||||
name: nfs-client-provisioner
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: nfs-client-provisioner
|
||||
env:
|
||||
- name: NFS_SERVER
|
||||
value: 192.168.56.200
|
||||
- name: NFS_PATH
|
||||
value: /export/Bulk
|
||||
volumes:
|
||||
- name: nfs-client-root
|
||||
nfs:
|
||||
server: 192.168.56.200
|
||||
path: /export/Bulk
|
Loading…
Reference in New Issue
Block a user