An open API service indexing awesome lists of open source software.

https://github.com/alileza/potato

Docker Swarm orchestrator for distributed system
https://github.com/alileza/potato

container docker experimental orchestrator

Last synced: 8 months ago
JSON representation

Docker Swarm orchestrator for distributed system

Awesome Lists containing this project

README

          

![template](https://user-images.githubusercontent.com/1962129/69707879-d931a800-10fa-11ea-9558-8d52313b5196.png)

**This project is experimental**, the purpose of this is to be able to manage services in multiple docker swarm node that are not joined as a cluster.

Screen Shot 2019-11-27 at 8 46 34 AM

So _potato_ will be able to communicate with each other, and manage docker swarm services on multiple nodes, just by simply changing the database value.

# Getting Started

Download [potato binaries from releases](https://github.com/alileza/potato/releases/latest).

## Starting on the server
```sh
// this will do default set-up, such as running database migration
// starting grpc server & http server for /metrics endpoint for prometheus
// "run potato -h" if you need some changes on configuration, such as port, etc.
potato -database-dsn "postgres://somewhere" server
```

**Notes:** postgres database set-up is required at the moment, on local development, you can simply use `docker-compose up -d postgres` and forget about the flag.

## Starting on the agent
```sh
potato -node-id [custom host id, by default it will be hostname] \
-listen-address [wherever your potato server is] \
agent
```

Once this set-up adding a new rows on database based on `node-id` would allow you to add/remove services from specific node you desire.