Refresher/basics Flashcards
What kubernetes component does the client (kubectl) connect to?
kube API server
What kubernetes component acts as a key-value store to store all data about the cluster?
etcd
What kubernetes component distributes work across worker nodes?
scheduler
What kubernetes component responds to events (e.g. pod crashing) and makes decisions?
controller
What kubernetes component runs containers?
container runtime, typically docker
What kubernetes component on the worker is responsible for carrying out actions requested by the master node?
kubelet
How do you view information about the cluster?
kubectl cluster-info
How do you get information about the nodes of a cluster?
kubectl get nodes
How are applications to be run on kubernetes packaged?
In a container image (aka Docker image).
Where does kubernetes typically expect to find applications which it is to run?
Applications are expected to be packaged as container images and available from an image repository, e.g. Docker Hub.
What is the name of the kubernetes object that encapsulates one or more containers?
pod
If you scale up your application, what component is increased in number?
The number of pods
What does contains Control plane ?
Contains API, scheduler, self-healing, autoscaling, rollouts, …
What is the RAFT algorithm ?
On a multiple node system, a node will become leader and assure correct replication of the data across your system.
More info on : http://thesecretlivesofdata.com/raft/
Goal of a controller in kubernetes while running in watch-loop ?
Ensure the observed state is the same as the declared state in a cluster