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

CKA study material · question 240 of 1000

How does trafficDistribution differ from a traffic policy?

  1. It applies only to external traffic
  2. It is enforced by the API server, not kube-proxy
  3. It expresses a preference rather than a strict guarantee
  4. It replaces the Service's selector
Show the answer

Answer: C. It expresses a preference rather than a strict guarantee

Traffic policies give strict semantic guarantees, while trafficDistribution expresses a preference such as closer endpoints.

Source: Service (Kubernetes) — Traffic distribution control

Challenge yourself on this topic → Study as cards