This message was deleted.
# rancher-desktop
a
This message was deleted.
f
You should create a nodeport or loadbalancer service to automatically forward the port to the host. The "Port Forwarding" page just allows you to forward cluster-internal services that normally are not reachable. These forwards are ephemeral, and their setup cannot yet be automated with
rdctl
.
m
Yes we tried that, but the LoadBalancer continually fails to either publish the port or if the pod is recreated, it doesn't update and becomes unreachable.
When you say "cannot _yet_", do you know if there is a plan to make that configurable with
rdctl
?
f
Yes, we need to be able to do this for automated testing: Port Forwarding functionality is not available via the API · Issue #4171
Still, the right solution for persistent port forwarding is to use a nodeport or loadbalancer service
👍 1
If you have a repro case for the loadbalancer problem, could you file a Github issue please?