-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
access denied reaching docker from pod within minikube #20
Comments
I have to admit that I'm not well versed in Kubernetes, but I'll do my best to assist in getting things working.
Recently another user experienced some weirdness when serving from their host's |
Thanks for your help,
my logs from the docker:
Even when it 'works' with the next part I don't have more logs. I put the folder outside of tmp with your link, and this comment: #2 (comment) And I have no error when pod starts, but nothing is written into the volume..
When I go into the nfs docker I have nothing into /volume, I tried to create a directory
I tried also to write with root from my pod a directory into the mount path /var/lib/postgresql/data
but I still have nothing into the host dir.. |
The server logs look totally normal.
This tells me that the pod's kernel isn't allowing the mount to happen. I see that you have From your pod, try this:
To be able to perform a mount of any kind, you'll need to see
Do you see |
I don't get it why yesterday i had no error when running the pod.. access denied came back this morning.
which give me:
but I cannot still do anything from the pod
and I still have acces denied when I try to add the nfs volume |
I had the same problem. I discoverd that the server is the source of the problem. It cant mount it self bash-4.4# mount -t nfs4 127.0.0.1:/export /mnt V3 works fine |
I have been experimenting with my own container (not docker-nfs-server), and found this:
That is, it worked when I specified the host machine's IP address, but not when I specified |
If anyone come across the same problem trying to reach the nfs server from a pod, I didn't use the right ip. |
Thanks @DouglasRoyds, I've been struggling for hours to find your message. In my case, using NFSv4 with |
Hello,
i'm trying to build the same environment I have in production with a nfs distant server, but in local, which means I have my cluster with my pods within minikube, and it should access to the nfs docker on my host machine.
So for instance I have the following pod:
Yes I know the nfs is not the best choice for database, but this is not the final usage, and this is not the question.
my volumes:
And I have this error on my pod:
My docker compose for the nfs server:
When i try showmount when I exec on my pod I have this:
Thanks for any help, hope i didn't forget something obvious..
The text was updated successfully, but these errors were encountered: