0
0
Kubernetesdevops~20 mins

Node components (kubelet, kube-proxy, container runtime) in Kubernetes - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Node Components Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
Role of kubelet in a Kubernetes node
Which of the following best describes the primary role of the kubelet on a Kubernetes node?
AIt manages network traffic routing between pods and services.
BIt runs and manages containers on the node according to PodSpecs.
CIt stores cluster state and configuration data.
DIt schedules pods to nodes based on resource availability.
Attempts:
2 left
💡 Hint
Think about which component talks directly to the container runtime to start containers.
💻 Command Output
intermediate
1:30remaining
Output of checking kube-proxy status
What is the expected output when running kubectl get pods -n kube-system -l k8s-app=kube-proxy on a healthy cluster?
AA list of kube-proxy pods with status 'Running' on each node.
BA list of kubelet pods with status 'Pending'.
CError: the server doesn't have a resource type 'pods'.
DNo resources found in kube-system namespace.
Attempts:
2 left
💡 Hint
kube-proxy runs as a DaemonSet in the kube-system namespace.
Configuration
advanced
2:00remaining
Configuring container runtime for Kubernetes node
Which configuration file is commonly used to specify the container runtime endpoint for the kubelet on a Kubernetes node?
A/etc/systemd/system/kubelet.service.d/10-kubeadm.conf
B/etc/containerd/config.toml
C/var/lib/kubelet/kubeadm-flags.env
D/etc/kubernetes/kubelet.conf
Attempts:
2 left
💡 Hint
kubeadm sets the --container-runtime-endpoint flag in an env file loaded by the kubelet systemd service.
Troubleshoot
advanced
2:00remaining
Troubleshooting kube-proxy network issues
If pods on different nodes cannot communicate but pods on the same node can, which kube-proxy mode is most likely causing the problem?
Anone of the above; kube-proxy does not affect pod communication
Buserspace mode with firewall blocking ports
Ciptables mode with incorrect IP forwarding settings
Dipvs mode with missing kernel modules
Attempts:
2 left
💡 Hint
Direct pod-to-pod communication across nodes is handled by the CNI plugin, not kube-proxy.
Best Practice
expert
2:30remaining
Choosing container runtime for Kubernetes nodes
Which container runtime is recommended by Kubernetes for best compatibility and support as of 2024?
Arkt
BDocker Engine
CCRI-O
Dcontainerd
Attempts:
2 left
💡 Hint
Consider the runtime that Kubernetes directly supports and maintains integration with.