Spring Boot Remote debug on K8s
Basic Setting
Append
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005to yourJAVA_TOOL_OPTIONSenviroment variables.Set your contaier mapping policy as node port and mapping your container port 5005 to any host port.
redeploy your app workload.
new idea remote run config and change the port as the above host port.
- Title: Spring Boot Remote debug on K8s
- Author: ReZero
- Created at : 2020-06-06 16:19:00
- Updated at : 2025-05-26 05:53:22
- Link: https://rezeros.github.io/2020/06/06/remote-debug-on-rancher/
- License: This work is licensed under CC BY-NC-SA 4.0.
Comments