You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

80 lines
1.4 KiB

apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: istio-ingressgateway
#namespace: istio-system
spec:
selector:
istio: ingressgateway # use Istio default gateway implementation
servers:
- port:
number: 80
name: http
protocol: HTTP
hosts:
- "*"
- port:
number: 6379
name: redis
protocol: TCP
hosts:
- "*"
- port:
number: 27017
name: mongo
protocol: TCP
hosts:
- "*"
- port:
number: 5672
name: rabbitmq
protocol: TCP
hosts:
- "*"
- port:
number: 1433
name: sql
protocol: TCP
hosts:
- "*"
---
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: istio-egressgateway
spec:
selector:
istio: egressgateway
servers:
- port:
number: 80
name: http
protocol: HTTP
hosts:
- "*"
- port:
number: 6379
name: redis
protocol: TCP
hosts:
- "basket-data.default.svc.cluster.local"
- "keystore-data.default.svc.cluster.local"
- port:
number: 27017
name: mongo
protocol: TCP
hosts:
- "nosql-data.default.svc.cluster.local"
- port:
number: 5672
name: rabbitmq
protocol: TCP
hosts:
- "rabbitmq.default.svc.cluster.local"
- port:
number: 1433
name: sql
protocol: TCP
hosts:
- "sql-data.default.svc.cluster.local"