What is the role of the kubelet in a Kubernetes node?
The kubelet is an agent that runs on each node. It makes sure containers are running in pods as expected by communicating with the Kubernetes control plane.
Click to reveal answer
beginner
What does the kube-proxy component do in a Kubernetes node?
Kube-proxy manages network rules on nodes. It helps route traffic to the right pods, enabling communication inside the cluster and with external clients.
Click to reveal answer
beginner
Explain the purpose of the container runtime on a Kubernetes node.
The container runtime is software that runs containers. It downloads container images, starts and stops containers, and manages their lifecycle on the node.
Click to reveal answer
intermediate
How do kubelet and container runtime work together on a node?
Kubelet tells the container runtime which containers to run based on pod specs. The container runtime then runs those containers and reports status back to kubelet.
Click to reveal answer
intermediate
Why is kube-proxy important for service discovery in Kubernetes?
Kube-proxy sets up network rules that forward requests to the correct pod IPs. This allows services to find and communicate with pods without knowing their exact locations.
Click to reveal answer
Which component on a Kubernetes node is responsible for running containers?
AKubelet
BContainer runtime
CKube-proxy
DAPI server
✗ Incorrect
The container runtime runs containers by managing their lifecycle on the node.
What does the kubelet do on a Kubernetes node?
AManages network traffic
BRuns containers directly
CEnsures pods are running as expected
DSchedules pods to nodes
✗ Incorrect
Kubelet ensures pods and their containers are running as defined by the control plane.
Which component helps route network traffic to the correct pod in Kubernetes?
AKube-proxy
BContainer runtime
CKubelet
DScheduler
✗ Incorrect
Kube-proxy manages network rules to route traffic to pods.
How does the kubelet communicate with the container runtime?
AIt sends pod specs to the container runtime to run containers
BIt manages network rules for the container runtime
CIt schedules pods to nodes
DIt stores container images
✗ Incorrect
Kubelet instructs the container runtime which containers to run based on pod specifications.
Which of these is NOT a function of kube-proxy?
ALoad balancing network traffic
BRouting traffic to pods
CManaging network rules
DRunning containers
✗ Incorrect
Running containers is the job of the container runtime, not kube-proxy.
Describe the main functions of the kubelet, kube-proxy, and container runtime on a Kubernetes node.
Think about what each component does to keep the node working properly.
You got /3 concepts.
Explain how kubelet and container runtime interact to run pods on a node.
Focus on the communication flow between kubelet and container runtime.
You got /3 concepts.
Practice
(1/5)
1. Which Kubernetes node component is responsible for making sure containers start and keep running on a node?
easy
A. kube-proxy
B. kubelet
C. container runtime
D. etcd
Solution
Step 1: Understand the role of kubelet
kubelet runs on each node and ensures containers are started and stay running as requested by the control plane.
Hint: Network rules inside cluster are handled by kube-proxy [OK]
Common Mistakes:
Confusing kubelet with network management
Thinking container runtime manages networking
Selecting etcd which is unrelated to node networking
4. You notice pods on a node are not receiving network traffic correctly. You check and find kube-proxy is not running. Which command would you use to restart kube-proxy on a systemd-based node?
medium
A. systemctl restart kube-proxy
B. kubectl restart kube-proxy
C. systemctl restart kubelet
D. docker restart kube-proxy
Solution
Step 1: Identify the correct service to restart
Since kube-proxy manages network traffic and is not running, restarting kube-proxy service is needed.
Step 2: Use systemctl to restart kube-proxy
On systemd-based systems, 'systemctl restart kube-proxy' restarts the kube-proxy service properly.
Final Answer:
systemctl restart kube-proxy -> Option A
Quick Check:
Restart kube-proxy with systemctl restart kube-proxy [OK]
Hint: Restart kube-proxy service with systemctl to fix network issues [OK]
Common Mistakes:
Restarting kubelet instead of kube-proxy
Using kubectl which cannot restart node services
Trying to restart kube-proxy as a docker container
5. A Kubernetes node uses containerd as its container runtime. You want to verify that the container runtime is running correctly and can start containers. Which sequence of commands would you use to check containerd status and list running containers?
hard
A. docker ps && crictl status
B. systemctl status kubelet && docker ps
C. kubectl get pods && systemctl status containerd
D. systemctl status containerd && crictl ps
Solution
Step 1: Check containerd service status
Use 'systemctl status containerd' to verify the container runtime service is active and running.
Step 2: List running containers with crictl
Since containerd uses CRI, 'crictl ps' lists running containers managed by containerd.
Final Answer:
systemctl status containerd && crictl ps -> Option D
Quick Check:
Check containerd and containers with systemctl and crictl [OK]
Hint: Use systemctl for service and crictl for container runtime containers [OK]
Common Mistakes:
Using docker commands when containerd is runtime
Checking kubelet status instead of container runtime
Mixing kubectl pod commands with container runtime checks
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.