I am trying to understand the Istio traffic routing. I installed Istio in demo mode and got to playing around with the samples. The samples have you install a few gateways (I did bookinfo-gateway
and httpbin-gateway
.
But it seems all my traffic goes through the "http2" port defined in istio-ingressgateway
in the istio-system
namespace.
The documentation makes reference to this:
Istio provides some preconfigured gateway proxy deployments (istio-ingressgateway and istio-egressgateway) that you can use - both are deployed if you use our demo installation
But when I run: kubectl -n istio-system get service istio-ingressgateway -o yaml
the result shows kind: Service
.
The other gateways the demos had me made show kind: Gateway
.
So I am left confused...
- Is there a difference between a service and a gateway?
- How would I use the sample application gateways instead of the
istio-ingressgateway
(that is really a service). - How does istio connect my
VirtualService
to theistio-ingressgateway
. Is it just looking for allVirtualServices
?