Kubernetes Fundamentals Flashcards
Name Kubernetes control-plane services
etcd
kube-scheduler
kube-api-server
kube-controller-manager
cloud-controller-manager(optional)
Role of the Kubernetes control-plane?
Brains of kubernetes. Manages cluster and control critical functions like deployment, scheduling, self-healing, scaling.
Administrative traffic
Configuration
System control
Management
What’s inside every worker node?
kubelet
kube-proxy
container runtime
What kubelet is responsible for?
It talks to kube-api-server and container-runtime to handle the final stage of starting containers
What kube-proxy is responsible for?
Handles inside and outside communication of your cluster. It tries to rely on os networking capabilities to do so.
What container runtime is responsible for?
Responsible for running containers on worker nodes.
What’s the most popular container runtime?
containerd
Deprecated container runtime, since when?
Docker, since 1.24
What happens to worker nodes when control plane is not available?
Apps on worker nodes will keep running but scaling, scheduling new apps and some other functionality will be missing.
Is kubernetes namespace suitable for strong isolation?
No
How to divide cluster into multiple virtual clusters?
with namespaces
A database that holds state of the cluster?
etcd
Is etcd an official part of Kubernetes?
No, it is an independent project
Centerpiece of kubernetes. All components interact with it.
kube-api-server
User access kubernetes cluster through it
kube-api-server
Chooses a worker that can fit a new workload based on CPU etc.
kube-scheduler
Contain control loops that manage the state of the cluster
kube-controller-manager
Optional control plane service that allows to interact with cloud providers API
cloud-controller-manager
Server nodes types
Control plane node(s)
Worker nodes
Cloud providers with kubernetes
Amazon (EKS)
Google (GKE)
Microsoft (AKS)
DigitalOcean (DOKS)
Kubernetes distributions
OpenShift
Rancher
k3s
VMWare Tanzu
cluster installers(production grade)
kubeadm
kops
kubespray