Deploying to Kubernetes
Kubernetes is an open source container orchestration and management system originally developed by Google. Today, the Kubernetes project is maintained by the Cloud Native Computing Foundation (https://www.cncf.io/).
Kubernetes is a comprehensive and complex tool that provides the following features, among others:
- Service discovery and load balancing
- Storage orchestration
- Automated rollouts and rollbacks
- Automatic bin packing, specifying how much CPU and memory each container needs
- Self-healing
- Secret and configuration management
An oversimplified description of Kubernetes is that it is a tool used to manage containers.
This recipe will serve as an introduction to Kubernetes, demonstrating how we can deploy a microservice, packaged into a Docker container, to Kubernetes.
Getting ready
You should have Node.js 14 installed, and access to both an editor and browser of your choice. This recipe also relies on the fastify...