Knative Gateway provides multiple cloud gateway solutions that require no resident resources. These solutions are as stable and reliable as cloud services. Knative Gateway helps you reduce infrastructure costs and O&M workloads.
Benefits of Knative Gateway
By default, the Knative community version supports multiple gateway solutions, such as Istio, Gloo, Contour, Kourier, and Ambassador. Among these solutions, Istio is most frequently used. This is because Istio also functions as a service mesh. Each ASK cluster must contain at least two resident gateway instances. The two instances provide backup for each other to ensure high availability. The gateway controllers must be resident. You must pay for infrastructures and O&M of these resident instances.
Use Knative Gateway
- Query the IP address of the SLB instance.
kubectl -n knative-serving get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE ingress-gateway LoadBalancer 172.19.1*. *** 106.15.2**. ** 80:32185/TCP,443:31137/TCP 69d
- Bind the IP address of the SLB instance to the domain name of Knative by modifying
the hosts file. The following example shows how to bind them.Note The default root domain name of Knative is example.com. You can customize a domain name. For more information, see Use a custom domain name in Knative.
106.15.2**.** helloworld-go.default.example.comAfter you modify the hosts file, use the domain name to access Knative Gateway.