Skip to content

Commit a6c5853

Browse files
committed
exoscale: add the appropriate port to make Swarm work
Signed-off-by: Vincent Bernat <Vincent.Bernat@exoscale.ch>
1 parent e0aca82 commit a6c5853

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1172,7 +1172,7 @@ Options:
11721172
- `--exoscale-security-group`: Security group. It will be created if it doesn't exist.
11731173
- `--exoscale-availability-zone`: exoscale availability zone.
11741174

1175-
If a custom security group is provided, you need to ensure that you allow TCP ports 22 and 2376 in an ingress rule.
1175+
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.
11761176

11771177
Environment variables and default values:
11781178

drivers/exoscale/exoscale.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,12 @@ func (d *Driver) Create() error {
261261
Protocol: "TCP",
262262
Port: 2376,
263263
},
264+
{
265+
SecurityGroupId: "",
266+
Cidr: "0.0.0.0/0",
267+
Protocol: "TCP",
268+
Port: 3376,
269+
},
264270
{
265271
SecurityGroupId: "",
266272
Cidr: "0.0.0.0/0",

0 commit comments

Comments
 (0)