Commit b1a59bd7 authored by lusyoe's avatar lusyoe

add istio example

parent cb3859b2
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: k8s-example-gateway
spec:
selector:
istio: ingressgateway
servers:
- port:
number: 80
name: http
protocol: HTTP
hosts:
- "k8s-example.lusyoe.com"
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: k8s-example
spec:
hosts:
- "k8s-example.lusyoe.com"
gateways:
- k8s-example-gateway
http:
- match:
- uri:
prefix: /
route:
- destination:
port:
number: 8080
host: k8s-example
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment