Open adrianolw opened 4 months ago
Changing to Bionic Beaver helped, though no idea how to fix it on Jammy.
Hi @adrianolw
curl -i http://10.244.0.2
is incorrect.
You are trying to access the pod network directly from the virtual machine. There is no route for that.
You should have either
127.0.0.1:<node port>
kubectl exec
to that pod and run the above curl inside the test podkubectl port-forward
to the deployment's pod, and in another ssh shell, curl the forwarded port on 127.0.0.1:<forwarded port>
These techniques are all discussed in CKA course material.
Your Workstation
Windows (10 or 11)
System Memory
16GB or more
What happened?
Running the Vagrant up I got this messages:
I'm using the jammy64 version. After finnish the lab, I run a nginx test deploy, pod, and installed a Nginx IngressController and tried to use with some pathprefix but nothing is working, and I discovered that my POD is not accessible from other hosts like controlplane or other node then the node that is running the pod. I tested the WeaveNet and Flannel as well, but nothing changed.
Check the curl on controlplane:
Test directly on node01
And of course with that my ingress rule is not working, I just got a 404 HTTP error.
I think that could be related to the two parameters that I mention on the subject, can someone help me ?
Relevant output
No response