2. 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
6. 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
7. 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
9. 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
11. 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
13. ● 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
15. Allocating Resources
| Iran Community OpenStack.ir
Stay in Touch and Join Us:
● Home Page: OpenStack.ir
● Meetup age: Meetup.com/IranOpenStack
● Mailing List: OpenStackir@Lists.OpenStack.org
● Twitter: @OpenStackIR , #OpenStackIRAN
● IRC Channel on FreeNode: #OpenStack-ir
16. Allocating Resources
| Iran Community OpenStack.ir
Mohammadreza Amini
Linux Administrator
Mohammadreza@openstack.ir
Amir Arsalan
Python Developer
Amir@arsalan.cloud
Thank You