deployment¶
Ports, default size, upgrades and compatibility.
Generated by make records from the decisions whose topic (or also) is this one; edit the decisions, not this page.
Current¶
Size and ports¶
Deploy schedr ui by default in the distributed chart (D37): The distributed chart deploys one UI replica and a Service on port 8082. Its default deployment is the release’s webserver; no Ingress is created.
Images¶
A slim image beside the full one (D383): Besides the full image (every connection type, D212, the default), 1.0.0 ships
schedr-slim: Python and schedr without the database and SSH clients.Images on glibc beside Alpine; Alpine tagged -alpine (D454): From 1.0.0 each image (
schedr,schedr-slim,schedr-server) is built twice for x86_64: on glibc from the manylinux wheel,python:3.14.8-slim(Debian), the plain tag (1.0.0,1.0), and on Alpine from the musllinux wheel, tagged-alpine(1.0.0-alpine,1.0-alpine). The plain tag meant Alpine in 0.1.0. The glibc base image takes PostgreSQL 18’s client from PostgreSQL’s apt source (Debian 13 has 17, whosepg_dumprefuses an 18 server). Not chosen: a suffix for glibc; separate image names; Ubuntu; distroless.
Upgrades and compatibility¶
Upgrade-rule gaps: the clear ones fixed, the others asked (D439): M4.15’s check of the upgrade rules against what M2 built fixes the gaps the archived rules (Upgrades and compatibility) settle; a gap needing a choice stops the step for the user, with what was done committed.
A DAG that no longer parses after a major upgrade is held (D441): As any file that fails to import (D72): every DAG of the file is held, no new runs, manual triggers refused, running runs finish. The hold’s reason names the schedr version the file failed with and says to fix the file or roll back. Not chosen: keeping the older parse in use (the archived design’s “last good version keeps running”).
From other topics¶
The federated UI is a separate schedr ui role (D21,
components; built M3.6)Build the documentation as part of releases (D29,
development; built M3.1)Webservers accept forwarded identities only from a proven UI (D36,
ui-cli; built M3.6)UI proof follows the deployment TLS mode (D40,
ui-cli; built M3.6)The UI and API use compatible sign-in modes (D41,
ui-cli; built M3.6)Workers and the DAG code running on them are trusted (D101,
workers; rule)Call the page Deployments (D121,
ui-cli; built M4.4b)Show each deployment node’s effective configuration masked at source (D122,
configuration; built M4.4b)Record leader and standby masters with heartbeats (D123,
observability; built M4.4b)Show the UI and all deployments in one graph (D128,
ui-cli; built M4.4b)Releases push server and worker images while the chart stays in the repository (D157,
development; built R0.1)The Python image is schedr and the server image is schedr-server (D164,
development; built R0.3)Teams requiring isolation run separate deployments (D173,
secrets; rule)Every connection type works in the base image (D212,
connections; built M4.7e)Hidden environment variables change fixed timings (D233,
configuration; built M4.8t)From 1.0.0 the schema and the protocol change only additively (D456,
development; rule)
Replaced¶
None.
Where in code¶
Makefile::docs-dist(D29)Makefile::server-image(D29)charts/schedr/values.yaml(D37, D40)charts/schedr/values.yaml::auth(D41)crates/schedr-agent/src/agent.rs(D122)crates/schedr-api/src/auth.rs::read_ui_token(D36)crates/schedr-api/src/routes.rs(D122)crates/schedr-client/src/lib.rs(D36)crates/schedr-config/src/config.rs(D36)crates/schedr-config/src/config.rs::ui_port_in_mesh(D40)crates/schedr-config/src/loader.rs::hidden_timings(D233)crates/schedr-config/src/masked.rs::masked(D122)crates/schedr-db/migrations/postgres/0001_initial.sql::masters(D123)crates/schedr-db/migrations/sqlite/0001_initial.sql::masters(D123)crates/schedr-db/src/runs.rs::schedr_version(D441)crates/schedr-db/src/status.rs(D456)crates/schedr-proto/src/version.rs::PROTOCOL_VERSION(D456)crates/schedr-ui/src/deployments.rs::graph(D121, D128)crates/schedr-ui/src/deployments.rs::lay_out(D128)crates/schedr-ui/src/lib.rs::router(D21)images/schedr/Dockerfile::mongodb-tools(D212)images/schedr/Dockerfile::openssh-client(D212)scripts/release.py(D157, D456)
Open¶
Q2 (deferred until if asked): Should the chart provide NetworkPolicies for clusters without a mesh?
Details and edge cases, with the reasons; read them before changing this:
JOURNAL.md: D383, D436, D441, D454
archive/PROJECT.md: Web UI and CLI