修改tfe.conf.j2,添加两行动态配置

This commit is contained in:
zhangzhihan
2020-01-15 12:15:13 +08:00
committed by 崔一鸣
parent 5a63196b44
commit 5d10c09630
2 changed files with 5 additions and 3 deletions

View File

@@ -60,6 +60,8 @@ kni:
enabled: 1
tfe:
nr_threads: 16
kni_ip: 192.168.100.1
mc_cache_eth: ens1.100
keykeeper:
mode: "normal"
no_cache: 0

View File

@@ -6,7 +6,7 @@ breakpad_minidump_dir=/run/tfe/crashreport/
breakpad_upload_url=http://127.0.0.1:9000/
[kni]
ip=192.168.100.1
ip={{ tfe.kni_ip }}
scm_port=2475
watchdog_switch=1
watchdog_port=2476
@@ -30,7 +30,7 @@ service_cache_expire_seconds=600
# default 0
mc_cache_enable=1
# default eth0
mc_cache_eth=ens1.100
mc_cache_eth={{ tfe.mc_cache_eth }}
# default NULL
mc_cache_broker_list={{ log_kafkabrokers.address }}
# default PXY-EXCH-INTERMEDIA-CERT