apiVersion: networking.istio.io/v1 kind: VirtualService metadata: name: vs-premises-api namespace: premises spec: hosts: - srx.wb.ru - lk.srx.wb.ru gateways: - istio-system/main-gateway http: - match: - uri: prefix: /premises/api/ rewrite: uri: /api/ route: - destination: host: backend-svc.premises.svc.cluster.local port: number: 80