Kubernetes Architecture & Components Flashcards
7 cards from real KCNA practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Kubernetes Architecture & Components flashcards as text
Which component is responsible for watching for newly created Pods with no assigned node and selecting a node for them to run on?
Answer: kube-scheduler
The kube-scheduler watches for newly created Pods and selects the best node for them based on resource requirements and constraints.
What is the primary function of etcd in a Kubernetes cluster?
Answer: Serving as a consistent and highly-available key-value store for all cluster data
etcd is a distributed key-value store that serves as Kubernetes' backing store for all cluster state and configuration data.
Which Kubernetes component runs on every node and ensures containers are running in a Pod?
Answer: kubelet
The kubelet is a node agent that runs on every node and ensures the containers described in PodSpecs are running and healthy.
What does the Node Controller in kube-controller-manager do when a node becomes unreachable?
Answer: Marks the node as NotReady and eventually evicts Pods after a timeout
The Node Controller marks unreachable nodes as NotReady and, after a configurable eviction timeout (default 5 minutes), evicts Pods from those nodes.
Which communication pattern does the kubelet use to report node and pod status?
Answer: kubelet reports to the kube-apiserver via HTTPS
The kubelet communicates with the kube-apiserver over HTTPS, both to receive Pod specs and to report status updates.
In a highly available Kubernetes control plane, how is leader election typically handled for kube-controller-manager?
Answer: One instance is elected leader via a lease object; others remain on standby
kube-controller-manager uses leader election with Kubernetes Lease objects so only one instance is active at a time while others remain on standby.
What is the role of the cloud-controller-manager in Kubernetes?
Answer: Integrates cloud-provider-specific control logic separate from the core Kubernetes binary
The cloud-controller-manager embeds cloud-specific control loops (node, route, service) to allow cloud providers to release features independently of the Kubernetes core.