Exposing the UI
In this section we'll create the Gateway API resources needed to expose the UI application through an Application Load Balancer.
Create the GatewayClass
A GatewayClass defines which controller is responsible for managing Gateway resources. We'll create one that uses the AWS Load Balancer Controller:
~/environment/eks-workshop/modules/exposing/gateway-api/exposing-ui/gatewayclass.yaml
apiVersion: gateway.networking.k8s.io/v1
kind: GatewayClass
metadata:
name: aws-alb
spec:
controllerName: gateway.k8s.aws/alb