> This page is for Building secure agent workspaces with NVIDIA OpenShell Reference Architecture.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/reference-architectures/llms.txt.

# Red Hat OpenShift Reference Implementation

This page presents two complementary OpenShift execution profiles: persistent, user-attached workspaces through **OpenShift Virtualization**, and application-created Linux agent sessions through OpenShift sandboxed containers. The managed VM profile below assigns **one VM to each user**, with enterprise SSO and a trusted access broker. The endpoint remains a presentation surface; agent execution occurs inside the VM, while the surrounding platform supplies access, policy, credential and audit services. The optional pod profile later on this page applies the same Secure Agent Workspace contracts to Kata-backed workloads. DPU networking and confidential inference are separate options, each with its own support and trust boundary.

This implementation is intended for enterprises that need on-premise control of agent workspaces, integration with existing Red Hat OpenShift operations, and a path from near-term managed VM controls to stronger runtime-level policy enforcement.

The Phase I and Phase II subsections below project the same maturity progression onto Red Hat OpenShift Virtualization. The baseline and in-runtime control surface is taken as given; each subsection names only the **Red Hat OpenShift-specific primitives** — CRDs, operators, integration points — that realize each control on this substrate. The architecture separates endpoint attachment, workspace execution, inference services and agent governance. Confidential inference may share the OpenShift cluster while remaining outside the workspace boundary; its trust and key-release path is described in the optional confidential-inference profile below.

![Red Hat OpenShift Virtualization Reference Implementation Shape](/reference-architectures/_fern-files/_img/33ec9b2f31a4eded083805bbe46e19746f19ffeda9aafde68fb2ca1cd711d77e.webp)

## Reference Shape

The baseline deployment consists of:

* **Red Hat OpenShift Virtualization** hosting one persistent Linux or Microsoft Windows VM per user. Each VM is a **single-tenant workspace**.
* **Red Hat OpenShift GitOps / Argo CD** managing VM profiles, namespace configuration, network policy, egress controls, policy-release metadata and supporting platform services. Git is the source of truth for policy intent; GitOps reconciles platform desired state.
* **NFS-backed shared storage** for user workspace persistence, policy bundles, image artifacts or shared enterprise data where appropriate.
* **Trusted access broker** for SSO-backed, short-lived, auditable user sessions into the workspace.
* **Network boundary controls** using **Red Hat** OpenShift-native primitives such as NetworkPolicy, EgressFirewall, EgressIP, routes and approved ingress paths.
* **Agent runtime inside the VM**, initially using standard coding or knowledge agents, with a path to [NVIDIA OpenShell](https://build.nvidia.com/openshell).
* **Policy distribution channel** where GitOps publishes approved policy-release metadata and signed policy bundles are mounted or fetched read-only by the workspace.
* **OCSF-compatible audit path** for workspace lifecycle events, broker sessions, policy-release activity and runtime/tool events.

## GitOps Policy Model

GitOps is the **control plane** for authoring, review and release. It should not be treated as the only enforcement mechanism.

The recommended pattern is:

![GitOps Policy Model — End-to-End Policy Flow](/reference-architectures/_fern-files/_img/43fbfe1b6d42ad328806e954c1c420142dceb8c6a2ab20fd4809731735f8c858.webp)

Red Hat OpenShift ConfigMaps can be useful for small bootstrap metadata, such as active policy channel, release version, bundle path, hash and signature reference. They should not be the primary policy-bundle transport for large or frequently changing runtime policy. Validate the ConfigMap and runtime-policy size limits for the selected releases.

For runtime policy refresh, the stronger pattern is a small in-VM policy agent that watches an approved release pointer, validates the signed bundle, and applies it through the runtime's policy API. Apply dynamic network policy through the selected runtime's supported policy API; a changed mounted YAML file is not itself the enforcement boundary. Static filesystem and process policy may require runtime recreation. Signed-policy verification, key custody and activation remain explicit integration responsibilities.

## Phase I: Deployable Managed VM Controls

Phase I maps to standard Red Hat OpenShift Virtualization and enterprise operations practices. Qualification of the selected images, network paths, identity integration and operating controls is required before claiming deployment readiness.

Controls include:

* One VM per user, no shared agent process space.
* Approved VM images only.
* Workspace lifecycle through a portal or API.
* SSO-backed access broker with short-lived sessions.
* Default-deny network egress with an enterprise-defined allowlist.
* GitOps-managed VM profiles and platform policy.
* Human review gates before writing to systems of record.
* Centralized workspace lifecycle and access audit.

In this phase, policy enforcement primarily lives at the workspace perimeter: identity, VM lifecycle, network reach, image governance and human approval.

## Phase II: Runtime-Enforced Agent Policy

Phase II adds an in-VM runtime sandbox such as [NVIDIA OpenShell](https://build.nvidia.com/openshell).

Controls include:

* Signed policy bundles.
* Runtime verification of active policy.
* Hot update of dynamic network policy where supported.
* Credential proxying so raw secrets do not enter the agent process.
* Routed inference through approved endpoints.
* Filesystem and process scoping.
* Per-tool or per-request enforcement.
* Runtime policy status reported back to the platform.

This phase is **additive**. It does not replace the Phase I controls; it makes the agent's runtime behavior enforceable below the prompt layer and closer to the actual tool-call boundary.

## Optional Linux pod profile — OpenShift sandboxed containers

This proposed profile runs container-packaged Linux agents in Kata-backed pods for application-created tasks, coding and triage sessions, and restartable headless services. It complements the persistent managed VM profile above. Choose between them by the required operating system and tools, user-access model, lifecycle and supported integrations. Both profiles retain the identity, credential, network, approval and audit contracts in [Reference Architecture](./reference-architecture), [Agent Blueprint Patterns](./agent-blueprint-patterns), [Enterprise Tool Access Model](./enterprise-tool-access-model), [Security and Governance Model](./security-and-governance-model) and [Operating Properties](./operating-properties).

**Execution boundary.** Red Hat documents a separate VM and guest kernel for each sandboxed pod; containers within one pod share that VM. Assign each pod VM to one authorized user and agent session, and place cooperating containers in it only when they belong to that same trust domain. Tenant namespaces, RBAC and quotas define administrative and resource scope; they do not create a separate kernel boundary. Kata reduces exposure to the host kernel but does not guarantee containment of every guest or hypervisor compromise.

**Platform mapping.** Use the OpenShift sandboxed containers Operator and the approved kata RuntimeClass on eligible bare-metal workers. Admission must fix the runtime, approved images, resource limits, mounts and security context, and reject substitution with a shared-kernel runtime. Account for virtualization prerequisites and VM resource overhead. Select compatible OpenShift, Operator, guest and device configurations using Red Hat's deployment and support documentation.

**Session and lifecycle services.** In this design, an Agent Session Service binds the tenant, user, application and task to approved policy, model and tool routes, quota and credential capabilities. A Sandbox Lifecycle Service creates or claims approved sandboxes and owns expiry and cleanup within that authorization. These are platform responsibilities, not capabilities supplied by Kata itself. Applications use authenticated service APIs; users and application orchestrators cannot create arbitrary pods or broaden the sandbox's authority. Broker connect, exec and file access, and keep platform administration outside tenant control.

**Phase I — platform controls.** Kata provides the pod isolation boundary while the platform supplies approved templates, scoped identities, GitOps-managed configuration, bounded ingress and egress, credential mediation, human review and centralized audit. Bind each sandbox to its approved network profile; broker corporate access through the service boundary defined in [Reference Architecture](./reference-architecture). Permit external destinations only where the selected profile allows them. Qualify NetworkPolicy, EgressFirewall and gateway placement against all relevant traffic paths. Perimeter controls alone do not provide the process-, file- and request-level enforcement required for Phase II.

**Phase II — runtime enforcement.** NVIDIA documents Kubernetes RuntimeClass selection and an OpenShift deployment path for OpenShell. Its current Kubernetes architecture places the trusted supervisor in a separate pod, outside the agent's sandbox pod; the supervisor evaluates network policy and adds approved provider credentials. The sandbox applies process and filesystem controls within the workload, and the CNI-enforced network boundary restricts workload traffic to the protected supervisor path. Declare these placements explicitly rather than assuming every OpenShell component runs inside the Kata VM. Treat the supervisor and its hosting environment as trusted infrastructure.

**Integration requirements.** The selected Kata guest and runtime must satisfy OpenShell's enforcement requirements and startup probes. Enforce ingress and egress NetworkPolicy in every sandbox namespace, prevent tenant relaxation of those policies, and verify denial of alternate network paths. Keep signed-policy verification, activation, credentials and authorization bound to the assigned session; a gateway or controller deployment alone does not establish those outcomes. Collect lifecycle, access and policy events outside the agent's control, and retain the ability to stop execution and revoke its access. Qualify the complete composition before claiming Phase II readiness.

**Persistence and recovery.** Use ephemeral storage for disposable runs and approved, user-scoped persistent volumes for retained data and checkpoints, with explicit retention and deletion rules. Optional warm pools must contain no tenant secrets and must be sanitized before reassignment. Recover replaced pods from application checkpoints and retained data; persistence alone does not preserve in-memory execution. Rebind identity, policy and credentials before work resumes. Verify device access, guest features, maintenance and recovery for the chosen workload. Ordinary Kata isolation does not make the workspace confidential; the separate confidential-inference option follows below.

## Optional Confidential Inference Profile

The OpenShift implementation can add Confidential Computing as an optional inference profile for proprietary models or sensitive enterprise data, alongside the Agent Workspace VMs hosted by OpenShift Virtualization. The workspace remains the persistent, single-user agent execution boundary, while selected inference workloads execute in a separate attested service. This profile scopes Confidential Computing to inference; it does not make the Agent Workspace VM confidential. Extending Confidential Computing to the Agent Workspace VM is a separate deployment decision for cases where the infrastructure operator must be outside the workspace trust boundary. It requires an independently supported and attested confidential-VM design and is not assumed here.

**Reference shape.** The implementation separates three domains:

1. **Agent Workspace VMs.** The Phase I managed VM and Phase II OpenShell-enforced VM profiles remain unchanged. A workspace created from either approved profile can invoke standard or confidential inference through the governed inference API.
2. **Inference services.** Standard NVIDIA NIM, vLLM, or similar inference services run on conventional GPU workers and may be accessed directly or through an enterprise LLM or inference gateway. Confidential inference runs as a Confidential Compute Pod on a dedicated compatible worker pool using Kata Containers, a CPU TEE, and NVIDIA GPU Confidential Computing.
3. **Trust and secret services.** Trustee coordinates composite attestation: CPU TEE evidence is evaluated against configured policy and reference values, and NVIDIA GPU evidence is verified through NVIDIA Remote Attestation Service (NRAS). This reference design may also integrate an enterprise KMS or secret authority for key material. These services remain distinct from the confidential workload and should be operated in a separate trusted environment. Model-access policy must authorize the requesting workspace and agent, the approved model and the specific key or resource, in addition to evaluating attestation. Successful attestation alone does not grant unrestricted model or key access.

![Secure Agent Workspace — Confidential Inference Reference Implementation](/reference-architectures/_fern-files/_img/34b95f0a1756c2198db801afd455680a8a8dd8f3ce6018a18633b8f05b58a9a0.webp)

**Confidential serving flow.** A proprietary model is distributed as a signed, encrypted container image. The Confidential Compute Pod guest-pulls that image into protected memory. When the workload requests decryption material, the in-guest Attestation Agent collects CPU and GPU evidence and submits it through Trustee's Key Broker Service. Trustee evaluates CPU TEE evidence against configured policy and reference values and incorporates NVIDIA GPU verification from NRAS into the composite attestation decision. If verification succeeds, the Key Broker Service conditionally releases the requested resource to the Confidential Data Hub; where an enterprise KMS is integrated, that resource may contain or enable access to KMS-controlled key material. The image, model, and protected request are decrypted and processed only inside the trusted computing base. Failed or policy-invalid attestation fails closed and no protected key is released. This follows the [NVIDIA Confidential Containers architecture](https://docs.nvidia.com/datacenter/cloud-native/confidential-containers/latest/overview.html) and [attestation model](https://docs.nvidia.com/datacenter/cloud-native/confidential-containers/latest/attestation.html).

When the complete protected path and attested trusted computing base are validated, confidential inference can protect model intellectual property and protected user data from a privileged host or infrastructure operator outside that boundary. To preserve that property, a prompt and its retrieved enterprise context must remain encrypted until they reach the attested workload. A gateway outside the trusted computing base may route a protected request but must not terminate or inspect its plaintext. Platform logs should record identity, model, policy, attestation outcome, timing, token count, and status without recording prompt, retrieved context, model output, or key material.

**Confidential inference prerequisites.** For this mixed standard/confidential topology, use a separate confidential-worker pool qualified against the [NVIDIA supported-platform matrix](https://docs.nvidia.com/datacenter/cloud-native/confidential-containers/latest/supported-platforms.html). Nodes require a supported CPU TEE and NVIDIA Confidential Computing GPU, required firmware and IOMMU/VFIO configuration, the validated containerd and Kata stack, NVIDIA GPU Operator Confidential Computing components, and the appropriate Kata confidential runtime class. Trustee should run in a separate trusted environment, configured for the selected CPU TEE and able to reach NRAS for NVIDIA GPU verification; an enterprise KMS or secret authority may be integrated where required. Keep exact versions and installation procedures in the linked [NVIDIA deployment prerequisites](https://docs.nvidia.com/datacenter/cloud-native/confidential-containers/latest/confidential-containers-deploy.html), not in this reference design. Attach and validate a Kata agent security policy that constrains host-requested guest operations as part of the attested workload. This policy protects the Kata Agent API surface; it is distinct from both Trustee resource-release policy and Secure Agent Workspace agent-runtime policy.

The confidential profile preserves these operating boundaries:

* Standard and confidential inference are peer serving paths. Either approved Agent Workspace VM profile can use either path according to enterprise policy.
* The agent cannot select an unapproved backend, change attestation policy, modify the confidential runtime, or independently request broader key access.
* Trustee and NRAS remain separate roles. Where this design integrates an enterprise KMS, it remains distinct from both, and the Key Broker Service conditionally releases only resources allowed by attestation policy. Before service acceptance, test allowed and denied model/key combinations, failed or stale attestation, unauthorized backend selection, inference and key-service outages, and revocation. Define what revocation stops and how already released keys, cached credentials and live sessions are handled; disabling future key release does not recall material already released.
* Confidentiality applies only while data is protected in transit to, and executing inside, the attested TCB. Normal Secure Agent Workspace controls govern data before encryption and after a response returns to the workspace.
* Confidential Computing does not replace host/platform egress controls, the trusted access broker, credential proxying, signed runtime policy, human review, or audit.

This is a proposed reference integration, not a general assertion of OpenShift production support. The current NVIDIA matrix states that Confidential Containers may be deployed with Red Hat OpenShift Sandboxed Containers while confidential GPU functionality is classified as Technology Preview by the downstream provider. See [Supported Platforms](https://docs.nvidia.com/datacenter/cloud-native/confidential-containers/latest/supported-platforms.html) and [GPU Operator Platform Support](https://docs.nvidia.com/datacenter/cloud-native/gpu-operator/latest/platform-support.html#support-for-kata-containers-confidential-containers-and-openshift-sandboxed-containers).

## Optional DPU networking and infrastructure visibility

An optional NVIDIA BlueField DPU profile separates selected infrastructure networking from agent execution on the compute host. Red Hat documents an OpenShift DPF integration that offloads OVN-Kubernetes data-plane processing to BlueField-3, with Host-Based Networking for networking and DOCA Telemetry Service for hardware telemetry. OpenShift manages DPU provisioning and services while workloads remain on the compute hosts. Red Hat lists Egress Firewall as supported but not offloaded in this profile, so each required control still needs an explicit enforcement location. For Secure Agent Workspace, the architectural value is network offload and infrastructure visibility within the existing platform operating model; hardware telemetry complements agent and policy audit.

Kata isolation and DPU networking can complement one another: the workload receives a VM boundary while selected network functions run on the DPU. Preserve the mediated traffic path when selecting network attachments; acceleration must not create a route around the OpenShell supervisor or approved service boundary. Additional application-layer enforcement requires its own supported integration.

Keep the management trust boundary explicit. Red Hat's documented Host Trusted profile includes the host in the trusted domain; offload alone does not establish protection against host compromise. NVIDIA separately documents restricted DPU mode, which restricts host-side administration of BlueField. That capability does not automatically apply to the OpenShift profile. Apply the trust and revocation requirements in [Security and Governance Model](./security-and-governance-model) and the readiness, lifecycle and ownership requirements in [Operating Properties](./operating-properties) to the selected DPU profile. The DPU option does not replace workspace isolation, credential mediation or human authorization.

## Storage Notes

NFS or OCS (OpenShift Data Foundation / Ceph) is suitable as the primary shared storage layer for the on-premise implementation when used carefully:

* Use NFS for workspace persistence, shared artifacts and versioned policy bundles.
* Mount policy bundles read-only into VMs.
* Use immutable release directories rather than in-place mutation.
* Publish a small current pointer or release manifest, then atomically advance it.
* Include hash and signature verification before applying policy.
* Avoid relying only on filesystem change notification for policy reload; use polling plus checksum validation or a platform-driven reload signal.
* OCS (Red Hat OpenShift Data Foundation / Ceph) serves as a fully integrated cloud-native storage alternative to traditional NFS, providing scalable RWX Persistent Volumes for workspace state and policy artifacts.

A typical layout:

![NFS storage layout for policy bundles and workspace persistence](/reference-architectures/_fern-files/_img/87fadf9e41d7f66a056edaa679a65a241c167af24913a25d455d642b493ddb44.webp)

## Operating Invariants

The on-premise implementation should preserve these invariants:

* The endpoint attaches; it does not execute autonomous work.
* The VM/micro-VM is the user's managed workspace and primary isolation boundary. One instance per user.
* The Git policy repo is the source of truth for policy intent.
* GitOps reconciles platform desired state.
* Runtime policy must be signed, versioned and auditable.
* The agent must not be able to grant itself broader policy.
* Secrets should live behind a credential proxy or external secret boundary, not directly inside the agent process.
* Workspace state is recoverable; authoritative work flows back to enterprise systems (Git, tickets, docs, object storage) via brokered services (workspace state is local and ephemeral relative to enterprise systems).
* Operators retain a **kill switch** through the Red Hat OpenShift lifecycle API: revoke SSO, stop VM, remove route, rotate policy, or rebake image.

## Why This Matters

The Red Hat OpenShift platform gives enterprises a proven path to host long-running, single-user agent workspaces on infrastructure they already operate. GitOps gives platform and security teams an auditable release model for VM profiles, network reach and policy channels. OpenShell or an equivalent runtime layer then provides the next step: policy enforcement at the agent/tool boundary.

The result is a practical on-premise Secure Agent Workspace pattern: managed VMs for isolation, GitOps for repeatable operations, NFS-backed storage for durable workspace and policy artifacts, and runtime enforcement for autonomous-agent safety.