Documentation
gateway.yaml
apiVersion: networking.istio.io/v1beta1 kind: Gateway metadata: name: fleetman-gateway namespace: default spec: selector: istio: ingressgateway servers:
- port:
number: 80
name: http
protocol: HTTP
hosts:
- "abc.com"
virtualservice.yaml
apiVersion: networking.istio.io/v1beta1 kind: VirtualService metadata: name: fleetman-webapp namespace: default spec: hosts:
- "abc.com" gateways:
- fleetman-gateway http:
- match:
- uri: prefix: / route:
- destination: host: fleetman-webapp port: number: 80