25

consul+upsync+nginx实现动态负载均衡-小小小平凡

 3 years ago
source link: https://blog.51cto.com/swiki/2503403
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
consul+upsync+nginx实现动态负载均衡原理:将upstream配置与Nginx本身解耦,实现在线修改upstream信息nginx动态生效。优势:1、无需登录服务器配置2、避免nginx进行reload3、在线配置,后期更容易实现蓝绿。与Apollo这种类似,但需要借助upsync模块安装nginx支持upsync:测试:nginxversion:nginx/1.12.2可行--a

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK