I have a spring boot app with System.out.println statements. Running as a docker, I am able to see the application logs on the console doing docker -f logs
.
However when I deploy this app in Kubernetes, not able to see the output from System.out.println in pod logs. Even with kubectl logs -f
does not display the logging output.
Any help is much appreciated.