coreos / fleet

fleet ties together systemd and etcd into a distributed init system
Apache License 2.0
2.42k stars 302 forks source link

[fleet-grpc] Fallback in firewalled environments #1598

Open hectorj2f opened 8 years ago

hectorj2f commented 8 years ago

A major blocker for the integration of fleet-grpc, as enabled by default, into coreos images is the new port used to communicate grpc servers/clients.

In some environments, there might be firewalls on which the required port by gRPC is closed. Therefore, fleet-grpc should be intelligent enough to detect this behavior and fallback to the old behaviour (etcd based coordination) if new agents are not able to talk to the engine over grpc.

Related to https://github.com/coreos/fleet/pull/1426