Skip to content

Commit be8ca57

Browse files
committed
docs(rfc): note Kata kernel isolation and clarify workload log location
Add the workload-to-supervisor kernel-isolation property to the topology comparison: because proxy-pod places the workload and supervisor in separate pods, a VM-based RuntimeClass like Kata gives them separate VMs and kernels, so a workload kernel compromise does not by itself reach the supervisor's gateway credentials. This is unique to proxy-pod; the in-pod topologies share one Kata VM between workload and supervisor. Clarify that lost workload stdout/stderr is specifically the agent container's log, reachable only via 'kubectl logs <agent-pod>', not 'openshell logs'. Signed-off-by: Russell Bryant <rbryant@redhat.com>
1 parent 2a16278 commit be8ca57

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

‎rfc/proxy-pod-topology-DRAFT.md‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,17 @@ container performing network supervision. Mounting it into the workload pod
224224
would defeat the purpose. This RFC proposes rejecting that combination at
225225
configuration validation rather than silently mounting it in the wrong place.
226226

227+
Separate pods also raise the isolation ceiling under a VM-based `RuntimeClass`.
228+
Kata Containers gives each *pod* its own lightweight VM and kernel; containers
229+
within a pod share that VM. In every in-pod topology the workload and the
230+
supervisor live in one pod, so a Kata VM escape — a kernel compromise inside
231+
that shared VM — reaches the supervisor and its gateway credentials. Under
232+
`proxy-pod` the workload and supervisor are separate pods and therefore separate
233+
Kata VMs with separate kernels, so a kernel compromise in the workload VM does
234+
not by itself reach the supervisor. This is unique to `proxy-pod`: it is the
235+
only topology where the workload-to-supervisor boundary can be a hypervisor
236+
boundary rather than a namespace boundary.
237+
227238
### The NetworkPolicy contract
228239

229240
Two policies define the fence:
@@ -546,7 +557,7 @@ All relay-backed, and all requiring the workload's namespaces:
546557
| `NET:*` allow/deny with reason | yes | yes | yes | yes |
547558
| `CONFIG:*` policy and route changes | yes | yes | yes | yes |
548559
| Denial analysis for the policy advisor | yes | yes | yes | yes |
549-
| Workload stdout/stderr in `openshell logs` | yes | yes | yes | **no** — container log only |
560+
| Workload stdout/stderr in `openshell logs` | yes | yes | yes | **no** — only in the `agent` container log via `kubectl logs <agent-pod>` |
550561
| Actor process on network events | yes | yes | yes | **no** — renders as `-(0)` |
551562
| `PROCESS:*` lifecycle events | yes | yes | yes | **no** |
552563
| `SSH:*` events | yes | yes | yes | **no** |
@@ -561,6 +572,7 @@ All relay-backed, and all requiring the workload's namespaces:
561572
| Node-level privileged DaemonSet | no | no | **yes** | no |
562573
| Requires `NetworkPolicy` enforcement | no | no | no | **yes** |
563574
| Pods per sandbox | 1 | 1 | 1 | **2** |
575+
| Workload/supervisor kernel isolation under Kata | no — one pod, one VM/kernel | no — one pod, one VM/kernel | no — one pod, one VM/kernel | **yes — separate pods, separate Kata VMs/kernels** |
564576
| OpenShift SCC required | `privileged` | custom | custom + `privileged` CNI | **built-in `nonroot-v2`** |
565577

566578
The dividing line is consistent: everything observable or enforceable at the

0 commit comments

Comments
 (0)