How to include pod name in heap dump file name?

Solution Verified - Updated -

Issue

  • How to include the pod name in heap dump files so heap dumps logged to a central PVC location can be related to pods when running a microservice on OpenShift?

Environment

  • Openshift Container Platform (OCP)
  • OpenJDK

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content