kubectl get nodes -o wide
kubectl debug node/aks-agentpool-17818959-vmss00000b -it --image=mcr.microsoft.com/dotnet/runtime-deps:6.0
tcpdump --version
apt-get update && apt-get install tcpdump
tcpdump --version
tcpdump --snapshot-length=0 -vvv -w /capture.cap
kubectl get pods
kubectl cp node-debugger-aks-nodepool1-38878740-vmss000000-jfsq2:/capture.cap capture.cap
Capture a TCP dump from a Linux node in an AKS cluster
发布时间 2023-12-21 14:59:07作者: 南瓜糖