Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
bash script to open file of IPs and looks for unsecure k8 API (10250)
for a in $(cat kube-gke.txt); do
echo $a;
curl --insecure https://$a:10250/runningpods ";
echo "";
echo "";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment