CRI conformance
Edera is tested against the Kubernetes Container Runtime Interface (CRI) conformance suite, and every change to the runtime is checked against it automatically. This means the kubelet, crictl, and any other CRI client can drive Edera workloads the same way they drive any other conforming runtime.
Edera’s containerd shim passes all critest specs, except for a small set of host-sharing features that don’t apply inside an Edera zone. Edera also supports user namespaces inside zones.
What is the CRI?
The CRI is the plugin interface the kubelet uses to talk to container runtimes. Because of it, a cluster can use different runtimes without recompiling any Kubernetes components. Every node needs a working CRI runtime so the kubelet can launch pods and their containers.
What conformance means
A runtime conforms to the CRI when its behavior, as seen through the CRI API, matches what the specification and Kubernetes expect. For example:
- Containers are created and deleted when requested
- Status is reported correctly
- Mounts behave as requested
- Termination is reported the way the kubelet expects
How Edera validates conformance
Edera validates conformance with critest, the CRI validation suite from the Kubernetes cri-tools project. critest has been GA since cri-tools v1.11.0. It tests a CRI server directly, so it doesn’t need a full Kubernetes cluster or end-to-end tests.
The process is fully automated in CI:
critestruns automatically against Edera on every runtime change- Each failure is analyzed
- The failure is either fixed in the runtime or traced to the test environment
Conformance caveats
Edera passes the CRI conformance suite except for the specs listed below, which are skipped on purpose. In each case, the feature asks a pod to share something with the host, and Edera’s isolation model doesn’t allow that.
Runc-based runtimes place containers in Linux namespaces on the host kernel, so they can join the host’s namespaces when asked. Each Edera pod runs in its own zone with its own kernel, so there is no host namespace to join. These features are unsupported by design, not broken.
Unsupported by design
| Feature | Pod spec field | Why it’s unsupported |
|---|---|---|
| Host network | hostNetwork: true | Edera pods always get their own network stack inside the zone, so they can’t use the host’s network namespace. |
| Host PID | hostPID: true | Processes in a zone are managed by the zone’s own kernel, so they can’t see or share the host’s process table. |
| Host IPC | hostIPC: true | Zones can’t share the host’s System V IPC or POSIX message queues. |
| Bidirectional mount propagation | mountPropagation: Bidirectional | Mounts made inside a zone belong to the zone’s kernel and can’t propagate back to the host. |
Running workloads that need host access
Workloads that require any of these features, such as some CNI agents, node exporters, and CSI node plugins, can still run on the same node. Either:
- Assign them a non-Edera runtime class, or
- Remove
runtimeClassNamefrom their deployment manifests so they use the node’s default runtime
Summary
| Area | Status |
|---|---|
CRI conformance (critest) | Passes, excluding the specs below |
| Host network, host PID, host IPC | Unsupported by design |
| Bidirectional mount propagation | Unsupported by design |
| User namespaces | Supported inside Edera zones |
| Validation | Automated in CI on every runtime change |
Next steps
- Performance validation suite - Benchmark network and CPU performance
- Security demonstration suite - Validate container isolation