Istio tweaks
This commit is contained in:
@@ -14,7 +14,7 @@ spec:
|
|||||||
hosts:
|
hosts:
|
||||||
- "*"
|
- "*"
|
||||||
---
|
---
|
||||||
apiVersion: networking.istio.io/v1aplha3
|
apiVersion: networking.istio.io/v1alpha3
|
||||||
kind: VirtualService
|
kind: VirtualService
|
||||||
metadata:
|
metadata:
|
||||||
name: robotshop
|
name: robotshop
|
||||||
@@ -24,11 +24,9 @@ spec:
|
|||||||
gateways:
|
gateways:
|
||||||
- robotshop-gateway
|
- robotshop-gateway
|
||||||
http:
|
http:
|
||||||
- match:
|
# default route
|
||||||
- uri:
|
- route:
|
||||||
prefix: /
|
|
||||||
route:
|
|
||||||
- destination:
|
- destination:
|
||||||
host: web.robot-shop.svc.cluster.local
|
host: web.robot-shop.svc.cluster.local
|
||||||
port:
|
port:
|
||||||
number: 8080
|
number: 8080
|
||||||
|
@@ -13,6 +13,8 @@ spec:
|
|||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
service: mysql
|
service: mysql
|
||||||
|
annotations:
|
||||||
|
sidecar.istio.io/inject: "false"
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: mysql
|
- name: mysql
|
||||||
|
Reference in New Issue
Block a user