任何一台client agent节点机器:

#!/usr/bin/python
#-*-coding:utf-8-*-
import time
import json
import consul

conn = consul.Consul()
a1 =  conn.kv.get('deploy/datacenter/info')
print a1

 

相关文章:

  • 2021-11-21
  • 2021-08-27
  • 2021-09-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2021-11-15
猜你喜欢
  • 2022-12-23
  • 2022-03-06
  • 2022-01-21
  • 2021-05-17
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案