mirror of
https://code.forgejo.org/infrastructure/documentation
synced 2024-11-15 09:31:52 +00:00
Merge pull request 'Allocate a dedicated IP to NFS server' (#30) from earl-warren/documentation:wip-disaster into main
Reviewed-on: https://code.forgejo.org/infrastructure/documentation/pulls/30
This commit is contained in:
commit
2ca85bed21
|
@ -1004,7 +1004,7 @@ spec:
|
||||||
repo: https://kubernetes-sigs.github.io/nfs-subdir-external-provisioner
|
repo: https://kubernetes-sigs.github.io/nfs-subdir-external-provisioner
|
||||||
targetNamespace: default
|
targetNamespace: default
|
||||||
set:
|
set:
|
||||||
nfs.server: 10.53.101.5
|
nfs.server: 10.53.101.100
|
||||||
nfs.path: /k8s
|
nfs.path: /k8s
|
||||||
storageClass.name: nfs
|
storageClass.name: nfs
|
||||||
$ kubectl apply --server-side=true -f nfs.yml
|
$ kubectl apply --server-side=true -f nfs.yml
|
||||||
|
@ -1033,7 +1033,7 @@ spec:
|
||||||
capacity:
|
capacity:
|
||||||
storage: 20Gi
|
storage: 20Gi
|
||||||
nfs:
|
nfs:
|
||||||
server: 10.53.101.5
|
server: 10.53.101.100
|
||||||
path: /k8s/forgejo-data
|
path: /k8s/forgejo-data
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteMany
|
- ReadWriteMany
|
||||||
|
|
Loading…
Reference in a new issue