K8s architecture Flashcards
What is a Node
A worker machine where containers will be launched by k8s
What is a Cluster
Set of nodes grouped together in order to share load
What is the “manager” node?
- Watches nodes in a cluster
- Responsible for orchestration and monitoring workloads
What are the five K8s componentes
- k8s API
- etcd
- kubelet
- container runtime
- controller
- scheduler
What does the k8s API do
Responds to and enacts k8s SLI commands
What is etcd
key-value store that holds all the data about a cluster (including logs)
What is a kubelet
The agent running on each node in a cluster, it’s responsible for ensuring containers are running on the node
What is container runtime
The underlying software to run containers (e.g., Docker)
What is the controller
- the brains
- responsible for noticing and responding when nodes/containers go down
What is a scheduler
It distributes work/load across multiple nodes
What’s the difference between a manager and a worker node
Workers host containers and have the container runtime
Managers have the k8s API server, etcd, controller, and scheduler
What is kubectl
- Kube Control
- k8s cli tool