update config properties
This commit is contained in:
10
src/main/resources/application-k3s-cluster.yml
Normal file
10
src/main/resources/application-k3s-cluster.yml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
spring:
|
||||||
|
cloud:
|
||||||
|
kubernetes:
|
||||||
|
discovery:
|
||||||
|
all-namespaces: false
|
||||||
|
service-labels:
|
||||||
|
spring-boot: true
|
||||||
|
eureka:
|
||||||
|
client:
|
||||||
|
enabled: false
|
||||||
@@ -10,27 +10,28 @@ management:
|
|||||||
env:
|
env:
|
||||||
post:
|
post:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
logfile:
|
||||||
|
external-file: '/app/log/${spring.application.name}.log'
|
||||||
web:
|
web:
|
||||||
exposure:
|
exposure:
|
||||||
include: '*'
|
include: '*'
|
||||||
health:
|
health:
|
||||||
show-details: always
|
show-details: always
|
||||||
|
|
||||||
|
logging:
|
||||||
|
file:
|
||||||
|
name: '/app/log/${spring.application.name}.log'
|
||||||
|
|
||||||
spring:
|
spring:
|
||||||
|
profiles:
|
||||||
|
active: native
|
||||||
cloud:
|
cloud:
|
||||||
kubernetes:
|
config:
|
||||||
discovery:
|
server:
|
||||||
enabled: false
|
native:
|
||||||
all-namespaces: false
|
search-locations: ${CONFIG_NATIVE_SEARCH_LOCATION:/opt/config}
|
||||||
service-labels:
|
health:
|
||||||
spring-boot: true
|
enabled: false
|
||||||
enabled: false
|
|
||||||
config:
|
|
||||||
server:
|
|
||||||
git:
|
|
||||||
uri: file://opt/config
|
|
||||||
health:
|
|
||||||
enabled: false
|
|
||||||
|
|
||||||
eureka:
|
eureka:
|
||||||
client:
|
client:
|
||||||
|
|||||||
Reference in New Issue
Block a user