Transports

gRPC is the first choice; an HTTP/1.1 endpoint carries the same operations where gRPC does not work.

A proxy that breaks HTTP/2, or a path that passes HTTP/1.1 only, must not leave a cluster unable to sync. The agent therefore speaks two transports with identical behaviour.

TransportEndpoint on the coordinatorNotes
gRPCROBOTELOS_FLEET_GRPC_ADDRFirst choice; unary calls and streams, mutual TLS.
HTTPROBOTELOS_FLEET_HTTP_ADDRThe same operations as JSON over HTTP/1.1: POST /v1/fleet/revision:wait, GET /v1/fleet/snapshot, POST /v1/fleet/status, POST /v1/fleet/pools, and GET /v1/fleet/watch, which answers with one JSON line per revision event.

Messages are the protocol’s own, in their JSON form, so an answer is the same whichever way it arrived. Observations over HTTP are the unary status and pool reports; the observation stream is gRPC’s.

Agent configuration

VariableMeaning
ROBOTELOS_FLEET_TRANSPORTauto, grpc or http.
ROBOTELOS_FLEET_ADDRThe coordinator’s gRPC address, host:port.
ROBOTELOS_FLEET_URLBase URL of the HTTP endpoint, for example https://control.example.com:8444. Setting it makes auto the default.

In auto the agent uses the first transport that works, in the order gRPC, HTTP. It moves on only when a transport is unavailable or times out, never because the coordinator refused a request, and it tries gRPC again after five minutes.

The credential and the certificate rule are the same on both transports. A TLS-terminating proxy cannot carry certificate-bound fleets, because the certificate has to reach the coordinator: pass TLS through at layer 4, or the request is refused. A plain http URL is accepted only for a loopback coordinator.

Next steps