From a6c58534ca3c6aab2cba54555884deaa44b07aa4 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Tue, 2 Jun 2015 11:42:05 +0200 Subject: [PATCH] exoscale: add the appropriate port to make Swarm work Signed-off-by: Vincent Bernat --- docs/index.md | 2 +- drivers/exoscale/exoscale.go | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 85e8cf5c19..1efccb2f3a 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1172,7 +1172,7 @@ Options: - `--exoscale-security-group`: Security group. It will be created if it doesn't exist. - `--exoscale-availability-zone`: exoscale availability zone. -If a custom security group is provided, you need to ensure that you allow TCP ports 22 and 2376 in an ingress rule. +If a custom security group is provided, you need to ensure that you allow TCP ports 22 and 2376 in an ingress rule. Moreover, if you want to use Swarm, also add TCP port 3376. Environment variables and default values: diff --git a/drivers/exoscale/exoscale.go b/drivers/exoscale/exoscale.go index d9b57cecc7..9415a7b82c 100644 --- a/drivers/exoscale/exoscale.go +++ b/drivers/exoscale/exoscale.go @@ -261,6 +261,12 @@ func (d *Driver) Create() error { Protocol: "TCP", Port: 2376, }, + { + SecurityGroupId: "", + Cidr: "0.0.0.0/0", + Protocol: "TCP", + Port: 3376, + }, { SecurityGroupId: "", Cidr: "0.0.0.0/0",