Docker discovery service
-
Upload
mohammadreza-amini -
Category
Technology
-
view
127 -
download
0
Transcript of Docker discovery service
Presentation By:Mohammadreza Amini
Amir Arsalan
Autumn 2015IRAN OpenStack Users Group
Discovery Service
Agenda
Discovery Service
| Iran Community OpenStack.ir
● Pre introduction
● What is Discovery Service?
● Global
● In Docker ecosystem
● How Does Service Discovery Work?
● Failure Detection
● Docker Discovery Service Tools
Discovery Service
| Iran Community OpenStack.ir
Scaling
Scheduling
Failure Detection
programmatically
Docker Production Environment
Discovery Service allow automatic detection of devices and services offered by
these devices on a computer network.
Discovery Service protocol example:
● DHCP
Discovery Service
| Iran Community OpenStack.ir
● GlobalGlobal
Discovery Service implemented as a distributed key-value store that keep
container configuration and information details.
Discovery Service
| Iran Community OpenStack.ir
● In Docker EcosystemIn Docker Ecosystem
Each service discovery tool provides an API that components can use to set or
retrieve data.
Typically the discovery service is implemented as a key-value store accessible using
standard http methods.
Discovery Service
| Iran Community OpenStack.ir
service discovery platforms allow values to be set with a configurable timeout.
The component can set a value with a timeout, and ping the discovery service at
regular intervals to reset the timeout.
If the component fails and the timeout is reached, that instance's connection info
is removed from the store. (health checking)
Discovery Service
| Iran Community OpenStack.ir
● Etcd: This tool was created by the makers of CoreOS to provide service discovery and globally distributed configuration to both containers and the host systems themselves. It implements an http API and has a command line client available on each host machine.
● consul: This service discovery platform has many advanced features that make it stand out including configurable health checks, ACL functionality, HAProxy configuration, etc.
● Zookeeper
Discovery Service
| Iran Community OpenStack.ir
Allocating Resources
| Iran Community OpenStack.ir
Stay in Touch and Join Us:
● Home Page: OpenStack.ir
● Meetup age: Meetup.com/IranOpenStack
● Mailing List: [email protected]
● Twitter: @OpenStackIR , #OpenStackIRAN
● IRC Channel on FreeNode: #OpenStack-ir
Allocating Resources
| Iran Community OpenStack.ir
Mohammadreza Amini
Linux Administrator
Amir Arsalan
Python Developer
Thank You