ReZero's Utopia.

Spring Boot Remote debug on K8s

Word count: 54Reading time: 1 min
2020/06/06 Share

Basic Setting

  1. Append -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 to your JAVA_TOOL_OPTIONS enviroment variables.

  2. Set your contaier mapping policy as node port and mapping your container port 5005 to any host port.

  3. redeploy your app workload.

  4. new idea remote run config and change the port as the above host port.

  1. 1. Basic Setting