Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 431 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 431 Bytes

toolbox

K8s development

Aliases

Installation

curl -L https://raw.githubusercontent.com/tnqn/toolbox/main/k8s/aliases.sh | bash

Usage

# Create a pcap Pod on Node kind-worker and attach to the Pod for packet capture.
$ pcap kind-worker
pod/pcap-kind-worker created
pod/pcap-kind-worker condition met
$ tcpdump -i eth0 -n

# Remove the pcap Pod on Node kind-worker
$ unpcap kind-worker