-
Notifications
You must be signed in to change notification settings - Fork 13
/
api-gateway-k8s.yml
38 lines (37 loc) · 1.07 KB
/
api-gateway-k8s.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
customers-service-id: http://customers-service.default.svc.cluster.local:8080
vists-service-id: http://vists-service.default.svc.cluster.local:8080
spring:
cloud:
kubernetes:
discovery:
enabled: true
loadbalancer:
ribbon:
enabled: false
gateway:
routes:
x-forwarded:
enabled: true
for-enabled: true
proto-enabled: true
host-append: false
port-append: false
proto-append: false
- id: vets-service
uri: http://vets-service.default.svc.cluster.local:8080
predicates:
- Path=/api/vet/**
filters:
- StripPrefix=2
- id: visits-service
uri: http://visits-service.default.svc.cluster.local:8080
predicates:
- Path=/api/visit/**
filters:
- StripPrefix=2
- id: customers-service
uri: http://customers-service.default.svc.cluster.local:8080
predicates:
- Path=/api/customer/**
filters:
- StripPrefix=2