Extending K8S: Mutating Web hooks
We will be writing a Mutating Webhook to implement a pattern where we need to inject another container as side car. Say, we are running a rest-api container and we want to front that with nginx Container as sidecar in a Pod. This nginx container will be used to terminate SSL and act as reverse proxy for rest-api container. As a user, we will only be writing rest-api container manifest within Pod and let mutating webhook inject nginx to it.
Python Sanic vs GoLang Mux
In this blog I will be comparing Python Sanic and Golang Mux Web Framework. Golang Mux is high performance request router and dispatcher for matching incoming requests to their respective handler. On the other hand, Python Sanic is a Python 3.6+ web server and web framework that’s written to go fast. It allows the usage of the async/await syntax added in Python 3.5, which makes your code non-blocking and speedy.