Select an Engine
Use either theX-Firebolt-Engine header or the engine query parameter:
engine query parameter before forwarding the request.
Traffic path
<engine>-service.<namespace>.svc.cluster.local, and does not expand the pod’s DNS search domains. If you enforce DNS-level network policies, allow queries for that name; the Gateway sends no other lookups for Engine routing.
Creating, scaling, or rolling an Engine does not restart the Gateway. Engine destinations are resolved dynamically.
Retry behavior
The Gateway retries connection failures, refused streams, resets, and a shutdown response markedX-Firebolt-Drained. It does not retry arbitrary HTTP 5xx responses because the Engine might already have applied a request’s side effects.
Requests with bodies up to 2 MiB can be replayed during a retry. Larger request bodies are forwarded without retry buffering, so a cutover-related failure is returned to the client. Split large ingest or multi-statement requests if they must tolerate Engine cutovers.
Graceful Engine shutdown
During an Engine cutover or scale-down:- A terminating Engine pod becomes unready and stops accepting new work.
- The Gateway removes the pod from its healthy upstream set.
- A request that reaches the pod while shutdown begins receives a retry-safe
X-Firebolt-Drainedresponse before query execution starts. - The Gateway retries that request on another ready pod.
- Queries accepted before shutdown continue until they finish or the Engine’s termination window expires.