Skip to content
Glodrik
Esc
↑↓navigate↵open⌘Jpreview
On this page

Architecture

See which services accept requests, dispatch work, and run Ansible in a Podman installation.

The Podman installer runs the services below on one Linux host. The hosts in your inventories can be on other networks.

Single-host Glodrik architecture. Browsers and CLI clients connect over HTTPS through the proxy and frontend to the API. The API uses PostgreSQL and exchanges jobs and events with the worker through Valkey. For each job, the worker starts an execution environment and, when the job connects to hosts over SSH, a connection broker. The broker holds the SSH credentials and connects to the inventory hosts, directly or through a gateway.

What each service does

Component Responsibility
HTTPS proxy and web frontend Serve the UI and pass API requests to the API service. Browsers and CLI clients use the same public address.
API Authenticates users, checks permissions, dispatches jobs, and serves job status and output.
PostgreSQL Keeps configuration and job history. Back it up together with the Glodrik configuration directory.
Valkey Transports queued work and job events between the API and workers.
Worker Prepares job inputs and starts the execution environment for each job through Podman, and a connection broker when the job connects to hosts over SSH.
Execution environment Runs Ansible with the collections and tools the playbook needs. It gets no SSH keys or passwords.
Connection broker Holds the job’s SSH credentials and opens the connections to the target hosts, directly or through a configured SSH gateway. Ansible in the execution environment only uses these connections.

Use Execution and connections to trace an individual launch. For service status and worker health, see Operate a Glodrik instance.

Last updated on