I have a Kubernetes environment. I want to use Intel® VTune™ Profiler to determine bottlenecks, inefficient code, long execution times, etc or any other useful info about the containers( containers have python applications in it) .
I need some documentation or wiki on how to get started with setting up Intel® VTune™ in a Kubernetes environment (it can be standalone or container-based installation of VTune) and how to run it
Can you please let us know the container which you will be using? If it is Docker, than VTune can either attach to a process running inside the container or run Profile System. You can refer this cookbook article for more details - https://software.intel.com/en-us/vtune-cookbook-profiling-in-docker-container.
If still you have any issues, please let us know.
I found if use docker run like docker run -d --name nginx --cap-add=SYS_PTRACE nginx, VTune works well.But if use deployment in kubernetes, VTune doesn't work.
- name: nginx
- containerPort: 80
I am using docker containers in a Kubernetes environment. I can't attach any process to existing docker containers. Is there a way to run something from the host or create new container that can go into all containers ?
Also docker containers based on python