Skip to content

Instantly share code, notes, and snippets.

@jinuljt
Last active August 29, 2015 14:25
Show Gist options
  • Save jinuljt/8146f261af42350701d6 to your computer and use it in GitHub Desktop.
Save jinuljt/8146f261af42350701d6 to your computer and use it in GitHub Desktop.
docker 服务自动发现 架构实现

架构图

底层使用 shipyard这类docker cluster。

Docker container 到etcd上注册自己的地址。

HAProxy 转发请求到Docker Container。

Confd 监控 etcd,动态更新HAProxy配置,并重启。

@jinuljt
Copy link
Author

jinuljt commented Jul 24, 2015

docker container 如何自动缩放(auto-scaling)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment