Skip to content

Istio Gateway Configuration

An Istio Gateway describes a load balancer operating at the edge of the Service mesh that receives incoming or outgoing HTTP/TCP connections.^[400-devops-07-monitoring-and-observability-k8s-istio-samples-helloworld-readme.md]

Configuration Application

Gateway configurations are applied to the cluster using kubectl^[400-devops-07-monitoring-and-observability-k8s-istio-samples-helloworld-readme.md]. For example, to configure the gateway for a helloworld service, one would apply the specific gateway resource file^[400-devops-07-monitoring-and-observability-k8s-istio-samples-helloworld-readme.md]:

[kubectl](<./kubectl.md>) apply -f helloworld-gateway.yaml

Accessing Services

Once the gateway is active, services behind it are typically accessed via an Ingress IP and port^[400-devops-07-monitoring-and-observability-k8s-istio-samples-helloworld-readme.md]. Administrators determine the specific INGRESS_HOST and INGRESS_PORT for their environment^[400-devops-07-monitoring-and-observability-k8s-istio-samples-helloworld-readme.md]. These variables are often combined into a GATEWAY_URL for verification^[400-devops-07-monitoring-and-observability-k8s-istio-samples-helloworld-readme.md]:

export GATEWAY_URL=$INGRESS_HOST:$INGRESS_PORT
curl http://$GATEWAY_URL/hello

Sources

^[400-devops-07-monitoring-and-observability-k8s-istio-samples-helloworld-readme.md]