Introduction
Before we jump into the recipes, it is very important that you know what Kubernetes is and why we use it to deploy microservices.
If you've read the previous chapter, you will understand why we need a clustering framework like Mesos. Just as Mesos is a clustering framework from the Apache foundation, Kubernetes is a containerization platform from Google that lets you orchestrate and manage containers. It is similar to the Mesos and Marathon combo. It comes with all the features you will need to deploy containers, such as scaling, load balancing, deploying, and monitoring. One more thing Kubernetes does compared to Mesos is that it lets you deploy rkt containers. But with Mesos' recent release, they have added unified containerizer support, which will let Mesos deploy not just Docker containers, but also rkt containers. Rkt (pronounced "rock it") was initially developed with the intent of providing a much more secured containerizing framework. One thing to...