Plugin for kubectl that will help you to get diagnostic info from dotnet application. At the moment there is support for:
dotnet-gcdumpdotnet-trace
You can find latest release on repository release page.
Once you download compatible with your OS binary, move it to any directory specified in your $PATH.
Feel free to use it as a kubectl plugin or standalone executable (kubectl shovel/kubectl-shovel)
Get gcdump:
kubectl shovel gcdump --pod-name pod-name-74df554df7-qldq7 -o ./dump.gcdumpOr trace:
kubectl shovel trace --pod-name pod-name-74df554df7-qldq7 -o ./trace.nettraceYou can find more info in cli documentation or by using -h/--help flag.