Study. uk . com
  1. Home
  2. All questions
  3. Question 908

CKA study material · question 908 of 1000

hostPort does not work in a cluster. Which capability does it depend on?

  1. kube-proxy running in IPVS mode
  2. The network add-on supporting the portmap CNI plugin
  3. The node port range being widened
  4. Pods running with hostNetwork enabled
Show the answer

Answer: B. The network add-on supporting the portmap CNI plugin

HostPort and HostIP depend on the Pod network provider; where portmap is unsupported the alternatives are a NodePort Service or host networking.

Source: Troubleshooting kubeadm (Kubernetes) — HostPort services do not work

Challenge yourself on this topic → Study as cards