16
Presentation By: Mohammadreza Amini Amir Arsalan Autumn 2015 IRAN OpenStack Users Group Discovery Service

Docker discovery service

Embed Size (px)

Citation preview

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

Pre introduction

Discovery Service

| Iran Community OpenStack.ir

Scaling

Scheduling

Failure Detection

programmatically

Docker Production Environment

Discovery Service

| Iran Community OpenStack.ir

What is Discovery Service?

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

Discovery Service

| Iran Community OpenStack.ir

How Does Service Discovery work?

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

Discovery Service

| Iran Community OpenStack.ir

Failure Detection

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

Discovery Service

| Iran Community OpenStack.ir

Docker Discovery Service tools

● 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

Any Question?

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

[email protected]

Amir Arsalan

Python Developer

[email protected]

Thank You