You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
967 B

5 years ago
  1. apiVersion: networking.istio.io/v1alpha3
  2. kind: VirtualService
  3. metadata:
  4. name: webmvcvs
  5. namespace: default
  6. spec:
  7. hosts:
  8. - "*"
  9. gateways:
  10. - istio-ingressgateway
  11. http:
  12. - match:
  13. - uri:
  14. prefix: /
  15. route:
  16. - destination:
  17. port:
  18. number: 80
  19. host: webmvc
  20. ---
  21. apiVersion: networking.istio.io/v1alpha3
  22. kind: VirtualService
  23. metadata:
  24. name: webshoppingapigwvs
  25. namespace: default
  26. spec:
  27. hosts:
  28. - "*"
  29. gateways:
  30. - istio-ingressgateway
  31. http:
  32. - match:
  33. - uri:
  34. prefix: /webshoppingapigw
  35. route:
  36. - destination:
  37. port:
  38. number: 80
  39. host: webshoppingapigw
  40. ---
  41. apiVersion: networking.istio.io/v1alpha3
  42. kind: VirtualService
  43. metadata:
  44. name: identityvs
  45. namespace: default
  46. spec:
  47. hosts:
  48. - "*"
  49. gateways:
  50. - istio-ingressgateway
  51. http:
  52. - match:
  53. - uri:
  54. prefix: /identity
  55. route:
  56. - destination:
  57. port:
  58. number: 80
  59. host: identity