05/11/2023, 10:43 AM
Hi I'm using Rancher Desktop 1.9.0-tech-preview in Windows WSL2 and have one pod that isn't able to reach the other through the Service IP. Only works if using the Pod IP.
jnsilva@jorge-silva:~$ kubectl get pod -n t54 -o wide
NAME                                READY   STATUS      RESTARTS      AGE   IP            NODE          NOMINATED NODE   READINESS GATES
ipostgresql-client-20230510192650   0/1     Completed   0             15h   jorge-silva   <none>           <none>
t54-rafm-process-mqcgj              0/1     Completed   0             15h   jorge-silva   <none>           <none>
postgresql-t54-0                    1/1     Running     1 (10m ago)   15h   jorge-silva   <none>           <none>
t54-rafm-0                          1/1     Running     2 (10m ago)   15h   jorge-silva   <none>           <none>
jnsilva@jorge-silva:~$ kubectl get svc -n t54 -o wide
NAME                TYPE        CLUSTER-IP     EXTERNAL-IP   PORT(S)     AGE   SELECTOR
postgresql-t54-hl   ClusterIP   None           <none>        5432/TCP    15h   <,,|,,>
postgresql-t54      ClusterIP    <none>        5432/TCP    15h   <,,|,,>
t54                 ClusterIP   <none>        40353/TCP   15h   <,|,>
jnsilva@jorge-silva:~$ kubectl get pod -n portal
NAME                                READY   STATUS      RESTARTS      AGE
ipostgresql-client-20230510190418   0/1     Completed   0             15h
portal-process-xfsnl                0/1     Completed   0             15h
postgresql-portal-0                 1/1     Running     1 (11m ago)   15h
portal-7cf887ccb7-pp7t8             1/1     Running     2 (10m ago)   15h
jnsilva@jorge-silva:~$ kubectl exec -it portal-7cf887ccb7-pp7t8 -n portal sh
kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.
Defaulted container "portal" out of: portal, volume-permissions (init)
bash-5.1$ wget <http://t54.t54.svc.cluster.local:40353/xdt/>
--2023-05-11 10:00:26--  <http://t54.t54.svc.cluster.local:40353/xdt/>
Resolving t54.t54.svc.cluster.local (t54.t54.svc.cluster.local)...
Connecting to t54.t54.svc.cluster.local (t54.t54.svc.cluster.local)||:40353... ^C
bash-5.1$ wget <>
--2023-05-11 10:01:32--  <>
Connecting to connected.
HTTP request sent, awaiting response... 200 OK
Length: 40
Saving to: 'index.html'

index.html                                             100%[=========================================================================================================================>]      40  --.-KB/s    in 0s

2023-05-11 10:01:32 (10.3 MB/s) - 'index.html' saved [40/40]

bash-5.1$ exit
Any hint of why this might be happening?