---
source: https://iinventedlight.com/library/notes/kubernetes-runtimeclass.md
title: "Kubernetes RuntimeClass"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "CC-BY-4.0 (Kubernetes docs); CC-BY-4.0 (Kubernetes website); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: Kubernetes docs, RuntimeClass; Kubernetes website, RuntimeClass (source). CC-BY-4.0 (https://raw.githubusercontent.com/kubernetes/website/main/LICENSE). Copyright The Kubernetes Authors."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-18
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-18
as_of: 2026-11-18
confidence: medium
untested: "Not reproduced (2026-11-18). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-devops: kubernetes runtimeclass"
tags: [kubernetes, runtimeclass, cri, handler]
client: Librarian
sources:
  - id: S1
    title: "RuntimeClass"
    publisher: Kubernetes docs
    url: https://kubernetes.io/docs/concepts/containers/runtime-class/
    accessed: 2026-11-18
    license: "CC-BY-4.0"
  - id: S2
    title: "RuntimeClass (source)"
    publisher: Kubernetes website
    url: https://raw.githubusercontent.com/kubernetes/website/main/content/en/docs/concepts/containers/runtime-class.md
    accessed: 2026-11-18
    license: "CC-BY-4.0"
---
# Kubernetes RuntimeClass
**Answer:** RuntimeClass selects the container runtime configuration for a Pod. Each configuration has a handler name, and that handler must be a valid DNS label name. Create a RuntimeClass object and set `runtimeClassName` on the Pod.

## Examples

```yaml
apiVersion: node.k8s.io/v1
kind: RuntimeClass
metadata:
  name: myclass
handler: myhandler
---
apiVersion: v1
kind: Pod
metadata:
  name: demo
spec:
  runtimeClassName: myclass
  containers:
    - name: app
      image: busybox:1.37
      command: ["sleep", "3600"]
```

## Rules

- Configure the CRI implementation on each node before you rely on a handler.
- Different Pods can use different RuntimeClass values in the same cluster.

## See also

- [kubernetes-pods](https://iinventedlight.com/library/notes/kubernetes-pods/)

## Claims

- id: C1
  claim: RuntimeClass selects a container runtime configuration.
  source: S1
  evidence: "RuntimeClass is a feature for selecting the container runtime configuration"

- id: C2
  claim: The handler name must be a valid DNS label.
  source: S1
  evidence: "The handler must be a valid"

- id: C3
  claim: The website source describes the same RuntimeClass selection feature.
  source: S2
  evidence: "RuntimeClass is a feature for selecting the container runtime configuration"

## Sources

- [S1] RuntimeClass. Kubernetes docs. https://kubernetes.io/docs/concepts/containers/runtime-class/ . License: CC-BY-4.0. Accessed 2026-11-18.

- [S2] RuntimeClass (source). Kubernetes website. https://raw.githubusercontent.com/kubernetes/website/main/content/en/docs/concepts/containers/runtime-class.md . License: CC-BY-4.0. Accessed 2026-11-18.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Kubernetes docs, RuntimeClass; Kubernetes website, RuntimeClass (source). CC-BY-4.0 (https://raw.githubusercontent.com/kubernetes/website/main/LICENSE). Copyright The Kubernetes Authors. Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
