Skip to content

About

kubectl plugin for gathering diagnostics from running in k8s dotnet applications

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

26 Commits

Folders and files

Repository files navigation

kubectl shovel

GitHub Release Go Report Card

Plugin for kubectl that will help you to gather diagnostic info from dotnet application. It can work with .Net Core 3.0+ applications and Kubernetes clusters with docker runtime.

At the moment the following diagnostic tools are supported:

  • dotnet-gcdump
  • dotnet-trace

Inspired by kubectl-flame.

Installation

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.

Usage

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.gcdump

Or trace:

kubectl shovel trace --pod-name pod-name-74df554df7-qldq7 -o ./trace.nettrace

You can find more info in cli documentation or by using -h/--help flag.

How it works

It will run the job on the specified pod's node and mount its /tmp folder with dotnet-diagnostic socket. After this specified diagnostic tool will be launched.

About

kubectl plugin for gathering diagnostics from running in k8s dotnet applications

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages