随笔分类 -  consul

摘要:导出 consul kv export -http-addr=ip:8500 -token="xxxx-xxxx-xxxx-xxxx-xxxxxx" > consul-kv.json 导入consul kv import -http-addr=ip:8500 -token="xxxx-xxxx-xx 阅读全文
posted @ 2020-11-19 11:02 knowledge-is-power 阅读(2627) 评论(0) 推荐(0)
摘要:研究了一下prometheus 使用consul的服务发现做监控,每次都是手动去注册服务,感觉很low,脚本整起来测试了一下基本可用,留着备用。 consul service相关的api参考: https://www.consul.io/api/agent/service.html https:// 阅读全文
posted @ 2020-06-10 11:13 knowledge-is-power 阅读(1046) 评论(0) 推荐(0)