Recommendation for yourkit profiling on a kubernetes cluster

Questions about YourKit Java Profiler
Post Reply
AdityaBhansali
Posts: 1
Joined: Mon Jun 08, 2020 7:06 am

Recommendation for yourkit profiling on a kubernetes cluster

Post by AdityaBhansali »

Hi,

I am looking for recommendations on how to best integrate yourkit java profiler with a microservice deployed on a kubernetes cluster.

I have read the article about Profiling in docker container mentioned here - https://www.yourkit.com/docs/java/help/docker.jsp

Do we have any additional recommendations on :

1. Is there a standard procedure on how to add and enable the profile on a kubernetes microservice? Is there any helm chart / operator etc. which we can leverage?
2. Is there a guideline on whether to always attach the agent when deploying service on production or not?
3. Any other gotchas with respect to yourkit integration on kubernetes would be helpful.

Regards,
Aditya
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Recommendation for yourkit profiling on a kubernetes clu

Post by Anton Katilin »

Hi Aditya

> 1, 3:
There is no special guide. Please follow the common way. Should you face particular problems please let us know.

> 2. Is there a guideline on whether to always attach the agent when deploying service on production or not?
It's OK to always start with the agent. If you specify appropriate startup options, the overhead is normally negligible. To choose right options please use the wizard: https://www.yourkit.com/docs/java/help/ ... remote.jsp

Best regards,
Anton
Post Reply