A

Admin • 802.91K Points
Coach

Q. How can you restrict a pod to run only on specific nodes?

  • (A) By using labels only
  • (B) By setting nodeSelector or affinity rules
  • (C) By modifying the kube-apiserver
  • (D) By changing the pod IP
  • Correct Answer - Option(B)
  • Views: 6
  • Filed under category Kubernetes
  • Hashtags:

Explanation by: Admin
You can use nodeSelector or node affinity rules to schedule pods on specific nodes.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.