cluster ip for nfs-photo
This commit is contained in:
@@ -130,9 +130,13 @@ spec:
|
|||||||
service:
|
service:
|
||||||
app:
|
app:
|
||||||
controller: app
|
controller: app
|
||||||
# cluster-internal only, consumed by webdav via
|
# cluster-internal only. pinned (not DNS name): webdav's PV mounts
|
||||||
# nfs-photo.nfs.svc.cluster.local
|
# 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
|
type: ClusterIP
|
||||||
|
clusterIP: 10.43.166.34
|
||||||
ports:
|
ports:
|
||||||
nfs:
|
nfs:
|
||||||
port: 2049
|
port: 2049
|
||||||
|
|||||||
@@ -48,7 +48,11 @@ spec:
|
|||||||
mountOptions:
|
mountOptions:
|
||||||
- nfsvers=4.1
|
- nfsvers=4.1
|
||||||
nfs:
|
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
|
path: /export
|
||||||
claimRef:
|
claimRef:
|
||||||
namespace: webdav
|
namespace: webdav
|
||||||
|
|||||||
Reference in New Issue
Block a user