Skip to content

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.

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 example spec.kafka.version or the PostgreSQL image), as separate steps.
  • Alquimia releases are a digest bump in the environment overlay. The master uses the Recreate strategy, so expect a short API outage. Workers roll without one. Read the release notes for new required settings, such as new VAULT_* 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.
DataWhere it livesBackup methodRPO guidance
Audit worklog, knowledge metadata, webhooksPostgreSQLOperator-native continuous backup (WAL archiving to ODF or S3), with point-in-time recoveryMinutes
Agent registryMaster PVC, mirrored to S3 registry/s3-sync sidecar every 30 s, plus bucket versioning and cross-site replication30 s
Agentspaces and Boltzmann brainsQuayQuay geo-replication or storage backup. Artifacts are immutable and re-publishable.Per publish
Knowledge vectorsQdrantCollection snapshots to object storage. They can also be rebuilt by re-ingesting topic files.Hours
Secrets, auth config, dynamic-credential leasesVaultRaft snapshots (vault operator raft snapshot save) on a scheduleHours
In-flight context, locksRedisReplication only. Data is transient.Not critical
EventsKafkaReplication factor 3. Topics keep 7 days of history and are not backed up.n/a
Studio settingsMongoDBOperator-managed backups or mongodumpHours
Kubernetes resources, PVCsClusterOADP (Velero) schedules for each Alquimia namespace. Git remains the source of truth.Daily

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:

SignalDestinationUse
MetricsUser workload monitoring, through the collector’s Prometheus exporterDashboards, the alquimia-secret-audit PrometheusRule, SLOs
TracesTempoFollowing one inference from the Route through the master, Kafka, a worker, and tool calls
LogsOpenShift Logging (Loki)Search by X-Request-ID and trace ID
Kafka lagKafka Exporter metricsAutoscaling signal and alerting

Alert on at least these conditions:

  • Consumer lag on alquimia-workers stays above the KEDA threshold while workers are already at maxReplicaCount.
  • alquimia.events.dlq is growing. Common causes are a signing-key mismatch or failing handlers.
  • The master is not ready, and how long the Recreate gap 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.
  • 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 under anyuid.
  • Review egress rules. Review the EgressFirewall allow list whenever a new model provider or MCP server is approved.
  • 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.