Search code examples
javakubernetesprofilingjprofiler

JProfiler Could not execute kubectl executable


When trying to execute profiling on a kubernetes cluster with JProfiler (13.0 build 13073) for macOS

"Could not execute kubectl executable" is thrown

Cannot run program ""/usr/local/Cellar/kubernetes-cli/1.23.4/bin/kubectl"": error=2, No such file or directory (kubectl installed with homebrew)

It's the same if selecting physical file or simlink /usr/local/bin/kubectl as the value in Setup Executable > Local kubectl executable.

It's as if the entire process is in a sandbox and can't access/see the files.


Solution

  • This is a bug in 13.0 and will be fixed in 13.0.1.

    13.0.1 download link: https://download-gcdn.ej-technologies.com/jprofiler/jprofiler_macos_13_0_1.dmg