Closed vsoch closed 9 months ago
That builder dockerfile was from a legacy build system so it installs a lot of things you don't need. PerfSpect works fine in any base docker image (debian, ubuntu, AL2 etc.) as long as linux perf is installed and the host k8s cluster instance has PMU exposed (we have validated it in EKS cluster of metal instances but it will also work in full socket VM's or m7i/c7i's).
Excellent! Do you have an example Dockerfile for Kubernetes or should I start from the one referenced there and figure it out?
I think my team has also some experience exposing PMU in EKS - do you know if this is possible in GKE?
I'm asking if this is possible in GKE too. https://twitter.com/vsoch/status/1734329816474615890
Do you have an example Dockerfile for Kubernetes
sudo apt install linux-perf # debian
sudo yum install perf # centos AL2 etc.
sudo apt install -y linux-tools-`uname -r` # ubuntu
Perfspect should work fine. Let me know if you encounter any other difficulties
do you know if this is possible in GKE
I would ask your gcp account rep if/how to enable
nice! Thank you - will build this and ask about GKE tomorrow. I'm good to close this issue, thanks for the help!
Hi! I'm looking to try this in Kubernetes (with the Daemonset) and noticed that your previous builder https://github.com/intel/PerfSpect/tree/ba15bcf7a28099c0cf38f6687f42c680dabbc69c/builder directory was removed. Was this intentional - is this a good starting base for what is referenced as the perrspect image here:
https://github.com/intel/PerfSpect/blob/6b548dd5863b6fc9c15fb379aecb4026040220d0/docs/daemonset.yml#L23
I want to double check it wasn't removed because it doesn't work. :P
Thanks!