tE
Size: a a a
tE
4
4
4
ᴅ
4
ᴅ
apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
name: example-gateway
namespace: istio-system
spec:
selector:
istio: ingressgateway
servers:
- hosts:
- example.ru
port:
name: https-443
number: 443
protocol: HTTPS
tls:
credentialName: tls-example
mode: SIMPLE
---
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: frontend-vs
namespace: dev121
spec:
gateways:
- istio-system/example-gateway
hosts:
- dev121.example.ru
http:
- match:
- uri:
prefix: /contexthelp
route:
- destination:
host: contexthelp-nginx
port:
number: 8080
- match:
- uri:
prefix: /
route:
- destination:
host: frontend.dev121.svc.cluster.local
port:
number: 6980
4