Documentation
¶
Overview ¶
Command tally-console serves the read-only console.
It reads its configuration from the environment, refuses a configuration it cannot honor, and then serves the console's pages on the configured address and port. Every page needs the operator credential, because the process holds a read_all token and a connection as a member of tally_console_reader, and whoever signs in reads everything both of them read.
A second listener on the same address serves /healthz, /readyz and /metrics without a credential, for a kubelet and a scraper. It has a port of its own so that a route publishing the pages cannot reach them.
The pages come from two places: the Reporting API over HTTP, and the engine database, which is opened for reads only. Its pool connects lazily, so the process comes up while the database is unavailable and the pages that read it report the outage.
SIGINT and SIGTERM begin a graceful shutdown: both listeners stop accepting connections, in-flight requests get a bounded budget to finish, and the process exits zero.