Day-2 operations
Once the platform is running, most operational work is coordinating lifecycles: OpenShift, a dozen operators, the data they manage, and Alquimia’s own releases. This page covers the routines that keep that ecosystem healthy.
Upgrades
Section titled “Upgrades”flowchart LR ocp["1 · OpenShift<br/>EUS-to-EUS or minor"] ops["2 · Platform operators<br/>cert-manager · OTel · Tempo · Logging · GitOps"] data["3 · Data operators<br/>Manual InstallPlan approval<br/>Kafka · PG · Redis · Qdrant · MongoDB · Vault"] alq["4 · Alquimia release<br/>runtime · Studio · TrustLens"] ocp --> ops --> data --> alq
- Check compatibility first. Before upgrading OpenShift, check each operator’s supported OpenShift versions in the Red Hat Ecosystem Catalog. Partner operators often lag behind new OpenShift minor releases.
- Upgrade data operators one at a time, with
installPlanApproval: Manual, and after a fresh backup. Upgrade the operator first, then the operand version (for examplespec.kafka.versionor the PostgreSQL image), as separate steps. - Alquimia releases are a digest bump in the environment overlay. The master uses the
Recreatestrategy, so expect a short API outage. Workers roll without one. Read the release notes for new required settings, such as newVAULT_*roles or Secret keys, and add them before syncing. - Promote releases through dev and staging first, the same way agentspaces move through the promotion flow.
Backup and disaster recovery
Section titled “Backup and disaster recovery”| Data | Where it lives | Backup method | RPO guidance |
|---|---|---|---|
| Audit worklog, knowledge metadata, webhooks | PostgreSQL | Operator-native continuous backup (WAL archiving to ODF or S3), with point-in-time recovery | Minutes |
| Agent registry | Master PVC, mirrored to S3 registry/ | s3-sync sidecar every 30 s, plus bucket versioning and cross-site replication | 30 s |
| Agentspaces and Boltzmann brains | Quay | Quay geo-replication or storage backup. Artifacts are immutable and re-publishable. | Per publish |
| Knowledge vectors | Qdrant | Collection snapshots to object storage. They can also be rebuilt by re-ingesting topic files. | Hours |
| Secrets, auth config, dynamic-credential leases | Vault | Raft snapshots (vault operator raft snapshot save) on a schedule | Hours |
| In-flight context, locks | Redis | Replication only. Data is transient. | Not critical |
| Events | Kafka | Replication factor 3. Topics keep 7 days of history and are not backed up. | n/a |
| Studio settings | MongoDB | Operator-managed backups or mongodump | Hours |
| Kubernetes resources, PVCs | Cluster | OADP (Velero) schedules for each Alquimia namespace. Git remains the source of truth. | Daily |
Observability
Section titled “Observability”The runtime pushes OTLP signals that carry shared dimensions (agent, agentspace, session, user, and task) across metrics, traces, and logs. In OpenShift they land in:
| Signal | Destination | Use |
|---|---|---|
| Metrics | User workload monitoring, through the collector’s Prometheus exporter | Dashboards, the alquimia-secret-audit PrometheusRule, SLOs |
| Traces | Tempo | Following one inference from the Route through the master, Kafka, a worker, and tool calls |
| Logs | OpenShift Logging (Loki) | Search by X-Request-ID and trace ID |
| Kafka lag | Kafka Exporter metrics | Autoscaling signal and alerting |
Alert on at least these conditions:
- Consumer lag on
alquimia-workersstays above the KEDA threshold while workers are already atmaxReplicaCount. alquimia.events.dlqis growing. Common causes are a signing-key mismatch or failing handlers.- The master is not ready, and how long the
Recreategap lasts during rollouts. - The shipped secret-audit alerts: Vault fetch spikes, idle-role fetches, master-mode inference fetches, and fetch failures.
- PostgreSQL connection saturation compared with
max_connections. - Certificate expiry from cert-manager, and Strimzi client-certificate renewals.
Security operations
Section titled “Security operations”- Rotate keys on a schedule. Rotate
KAFKA_SIGNING_KEY,ENCRYPTION_KEY, the cosign or Trusted Artifact Signer identities, and Keycloak client secrets; see Rotate secrets safely. Signing-key rotation briefly routes in-flight events to the DLQ, so plan to replay them. - Watch admission decisions. In Advanced Cluster Security, treat denied images and policy violations in Alquimia namespaces as security events.
- Review SCC assignments. After each upgrade, confirm that only the SPIRE agent and CSI driver run under
privileged, and that no Alquimia pod runs underanyuid. - Review egress rules. Review the
EgressFirewallallow list whenever a new model provider or MCP server is approved.
Compliance
Section titled “Compliance”- Run the Compliance Operator with the profiles your auditors require, for example CIS or NIST 800-53 moderate, and remediate through GitOps.
- The append-only worklog in PostgreSQL is your evidence of agent behaviour; see Auditability & compliance. Its retention and backup policy should match your record-keeping obligations.
- Keep the signed agentspace tags that were deployed to production. Together with the worklog, they let you reproduce exactly what an agent was configured to do when a decision was made.