This message was deleted.
# rancher-desktop
a
This message was deleted.
h
It should be accessible from other pods via the K8s Service's name. (Not the Ingress).
w
I know it should,... it is not! So I'm puzzled!
And this works and I can access the port:
Copy code
kubectl port-forward service/my-service 8083:8083
But, if I try to access the service from a pod:
Copy code
# wget <http://my-service:8083>
Connecting to service:8083 (10.42.0.45:8083)
wget: can't connect to remote host (10.42.0.45): Connection refused
h
I was going to suggest busybox & wget. It's resolving the name, but can't connect to the port, as if it's not listening on 8083, but you forward it and it works. 🤷
w
I now... Drives me nuts!
Almost like it's missing kube-proxy
h
Did you figure it out?
w
No
Still an issue for me
Found my issue! I'm using an operator, and the thing creates a Network policy I didn't notice!
h
Glad you found it!