I came across this book due to it being popular on a top 10 list somewhere. Usually I take these "xxx you should know" or "Top 100 essential things" with a pinch of salt. Everyone is different and everyone has an opinion. Nonetheless I wanted to read this book and see what it is about. […]
Sometimes when calling a service on kong you might get a response like this HTTP/1.1 503 Service Temporarily Unavailable Connection: keep-alive Content-Length: 36 Content-Type: application/json; charset=utf-8 Date: Thu, 02 Apr 2020 09:28:06 GMT Server: kong/2.0.1 X-Kong-Response-Latency: 12 { “message”: “name resolution failed” } What does it mean? Kong cannot access the upstream. Make sure the […]
Recently I was tasked with removing a few attached storage profiles from a number of VDC’s in vCloud Director. The task would have been a long and arduous manual task. Fortunately vCloud Director has a REST API (A flippen good one). The reason I say it is good is that it makes proper used of […]
Blocking HTTP requests The most popular and easy to use blocking http client for python is requests. The requests docs are simple and straight forward…for humans. The biggest performance gain you can acquire (provided you are making requests to a single host) is using an http session. This creates a persistent connection, meaning that additional […]
A Journey of Troubleshooting K8s
We have a k8s cluster setup but noticed that a few of our pods were in Error, Terminating or ContainerCreating states. How do we figure out what caused these error and how to we correct the errors to make sure our status is Running. We are running this on k8s version 1.17 $ kubectl version […]