-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathapplication-gateway.yaml
More file actions
70 lines (62 loc) · 1.25 KB
/
application-gateway.yaml
File metadata and controls
70 lines (62 loc) · 1.25 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
spring:
threads:
virtual:
enabled: true
application:
name: gateway
cloud:
discovery:
enabled: true
function:
definition: "" # Disable default function routing
server:
port: 8080
gateway:
service-suffix: ""
exclude-services: gateway,version
eureka:
client:
service-url:
defaultZone: http://${EUREKA_HOST:localhost}:8761/eureka/
register-with-eureka: false
fetch-registry: true
registry-fetch-interval-seconds: 5
instance:
prefer-ip-address: true
logging:
level:
org.springframework.cloud.gateway: ${GATEWAY_LOG_LEVEL:TRACE}
org.springframework.web.reactive: ${REACTIVE_LOG_LEVEL:DEBUG}
org.springframework.core.io.buffer: ${BUFFER_LOG_LEVEL:DEBUG}
management:
health:
rabbit:
enabled: false
endpoints:
web:
exposure:
include: health,info
endpoint:
health:
probes:
enabled: true
---
spring:
config:
activate:
on-profile: kubernetes
cloud:
kubernetes:
enabled: true
discovery:
enabled: true
all-namespaces: false
loadbalancer:
enabled: true
eureka:
client:
enabled: false
register-with-eureka: false
fetch-registry: false
gateway:
service-suffix: -service