This example demonstrates how to deploy the HAProxy Kubernetes Gateway controller.
This example deploys the following resources:
- Namespace named
haproxy-unified-gatewayfor all the controller-related resources. - ServiceAccount named
haproxy-unified-gatewayfor the controller Pod. - ClusterRole and ClusterRoleBinding to grant the controller the necessary permissions to watch and manage resources in the cluster.
- Deployment named
haproxy-unified-gatewaythat runs the gateway controller. - Service named
haproxy-unified-gatewayof typeNodePortto expose the gateway's HTTP, HTTPS, and stats ports. - HugConf custom resource named
hugconfto configure the logging levels for the gateway controller.
kubectl apply -f .