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:
parent
20b07cacbd
commit
7957c93471
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue