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

CKA study material · question 746 of 1000

In Gateway API, what is the relationship between a Gateway and a GatewayClass?

  1. A Gateway belongs to exactly one GatewayClass, which names the controller behind it
  2. A GatewayClass belongs to exactly one Gateway
  3. They are alternatives; a cluster uses one or the other
  4. A Gateway may reference several GatewayClasses for redundancy
Show the answer

Answer: A. A Gateway belongs to exactly one GatewayClass, which names the controller behind it

A Gateway is associated with exactly one GatewayClass, which describes the controller responsible for Gateways of that class; routes such as HTTPRoute then attach to the Gateway.

Source: Gateway API (Kubernetes) — Resource model

Challenge yourself on this topic → Study as cards