Skip to content

P0′: OpenShift deployment of the two-tier architecture #47

Closed

Description

@pdettori

P0′ — OpenShift deployment of the two-tier architecture

Part of the two-tier architecture epic (see epic issue). Threads through P1/P2; realize each phase on OpenShift 4.20+.

Context

This work began as "run the Archetype-A demo on OpenShift." Investigation revealed the real issue: the harness mounts /work for envelope I/O, forcing cross-node RWX on EBS. That is a symptom of the harness↔filesystem coupling addressed by P1.

Supersedes

The local (un-pushed) branch docs/archetype-a-ocp-support with:

  • docs/specs/2026-07-01-archetype-a-ocp-support-design.md
  • docs/superpowers/plans/2026-07-01-archetype-a-ocp-support.md

Those proposed an in-cluster NFS RWX StorageClass to let the harness co-mount /work. That approach is superseded — after P1 the harness mounts nothing, so harness-side RWX is unnecessary. Keep the branch only as reference; do not implement its NFS-for-the-harness plan.

Scope (post-P1 / post-P2)

  • Deploy the FS-free harness + durable sandbox on OCP (setup-ocp.sh). No harness /work mount.
  • Durable sandbox storage on OCP (RWO per sandbox is fine at P1).
  • P2 on OCP: if experiments say M>1 sandboxes sharing a repo, provide the RWX option on the sandbox tier (e.g. in-cluster NFS-backed SC, or per-sandbox copy). RWX, if needed, lives here — not on the harness.
  • Route contract already handled by lib.sh (KSVC_URL → Route, no Host header, -k).

Live target

OCP 4.20.8 cluster (kubeconfig /Users/paolo/Projects/ocp/auth/kubeconfig); EBS only (gp2/gp3, RWO); Serverless + KEDA operators installed.

Next step

Reframe/replace the superseded OCP spec after P1's design is set.

Activity

  1. pdettori commented on Jul 2, 2026

    @pdettori
    MemberAuthor

    Part of epic #49

  2. pdettori commented on Jul 6, 2026

    @pdettori
    MemberAuthor

    Delivered by PR #51 (merged) — the FS-free harness + durable sandbox deployed on OpenShift via deploy/knative/setup-ocp.sh, no harness /work mount, RWO durable storage on the sandbox tier. Verified live on OCP 4.20.8 (leaf-smoke 10/10). Left open only for a missing closing keyword. Closing as delivered.

    Assisted-By: Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions