- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
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
Thanks
Krishna Venkata
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Venkata,
Thanks for reaching out to us !!
We are checking on this internally, will get back to you at the earliest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Krishna,
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.
Thanks,
Mayank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mayank,
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.
deplyment.yaml :
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
spec:
selector:
matchLabels:
app: nginx
replicas: 1
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx
ports:
- containerPort: 80
securityContext:
capabilities:
add:
- SYS_PTRACE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Krishna, if your issue has been solved, can I close the thread?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mayank,
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
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page