Infrastructure involving Kubernetes (K8s) and Docker is primarily referred to as a Containerized Infrastructure or a Cloud-Native Infrastructure.
Together, they form a complete system for managing applications through Container Orchestration.
Docker#
This is known as the containerization platform. It is a layer used for building and packaging application into portable units called containers.
Then, Docker provides the container runtime (or engine) that actually executes the applicaiton code on individual servers.
Kubernetes (k8s)#
This is known as the container orchestration platform. It is the management layer that runs on top of the container runtime.
It organizes multiple servers into a Kubernetes cluster. This is where it automates the deployment, scaling, and networking of containers across that cluster.
Key Components#
A few key components of the infrastructure.
Nodes
- Individual machines that make up the infrastructure.
- These are divided into Control Plane (managing cluster) and Worker Nodes (running containers).
Pods
- Smallest deployable units in k8s cluster, which can contain 1 or more containers.
Container Registry
- A storage system (like Docker Hub) where container images are kept before being pulled by k8s.
