From the course: Certified Kubernetes Application Developer (CKAD) Cert Prep

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Configuring Gateway API

Configuring Gateway API

- So before we are actually going to set up a gateway API, I would like to explore the resources with you. To start with, there is the GatewayClass. The GatewayClass is the resource that represents a physical gateway controller. And it uses a property spec.controllerName to connect to a specific gateway controller. It has no further configuration and the real configuration itself is done on the gateway resource. So how about this gateway resource? Now, multiple gateways can connect to one gateway controller. At least one gateway is required. And the gateway uses the gatewayClassName property to connect to the gateway controller. It also defines listeners to specify which protocols should be serviced. Then we have the HTTPRoutes. This defines to which service and incoming request should be forwarded. And incoming requests are identified by the spec.hostnames. The parentRefs property connects the HTTPRoute to a gateway. And then there is the backendRefs property, which connects the…

Contents