Fault-Tolerant Web Hosting on Kubernetes

Fault-Tolerant Web Hosting on Kubernetes

Docker is a containerization platform, which allows us to pack our applications into containers. It packages our services into different containers that run on the same or different hosts, but have isolated environments.

Kubernetes is an open-source platform that lets us deploy and manage containerized applications. Kubernetes takes and manages services, from the deployment stage to the final stage of exposure. Apart from that, Kubernetes automatically restarts crashed applications and load balances the traffic between replicas.

In this project, we’ll use Docker to containerize our application, and push the image to Docker Hub for later use. We’ll use port-forwarding to access our application. We’ll then create multiple replicas, andl scale up and down the number of replicas. Finally, we’ll apply an ingress controller to manage our service and expose our application.