novagateway
Every flag the Gateway reads, with its environment variable and default.
novagateway serves Nova's HTTP and SSE API to internet clients and reaches the cluster over gRPC. This page lists every flag, checked against novagateway --help. Each flag also reads an environment variable, and a flag set on the command line wins; there is no config file. The Gateway reads its flags once, at start, so a change needs a restart; only the fleet credential file is read again while it runs. Gateway shows how to deploy it, and Gateway and read plans how it works.
novagateway [global options]Listener and the cluster
Change these to point the Gateway at the cluster and to turn on bucket host names.
- One
--addris enough; more are fallbacks. Redirects send the Gateway to each node's advertised address, which must resolve and route from where it runs. - With
--fleet-addr, the Gateway relays to the nodes' fleet listener and falls back to--addrwhile that listener is unreachable or refuses its credential, trying it again every 30 s. Under--auth jwtit needs--fleet-credential-file. Under--auth basic, the fleet listener admits only the operator login, so leave--fleet-addrunset.nova_gateway_fleet_fallbacks_totalcounts each fallback by reason, andnova_gateway_fleet_credential_remaining_secondsshows how long the credential has left. --domainturns on bucket hosts: a request to{bucket}.b.{location}.{domain}is that bucket's. The door,{location}.{domain}, the bare domain, and every other host stay path-style.--domainis repeatable, and each domain names the same buckets. To move to a new domain, list both, then remove the old one once clients have moved.
TLS termination
Change these to terminate TLS at the Gateway. Give both files for TLS 1.2 or newer; with neither, it serves plaintext behind a load balancer that terminates TLS. One without the other stops it at start. The certificate must cover each door and its bucket wildcard, *.b.{door}.
Edge checks and browsers
Change these to check tokens at the edge and to admit browsers. The Gateway always forwards the caller's token, and Nova checks it again. With a JWT source set, the Gateway also checks each request first: a missing or invalid token gets 401, and a token whose scope does not cover the action, bucket, and key gets 403. Public keys are enough. Choose one source. --jwt-issuer, --jwt-audience, and --enforce-limits need a source, or the Gateway stops at start. No browser origin is allowed unless listed.
TLS to Nova
Change these when the nodes' listeners use TLS. Outbound TLS is separate from the Gateway's own certificate. A CA bundle or a client certificate pair also turns outbound TLS on.
Batch bounds and ingress
Change these whenever the nodes' own flags change, to the same values. The Gateway checks a posted append or queue send against the batch bounds before it forwards it, and sizes request bodies and session frames by them. A record bound above the batch bound, or a negative value, stops it at start. A producer session through the Gateway follows the serving node's own bounds.
Reading from object storage
Change these to turn off direct reads or to let the Gateway fetch raw plans itself. With --serve-plan, the Gateway asks a node for a read plan and fetches stored history and subscription backlogs from object storage. Only raw plans need --storage-bucket and read-only storage credentials; presigned plans work without them. The Gateway needs no cluster membership, coordination access, or peer credentials. The byte budgets take a positive integer with an optional KiB, MiB, or GiB. Raise --fetch-inflight when nova_gateway_fetch_wait_seconds grows and nova_gateway_fetch_inflight_bytes sits at nova_gateway_fetch_limit_bytes; raise --footer-cache-bytes when nova_gateway_footercache_evictions_total climbs with the misses. Each budget costs its size in memory.
Object cache
Change these to route the Gateway's fetches through the object cache. Use the nodes' instance list, so both warm the same instances. A failed cache fetch goes direct, and an invalid list stops the Gateway at start.
Version
novagateway --version (-v) prints the version, and --help (-h) the flag list.