Created
June 4, 2019 14:14
-
-
Save thypon/c486ff59da2dc30120747457561976f0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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