diff --git a/demo/istio/manifests/echo-service.yaml b/demo/istio/manifests/echo-service.yaml index 2ca5e730..62a837cc 100644 --- a/demo/istio/manifests/echo-service.yaml +++ b/demo/istio/manifests/echo-service.yaml @@ -41,4 +41,38 @@ spec: app: echo ports: - port: 8080 - targetPort: 8080 \ No newline at end of file + targetPort: 8080 + +--- +apiVersion: networking.istio.io/v1alpha3 +kind: VirtualService +metadata: + name: echo-virtual-service + namespace: demo +spec: + hosts: + - echo + http: + - route: + - destination: + host: echo + port: + number: 8080 + +--- + +apiVersion: networking.istio.io/v1alpha3 +kind: Gateway +metadata: + name: echo-gateway + namespace: demo +spec: + selector: + istio: ingressgateway + servers: + - port: + number: 80 + name: http + protocol: HTTP + hosts: + - "*" \ No newline at end of file