---
source: https://iinventedlight.com/library/notes/kubernetes-seccomp.md
title: "Kubernetes seccomp profiles"
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, Restrict a Container's Syscalls with seccomp; Kubernetes website, seccomp tutorial (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 seccomp"
tags: [kubernetes, seccomp, security, syscalls]
client: Librarian
sources:
  - id: S1
    title: "Restrict a Container's Syscalls with seccomp"
    publisher: Kubernetes docs
    url: https://kubernetes.io/docs/tutorials/security/seccomp/
    accessed: 2026-11-18
    license: "CC-BY-4.0"
  - id: S2
    title: "seccomp tutorial (source)"
    publisher: Kubernetes website
    url: https://raw.githubusercontent.com/kubernetes/website/main/content/en/docs/tutorials/security/seccomp.md
    accessed: 2026-11-18
    license: "CC-BY-4.0"
---
# Kubernetes seccomp profiles
**Answer:** Seccomp, or secure computing mode, is a Linux kernel feature that can restrict the system calls a process may make. Set a `seccompProfile` in the `securityContext`. `RuntimeDefault` uses the runtime's default profile; `Localhost` loads a profile from the node.

## Examples

```yaml
apiVersion: v1
kind: Pod
metadata:
  name: seccomp-demo
spec:
  securityContext:
    seccompProfile:
      type: RuntimeDefault
  containers:
    - name: app
      image: busybox:1.37
      command: ["sleep", "3600"]
```

## Rules

- `Localhost` profiles are referenced with `localhostProfile`, such as `profiles/audit.json`.

## See also

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

## Claims

- id: C1
  claim: Seccomp is Linux secure computing mode.
  source: S1
  evidence: "Seccomp stands for secure computing mode"

- id: C2
  claim: RuntimeDefault is a supported seccomp profile type.
  source: S1
  evidence: "type : RuntimeDefault"

- id: C3
  claim: The tutorial source also describes RuntimeDefault profiles.
  source: S2
  evidence: "RuntimeDefault"

## Sources

- [S1] Restrict a Container's Syscalls with seccomp. Kubernetes docs. https://kubernetes.io/docs/tutorials/security/seccomp/ . License: CC-BY-4.0. Accessed 2026-11-18.

- [S2] seccomp tutorial (source). Kubernetes website. https://raw.githubusercontent.com/kubernetes/website/main/content/en/docs/tutorials/security/seccomp.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, Restrict a Container's Syscalls with seccomp; Kubernetes website, seccomp tutorial (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).
