Archive
Posts from 2020
Observing Kubernetes kubectl API calls
Recently I spent some time digging into the Kubernetes API. This was an incredible experience, and it really helped me understand the various calls, how they are structured, and what they do. To observe the API calls made by kubectl, you can run it with the "-v10" option: This will print a TON of information to your screen. To see the API calls generated by $(kubectl get po), you can grep the results for GET: The API call to retrieve the list of pods contains the API version, the namespace to retrieve pods from, and the the results are paginated to 500 by default…
$ read more →