Skip to content

Instantly share code, notes, and snippets.

@nashmaniac
Created May 2, 2020 08:53
Show Gist options
  • Save nashmaniac/1c8b67df971bd4608b004c4feb6a9d5e to your computer and use it in GitHub Desktop.
Save nashmaniac/1c8b67df971bd4608b004c4feb6a9d5e to your computer and use it in GitHub Desktop.
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: product-virtual-service
namespace: default
spec:
hosts:
- product.microservice.retailvoice.xyz
gateways:
- ingressgateway
http:
- route:
- destination:
host: product-service.default.svc.cluster.local
port:
number: 8000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment