KCNA practice question 7 of 25

What Kubernetes component handles network communications inside and outside of a cluster, using operating system packet filtering if available?

Full set: 240 questions
Answer options
A: kube-proxy Correct answer
B: kubelet
C: etcd
D: kube-controller-manager
Correct Answer:
A. kube-proxy
Explanation

The kube-proxy is a network proxy that runs on each node in a Kubernetes cluster. It maintains network rules on nodes, which allow network communication to Pods from network sessions inside or outside of the cluster. It reflects services as defined in the Kubernetes API on each node. If the operating system has a packet filtering layer and it is available, kube-proxy will use it to direct traffic. Common implementations for this include iptables, IPVS, or eBPF.

Why Incorrect

B. kubelet: This agent runs on each node to ensure that containers are running in a Pod as specified by the control plane.
C. etcd: This is a consistent and highly-available key-value store used as Kubernetes' backing store for all cluster data.
D. kube-controller-manager: This component runs controller processes that watch the state of the cluster and make changes to move it toward the desired state.

References

- Kubernetes Documentation. (n.d.). Components of Kubernetes. Kubernetes. Retrieved from https://kubernetes.io/docs/concepts/overview/components/#kube-proxy. (The section on "kube-proxy" explicitly states its function).

Scroll to Top