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