Istio tweaks

This commit is contained in:
Steve Waterworth
2019-07-09 17:09:53 +01:00
parent 43a7d19b06
commit 2cfdb6e701
3 changed files with 8 additions and 8 deletions

View File

@@ -14,7 +14,7 @@ spec:
hosts:
- "*"
---
apiVersion: networking.istio.io/v1aplha3
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: robotshop
@@ -24,11 +24,9 @@ spec:
gateways:
- robotshop-gateway
http:
- match:
- uri:
prefix: /
route:
# default route
- route:
- destination:
host: web.robot-shop.svc.cluster.local
port:
number: 8080
host: web.robot-shop.svc.cluster.local
port:
number: 8080

View File

@@ -13,6 +13,8 @@ spec:
metadata:
labels:
service: mysql
annotations:
sidecar.istio.io/inject: "false"
spec:
containers:
- name: mysql