Closed Azbesciak closed 2 years ago
Hello, could you please take a look at this?
@Azbesciak I have the same issue. You can't use the DNS of Service. Use Cluster-IP of Service instead. Change server:
value in nfs-pv.yaml
Yup, take a look at https://github.com/kubernetes/minikube/issues/3417#issuecomment-670005434 But I rather expected some solution from k8s team.
We also had no success with the fqdn, although it's in the example since 2019: https://github.com/kubernetes/examples/pull/295 by @IronPan
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/reopen
/remove-lifecycle rotten
Please send feedback to sig-contributor-experience at kubernetes/community.
/close
@k8s-triage-robot: Closing this issue.
I think it would be good to revert this commit, as it misleads the reader to believe that using the FQDN of the NFS service should work (even though it doesn't).
From my understand, currently there are only two somewhat reasonable solutions for this problem:
/etc/hosts
) to make using the FQDN work/reopen
@HusseinKabbout: You can't reopen an issue/PR unless you authored it or you are a collaborator.
Hello, I tried to use example for NFS server, with the only change that I changed in
nfs-server-rc.yml
persistentVolumeClaim
toI applied all NFS samples in a given order (rc, service, pv, pvc) but when I try to consume it via pvc in my job I receive an error like below
Do you have any idea how to solve this? I saw in https://github.com/kubernetes/minikube/issues/3417 that I am not the one facing this issue, but I suppose that if you placed this as an example, it should work. I am using Docker for Windows with the following spec
Also, I think I can but not sure - can I consume a single pv with multiple pvc, assuming
ReadWriteMany
? Worth to mention is that I aim to have jobs in different namespaces. I assume that each namespace must have at least dedicated for it pvc (I cannot have one global)? In general, I am looking for some substitute ofhostPath
- without NFS, buthostPath
doest not work with multi-node cluster, so...Thanks!