DIY PAAS with Docker, Consul and Python

Download DIY PAAS with Docker, Consul and Python

Post on 15-Apr-2017

229 views

Category:

Internet

5 download

TRANSCRIPT

PaaS Docker, Consul Python

?,

?, ?

X? TCO - ?

PythonDockerConsul

Docker API (exec)

Docker API

Consul - "" Docker API

Consul Docker API

1: CLI

$ mypaas run myservice --args fd10124f

$ mypaas run myservice --args fd10124f

$ mypaas ls > fd10124f myservice 10.0.0.1:8080

$ mypaas run myservice --args fd10124f

$ mypaas ls > fd10124f myservice 10.0.0.1:8080

$ mypaas rm fd10124f

Docker CLI Consul KV

Consul Docker API TCP Docker

"" Consul , Docker API Docker Exec Consul

Overlay,

2:

, CLI+ HTTP+

geventflask

"" Consul

mail@kn.am@racktear

bit.ly/paas-bom