Skip to content

Instantly share code, notes, and snippets.

@thypon
Created June 4, 2019 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thypon/c486ff59da2dc30120747457561976f0 to your computer and use it in GitHub Desktop.
Save thypon/c486ff59da2dc30120747457561976f0 to your computer and use it in GitHub Desktop.
#!/bin/sh
echo "$ uname -a"
uname -a
echo "$ ifconfig"
echo ifconfig
echo "$ kubectl get pod --all-namespaces -o wide"
kubectl get pod --all-namespaces -o wide
echo "$ kubectl get services --all-namespaces -o wide"
kubectl get services --all-namespaces -o wide
echo "$ iptables -L"
iptables -L
echo "$ iptables -L -tnat"
iptables -L -tnat
echo "$ ip6tables -L"
ip6tables -L
echo "$ netstat -ntulp"
netstat -ntulp
echo "$ ps -aux"
ps -aux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment