A layer-7 load balancer handles HTTP(S) traffic entering a cluster. In GKE, it is a specialized external load balancer configured through a Kubernetes Ingress resource. Unlike the external and internal TCP/L4 load balancers described alongside it, it uses Ingress rules to route traffic to Kubernetes Services. section 10.2.1
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: demo
spec:
rules:
- host: demo.example.com #1
http:
paths:
- backend:
serviceName: frontend #1
servicePort: 80 #1
- host: demo-backend.example.com #2
http:
paths:
- backend:
serviceName: users #2
servicePort: 8080 #2
The Ingress manifest routes requests for two different hostnames to different Services and ports. section 10.2.1
Plan the Service backends and their ports before defining host rules. If Ingress provisioning reports a required firewall change, inspect its events with `kubectl describe ingress INGRESS_NAME` and coordinate the indicated network update with an administrator. section 10.2.1

