Post on 15-Aug-2015
Weave!• What? Portable application clusters made easy!
• How? Service discovery & address automation via a secure, application orientated virtual container network!
• Write the application and get the networking to do what you need not vice versa!
• Minimum configuration, it just works !
• Containers do not require specialist knowledge of other containers to connect to each other!
Weave Info!• Launched Sept 2014!
• Founders previously founded RabbitMQ!
• Current release (1.0.1) launched in June 2015!
• Cumulative 160K Downloads of github releases!
• 300K Weavetools containers / 1M+ since launch!
• ~3600 Stars on Github!
https://github.com/weaveworks/weave!
!
!
Weave Run!• Service Discovery, Automatic IP Address Allocation
and Management, Load Balancing and DNS for containers!
• All part of Weave!
• nothing to configure!
• nothing to maintain!
• no change request to submit when you need a new name…. !
Weave Run!• Just launch your containers with a hostname using
regular docker commands!
• Weaves functionality will do the rest!
• Application is addressable by a known hostname!
• Weave can do simple round robin load balancing efficiently as you are in a constrained network!
• Easy to query via dig for information that load balancers or other tools may need!
In Practice?!• Install Weave!
sudo curl -L git.io/weave -o /usr/local/bin/weave sudo chmod a+x /usr/local/bin/weave!
• Launch Weave!
"weave launch [-initpeercount x] !
"[ weave launch-dns & weave launch-proxy ]!
In Practice?!
"eval $(weave [proxy-env] env) "!
"docker run –d –h foo.weave.local your/container !
"docker run –d –h bar.weave.local my/container!
In Practice?!• Install Weave Scope!
"sudo curl -L git.io/scope -o /usr/local/bin/scope"sudo chmod a+x /usr/local/bin/scope!
• Launch Scope!
"/usr/local/bin/scope launch!
Point a browser at <host>:4040!
Upcoming!• Fast Data Path 1.0!
• In kernel data path!
• Weave Scope Enhancements!
• Further work on Docker Plugins!
• …. your suggestions? pull requests?!
!