Skip to content

Instantly share code, notes, and snippets.

@takakabe
Created May 17, 2020 08:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save takakabe/1c814736a6e6507f2acfc06712430b44 to your computer and use it in GitHub Desktop.
Save takakabe/1c814736a6e6507f2acfc06712430b44 to your computer and use it in GitHub Desktop.
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: kabegiwa-vs
spec:
hosts:
- kabegiwa.example.com
http:
- match:
- uri:
prefix: /wawawa
route:
- destination:
host: wawawa-pods
port:
number: 8080
retries:
attempts: 3
perTryTimeout: 5s
retryOn: 5xx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment