cluster ip for nfs-photo
This commit is contained in:
@@ -130,9 +130,13 @@ spec:
|
||||
service:
|
||||
app:
|
||||
controller: app
|
||||
# cluster-internal only, consumed by webdav via
|
||||
# nfs-photo.nfs.svc.cluster.local
|
||||
# cluster-internal only. pinned (not DNS name): webdav's PV mounts
|
||||
# this over NFS via the kubelet's in-tree kernel NFS client, which
|
||||
# runs in the node's host network namespace and can't reliably
|
||||
# resolve/route Kubernetes Service DNS names - it needs a stable IP
|
||||
# it can reach directly.
|
||||
type: ClusterIP
|
||||
clusterIP: 10.43.166.34
|
||||
ports:
|
||||
nfs:
|
||||
port: 2049
|
||||
|
||||
@@ -48,7 +48,11 @@ spec:
|
||||
mountOptions:
|
||||
- nfsvers=4.1
|
||||
nfs:
|
||||
server: nfs-photo.nfs.svc.cluster.local
|
||||
# pinned ClusterIP, not the service DNS name - kubelet's in-tree kernel
|
||||
# NFS client runs in the node's host network namespace and can't
|
||||
# reliably resolve/route Kubernetes Service DNS names. See nfs-photo's
|
||||
# helmrelease.yaml (service.app.clusterIP) for the matching pin.
|
||||
server: 10.43.166.34
|
||||
path: /export
|
||||
claimRef:
|
||||
namespace: webdav
|
||||
|
||||
Reference in New Issue
Block a user