Skip to content

Instantly share code, notes, and snippets.

@alicek106
Created March 1, 2020 01:56
Show Gist options
  • Save alicek106/3774d520bd2110805cded21782e9b2d0 to your computer and use it in GitHub Desktop.
Save alicek106/3774d520bd2110805cded21782e9b2d0 to your computer and use it in GitHub Desktop.
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: sample-app-gateway
namespace: default
spec:
selector:
istio: ingressgateway
servers:
- hosts:
- '*.jaeger-sample.alicek106.com'
port:
name: http
number: 80
protocol: HTTP
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: sample-app-virtualservice
namespace: default
spec:
gateways:
- sample-app-gateway
hosts:
- spring.jaeger-sample.alicek106.com
http:
- route:
- destination:
host: ingress-annotation-test-spring-svc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment