As of 12/19/2024 All newly created Rancher Folio environments have telepresence installed by default, thus every development team can remotely connect via IDE and debug all things.
...
Modules deployed in Eureka environment require more env vars to be present on module startup in Intellij. Please find and include additional env vars in your Rancher UI, these can be found under Storage > Secrets tab:
...
Or for the respective module in Workloads > Pods > {{module_name}} > Config tab:
...
For Feign Client to work properly make sure to include this env var into your module environment:
SIDECAR_FORWARD_UNKNOWN_REQUESTS_DESTINATION=http://kong-{{namespace}}:8000
Sidecar port-proxy:
In order for cross-module requests to perform correctly there must be a port proxy added to route all traffic from your local module instance deployed in Intellij, to localhost:8082 and then finally to the remote cluster itself. This rerouting is necessary to simulate a fully functional pod environment, where we have our module of interest and its companion sidecar accessible on localhost:8082 in the pod.
...
telepresence leave {{InterceptedSvcName}}
telepresence quit -s
If telepresence is failing to connect, please find all telepresence active\running process(es) on your system and stop them, then try to connect.
How to find active\running process(es) and terminate them:
...