Closed james-stallard closed 9 months ago
Yes, you're right: it`s not working. And no workaround is available for now.
I'll start working on this issue. Its solution will be available in the upcoming version 1.2.0.
Hello @josepdcs.
Thank you for confirming, and planning to work on the feature.
Thank you!
Hello @josepdcs. Thank you for your effort on developing this tool.
I noticed something that there is an option
--runtime-path
where one can specify an alternative container runtime install path.However, no matter what I set this to, like
/host/var/snap/microk8s/common/run/containerd/
or/host/data/snap/microk8s/common/run/containerd/
,kubectl-prof
appears to ignore this.As one can see in
/run/containerd/io.containerd.runtime.v2.task/k8s.io/804b035d095a1843d1baedff11f9e38f9f9cd967731e458f65feb15d1de6e9fe/init.pid: no such file or directory"
, it is always/run/containerd/
that it attempts to read from.This issue is preventing my from profiling pods running on a microk8s based node, with containerd apparently installed by snap. Is there any workaround available for my situation?
Thank you.