cluster ip for nfs-photo

This commit is contained in:
azykov@mail.ru
2026-08-18 01:54:34 +03:00
parent 184ccf1ac4
commit 5d99a8ac51
2 changed files with 11 additions and 3 deletions
@@ -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
+5 -1
View File
@@ -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