Component-level architectural correction (two changes): 1. MinIO → SeaweedFS as unified S3 encapsulation layer The old design used MinIO for in-cluster S3 plus separate cold-tier configuration scattered across consumers. The new design positions SeaweedFS as the single S3 encapsulation layer: every Catalyst component talks to one endpoint (seaweedfs.storage.svc:8333). SeaweedFS internally handles hot tier (in-cluster NVMe), warm tier (in-cluster bulk), and cold tier (transparent passthrough to cloud archival storage — Cloudflare R2 / AWS S3 / Hetzner Object Storage / etc., chosen at Sovereign provisioning). One audit/lifecycle/encryption boundary instead of N. No Catalyst component talks to cloud S3 directly anymore — Velero, CNPG WAL archive, OpenSearch snapshots, Loki/Mimir/Tempo, Iceberg, Harbor blob store, Application buckets all share one S3 surface. 2. Apache Guacamole added as Application Blueprint §4.5 Communication Clientless browser-based RDP/VNC/SSH/kubectl-exec gateway. Keycloak SSO, full session recording to SeaweedFS for compliance evidence (PSD2/DORA/SOX). Composed into bp-relay. Replaces VPN+native-client distribution for auditable remote access. Component changes: - DELETED: platform/minio/ - CREATED: platform/seaweedfs/README.md (unified S3 + cold-tier encapsulation; bucket layout; multi-region replication via shared cold backend; migration-from-MinIO section) - CREATED: platform/guacamole/README.md (clientless remote-desktop gateway; GuacamoleConnection CRD; compliance integration via session recordings) Doc updates: PLATFORM-TECH-STACK §1+§3.5+§4.5+§5+§7.4; TECHNOLOGY-FORECAST L11+mandatory+a-la-carte counts (52 → 53); ARCHITECTURE §3 topology; SECURITY §4 DB engines; SOVEREIGN-PROVISIONING §1 inputs; SRE §2.5+§7; IMPLEMENTATION-STATUS §3; BLUEPRINT-AUTHORING stateful examples; BUSINESS-STRATEGY 13 component-count anchors + Relay product line; README.md backup row; CLAUDE.md folder count. Component README updates (S3 endpoint + dependency renames): cnpg, clickhouse, flink, gitea, iceberg, harbor, grafana, livekit, kserve, milvus, opensearch, flux, stalwart, velero (substantive rewrite of velero — now writes exclusively to SeaweedFS with cold-tier auto-routing). Products: relay, fabric. UI scaffold: products/catalyst/bootstrap/ui/src/shared/constants/components.ts — minio entry replaced with seaweedfs; velero+harbor deps updated; new guacamole entry added. VALIDATION-LOG entry "Pass 104 — MinIO → SeaweedFS swap + Guacamole add" captures the encapsulation principle and adds Lesson #22: storage tier policy belongs at the encapsulation boundary, not inside every consumer. Verification: zero remaining MinIO references in canonical docs (one intentional retention in TECHNOLOGY-FORECAST L37 explaining the swap); 53 platform/ folders matching all "53 components" anchors; bp-relay composition includes guacamole. |
||
|---|---|---|
| .. | ||
| README.md | ||
Apache Guacamole
Clientless remote-desktop gateway. Application Blueprint (see docs/PLATFORM-TECH-STACK.md §4.5 — Communication). Provides browser-based RDP / VNC / SSH / Kubernetes-shell access to internal hosts and Pods, with Keycloak SSO, full session recording to SeaweedFS, and Kyverno-enforced access policies. Used by bp-relay and corporate Sovereigns that need auditable remote-access without distributing native clients to users.
Status: Accepted | Updated: 2026-04-28
Overview
Apache Guacamole is an HTML5-based remote desktop gateway. End users open a browser, authenticate via Keycloak (Catalyst's identity), and reach RDP / VNC / SSH endpoints inside the Sovereign — without installing any native client. Every session is recorded as a .guac capture to SeaweedFS for compliance review.
Within OpenOva, Guacamole is the standard remote-access layer for:
- Sovereign-admins who need shell access to a vcluster's debug Pod (kubectl exec via Guacamole, JIT-elevated)
- Corporate Org-admins reaching Windows-based legacy systems hosted as Apps
- Auditors reviewing recorded sessions during compliance evidence gathering
It replaces VPN + native RDP/VNC client distribution with one browser-accessible, SSO-gated, fully-audited surface.
Architecture
flowchart LR
subgraph User["End user (browser only)"]
Browser[HTML5 / WebSocket]
end
subgraph Catalyst["Catalyst (Sovereign)"]
subgraph GuacamoleStack["Guacamole stack"]
GuacWeb[guacamole-web :8080]
Guacd[guacd :4822]
end
subgraph Identity["Identity"]
KC[Keycloak]
SPIRE[SPIRE SVID]
end
subgraph Recording["Session recording"]
SW[SeaweedFS bucket: guacamole-recordings]
end
subgraph Policy["Policy"]
Kyverno[Kyverno admission]
EP[EnvironmentPolicy CR]
end
end
subgraph Targets["Remote targets"]
RDP[Windows / RDP]
VNC[Linux / VNC]
SSH[Linux / SSH]
K8s[kubectl exec into Pod]
end
Browser -->|"HTTPS + OIDC"| GuacWeb
GuacWeb -->|"OAuth2"| KC
GuacWeb -->|"Guacamole protocol"| Guacd
Guacd -->|"RDP"| RDP
Guacd -->|"VNC"| VNC
Guacd -->|"SSH"| SSH
Guacd -->|"kubectl WebSocket"| K8s
Guacd -->|"Recording stream"| SW
GuacWeb -->|"Authz check"| Policy
Why Guacamole
| Factor | Guacamole |
|---|---|
| License | Apache 2.0 |
| Clientless | Pure HTML5 + WebSocket — no native RDP / VNC client distribution |
| Auth | OAuth2 / OIDC (works directly with Keycloak) — SSO across Catalyst |
| Session recording | Native .guac capture, replayable in browser; ships to SeaweedFS |
| Protocols | RDP, VNC, SSH, Telnet, kubernetes (via the Guacamole K8s plugin) |
| Auditability | Every connection logged with user identity, target, duration, recording URL |
Configuration
Deployment
apiVersion: apps/v1
kind: Deployment
metadata:
name: guacamole-web
namespace: relay
spec:
replicas: 2
template:
spec:
containers:
- name: guacamole
image: guacamole/guacamole:1.5.5
ports: [{ containerPort: 8080 }]
env:
- name: GUACD_HOSTNAME
value: guacd.relay.svc
- name: OPENID_AUTHORIZATION_ENDPOINT
value: "https://keycloak.<location-code>.<sovereign-domain>/realms/<org>/protocol/openid-connect/auth"
- name: OPENID_JWKS_ENDPOINT
value: "https://keycloak.<location-code>.<sovereign-domain>/realms/<org>/protocol/openid-connect/certs"
- name: OPENID_ISSUER
value: "https://keycloak.<location-code>.<sovereign-domain>/realms/<org>"
- name: OPENID_CLIENT_ID
value: guacamole
- name: OPENID_REDIRECT_URI
value: "https://guacamole.<env>.<sovereign-domain>/"
- name: RECORDING_PATH
value: s3://seaweedfs.storage.svc:8333/guacamole-recordings/
- name: POSTGRES_HOSTNAME
value: guacamole-db-rw.relay.svc
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: guacd
namespace: relay
spec:
replicas: 2
template:
spec:
containers:
- name: guacd
image: guacamole/guacd:1.5.5
ports: [{ containerPort: 4822 }]
Connection definitions (managed via Catalyst console)
apiVersion: catalyst.openova.io/v1alpha1
kind: GuacamoleConnection
metadata:
name: legacy-payment-gateway
namespace: relay
spec:
protocol: rdp
hostname: "10.42.7.12"
port: 3389
audience:
keycloakRoles: [legacy-app-operator, security-officer]
recording:
enabled: true
bucket: guacamole-recordings
retentionDays: 365 # compliance default
jit:
requiredApprovers: [team-platform]
maxDurationMinutes: 60
GuacamoleConnection is reconciled by Catalyst's relay-controller into Guacamole's PostgreSQL backend (managed by CNPG). The Catalyst console exposes a "Connections" tab; sovereign-admin and org-admin grant connection access via Keycloak group membership.
Use Cases
| Use case | Protocol | JIT required | Recording |
|---|---|---|---|
| Sovereign-admin debug into vcluster Pod | kubectl WebSocket | Yes | Always |
| Corporate-admin reaches legacy Windows ERP | RDP | Yes (per EnvironmentPolicy) | Always |
| Developer reaches lab VM in dev Environment | SSH | Optional | Configurable |
| Auditor reviews recorded session | replay only | No (read role only) | N/A |
Compliance integration
Session recordings count as PSD2/DORA/SOX evidence:
- Every recording has the user's Keycloak
subclaim, target identity, start/end timestamps, and content hash committed to the Catalyst audit log via OpenSearch SIEM. bp-specterCompliance Agent indexes recordings as audit evidence for the Compliance Mappings table (perBUSINESS-STRATEGY.md§5.3).EnvironmentPolicy.rulesof kindrecording-requiredblocks any unrecorded session attempt to prod targets.
Monitoring
| Metric | Description |
|---|---|
guacamole_active_sessions |
Live session count |
guacamole_session_duration_seconds |
Per-session duration histogram |
guacamole_recording_bytes_total |
Bytes written to SeaweedFS |
guacamole_auth_failures_total |
Failed Keycloak handshakes |
Part of OpenOva