How to debug java apps on Openshift/Kubernetes

JAVA_DEBUG: trueJAVA_DEBUG_PORT: 9009
oc get pods
oc port-forward <name-of-pod> 5005:9009
Run > Edit Configuration > Add New Configuration > select “Remote” from the list.
HOST: localhostPort: 5005

--

--

--

#redhatter #opensource #developer #kubernetes #keycloak #golang #openshift #quarkus #spring https://mentorcruise.com/mentor/abhishekkoserwal/

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Abhishek koserwal

Abhishek koserwal

#redhatter #opensource #developer #kubernetes #keycloak #golang #openshift #quarkus #spring https://mentorcruise.com/mentor/abhishekkoserwal/

More from Medium

Getting started with Docker

Setup a Jenkins server to build a Spring Boot application

Nginx File Configuration and Logs (Part 3)

How to pass configurations to Spring app running on Docker container