Skip to content

Instantly share code, notes, and snippets.

View jpcrs's full-sized avatar
💭
:)

jpcrs

💭
:)
View GitHub Profile
@jpcrs
jpcrs / example.sh
Created August 30, 2021 11:30
Getting dumps from dotnet process inside kubernetes
### Connect to Pod
kubectl exec -it podname -- /bin/bash
# Install dotnet counters and dotnet dump
# curl -L https://aka.ms/dotnet-counters/linux-x64 alternative link to download with curl
dotnet tool install --global dotnet-counters
dotnet tool install --global dotnet-dump
# Check process id
dotnet-counters ps