News for hackers. Stuff that matters.
Re:Show HN: kubectl-flame – Effortless profiling on Kubernetes by nwsm on Monday August 24, 2020 @04:59PM (#24265438)
Is there a public fork somewhere where I can see the skeleton for making it support multiple languages?

I've profiled .NET in k8s and think I could contribute .NET support, but I'm not sure how you want to add and call additional profiling tools in this repo. i.e., will you just add more profiling scripts to the agent Dockerfile?

Re:Show HN: kubectl-flame – Effortless profiling on Kubernetes by gpsz on Monday August 24, 2020 @11:36AM (#24261646)
This is pretty cool.

  Golang support coming soon!
I wonder if the golang portion could just call go tool pprof underneath.
Re:Show HN: kubectl-flame – Effortless profiling on Kubernetes by edenfed on Tuesday August 25, 2020 @02:46AM (#24268705)
Hi, Using go pprof requires changing your code (importing net/http/pprof). kubectl-flame aims to profile without requiring code changes, so the current go implementation will be based on eBPF. Glad you liked the tool :)
Re:Show HN: kubectl-flame – Effortless profiling on Kubernetes by miller_joe on Wednesday August 26, 2020 @03:50PM (#24286493)
Looks super cool, but we don't run any java apps. Can't wait for the Go version!!!
Re:Show HN: kubectl-flame – Effortless profiling on Kubernetes by aliswe on Monday August 24, 2020 @02:56PM (#24264078)
This is very nice, seeing the Java support makes me optimistic about .NET.
Re:Show HN: kubectl-flame – Effortless profiling on Kubernetes by nwsm on Monday August 24, 2020 @04:21PM (#24265073)
I did it in .NET Core a bit less effortlessly, by adding a sidecar with some profiling tools, adding a few environment variables to the .NET Core process, and execing into the sidecar. Instructions: [0].

I believe kubectl-flame can support .NET pretty easily since it works the same way: "Interaction with the target JVM is done via a shared /tmp folder."

[0] https://github.com/joe-elliott/netcore-kubernetes-profiling/...