Kubernetes & Docker
Jarwis manages databases that run in containers as well as on plain Linux servers. Two paths exist: Docker / Podman containers on an enrolled node, and Kubernetes clusters you connect from the Kubernetes screen.
Docker & Podman containers
A database already running in a Docker or Podman container on an enrolled node can be adopted through Import existing. Jarwis detects the container runtime, discovers the engine inside the container (MySQL, MariaDB, PostgreSQL, Redis, MongoDB, RabbitMQ, ClickHouse and Kafka), and manages it without touching the image or the data volume. Container logs are collected into the central log store like any other node log.
Kubernetes
Open Kubernetes in the sidebar and click Connect cluster. Give Jarwis a kubeconfig, or the API server URL with a ServiceAccount token (and optionally the CA certificate). Use Test connection before saving. Namespaces can be limited with a comma-separated list; leave it empty for all.
Once connected, Jarwis:
- Discovers database custom resources (operator-managed clusters) and plain StatefulSets.
- Reads pod logs so you can search them next to your other logs.
- Backs up supported databases by running the logical backup inside the pod (through
pods/exec), and triggers native backups where the operator offers them (for example a CloudNativePG Backup). - Scales operator-managed databases by changing the replica count on the operator's resource — Jarwis delegates the actual work to the operator.
Provisioning through operators
For new databases on Kubernetes, Jarwis creates the operator's resource rather than installing packages itself. Eight engines are supported, each through its operator:
| Engine | Operator |
|---|---|
| PostgreSQL | CloudNativePG |
| MySQL / Percona XtraDB Cluster | Percona Operator for MySQL (PXC) |
| MariaDB | mariadb-operator |
| MongoDB | Percona Operator for MongoDB |
| Redis | Redis operator (OpsTree) |
| RabbitMQ | RabbitMQ Cluster Operator |
| Kafka | Strimzi |
| ClickHouse | Altinity ClickHouse Operator |
Choose the engine, topology (Single instance or Cluster with automatic failover), name, namespace, version, and storage size, then click Create. If the operator is not installed yet, Jarwis says so and offers an Install button (labelled with the operator's name) (this needs cluster-admin rights on the Kubernetes cluster; operators that need cert-manager get it installed first). The new database appears in Database workloads with its in-cluster endpoint.
Safety defaults
- Delete is limited — Jarwis only deletes databases it created itself. Databases that were discovered, not created, can be detached but never deleted from Jarwis.
- Secrets stay in Kubernetes — reading Kubernetes Secrets (for example to show a generated password) is off by default and must be enabled explicitly on the connection.
- Least privilege — use a service account whose RBAC is limited to the namespaces and resources you want Jarwis to manage: read access to pods, pod logs, StatefulSets and the operators' resources,
pods/execfor backups, and patch for scaling.