1
0
Fork 0
mirror of https://code.forgejo.org/infrastructure/documentation synced 2024-11-21 19:11:11 +00:00

Allocate a dedicated IP to NFS server

So that it can be moved around from one machine to another.
This commit is contained in:
Earl Warren 2024-10-18 11:20:31 +02:00
parent 20b07cacbd
commit 7957c93471
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -1004,7 +1004,7 @@ spec:
repo: https://kubernetes-sigs.github.io/nfs-subdir-external-provisioner
targetNamespace: default
set:
nfs.server: 10.53.101.5
nfs.server: 10.53.101.100
nfs.path: /k8s
storageClass.name: nfs
$ kubectl apply --server-side=true -f nfs.yml
@ -1033,7 +1033,7 @@ spec:
capacity:
storage: 20Gi
nfs:
server: 10.53.101.5
server: 10.53.101.100
path: /k8s/forgejo-data
accessModes:
- ReadWriteMany