Transports
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.
| Transport | Endpoint on the coordinator | Notes |
|---|---|---|
| gRPC | ROBOTELOS_FLEET_GRPC_ADDR | First choice; unary calls and streams, mutual TLS. |
| HTTP | ROBOTELOS_FLEET_HTTP_ADDR | The 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
| Variable | Meaning |
|---|---|
ROBOTELOS_FLEET_TRANSPORT | auto, grpc or http. |
ROBOTELOS_FLEET_ADDR | The coordinator’s gRPC address, host:port. |
ROBOTELOS_FLEET_URL | Base 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
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.