Let's look at some basic kubectl output options.
Our intention is to list nodes (with their AWS InstanceId) and Pods (sorted by node).
We can start with:
kubectl get no
| from urlparse import urlparse | |
| from threading import Thread | |
| import httplib, sys | |
| from Queue import Queue | |
| concurrent = 200 | |
| def doWork(): | |
| while True: | |
| url = q.get() | 
Below are a set of best practices that I recommend for most customers. This information is based on my experience helping hundreds of Azure Redis customers investigate various issues.