From 5d99a8ac511061a712e6ad31943f967bf171bf61 Mon Sep 17 00:00:00 2001 From: "azykov@mail.ru" Date: Tue, 18 Aug 2026 01:54:34 +0300 Subject: [PATCH] cluster ip for nfs-photo --- clusters/base/apps/nfs-photo/helmrelease.yaml | 8 ++++++-- clusters/base/apps/webdav/pv-pvc-data.yaml | 6 +++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/clusters/base/apps/nfs-photo/helmrelease.yaml b/clusters/base/apps/nfs-photo/helmrelease.yaml index bc285e7..0497b4e 100644 --- a/clusters/base/apps/nfs-photo/helmrelease.yaml +++ b/clusters/base/apps/nfs-photo/helmrelease.yaml @@ -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 diff --git a/clusters/base/apps/webdav/pv-pvc-data.yaml b/clusters/base/apps/webdav/pv-pvc-data.yaml index 33db217..167a8a0 100644 --- a/clusters/base/apps/webdav/pv-pvc-data.yaml +++ b/clusters/base/apps/webdav/pv-pvc-data.yaml @@ -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