1
0
mirror of https://github.com/opencontainers/runtime-spec.git synced 2026-02-06 03:45:05 +01:00

11 Commits

Author SHA1 Message Date
Markus Lehtonen
0758679818 features-linux: expose IntelRdt monitoring support
Commit 34a39b9070 introduced the
"linux.intelRdt.enableMonitoring" field. This patch supplements it by
adding "linux.intelRdt.monitoring" field in the features.json to check
if the runtime implementation supports the new field of the spec.

Signed-off-by: Markus Lehtonen <markus.lehtonen@intel.com>
2025-08-18 09:55:31 +03:00
Akihiro Suda
bfdffd548a Merge pull request #1282 from askervin/5aD-oci-mempolicy
Add support for Linux memory policy
2025-08-04 17:16:26 +09:00
Markus Lehtonen
d2f4f9097a config-linux: add schemata field to IntelRdt (#1230)
* config-linux: add schemata field to IntelRdt

Add a new "schemata" field to the Linux IntelRdt configuration. This
addresses the complexity of separate schema fields and resolves the
issue of supporting currently uncovered RDT features like L2 cache
allocation and CDP (Code and Data Prioritization).

The new field is for specifying the complete schemata (all schemas) to
be written to the schemata file in Linux resctrl fs. The aim is for
simple usage and runtime implementation (by not requiring any
parsing/filtering of data or otherwise re-implement parsing or
validation of the Linux resctrl interface) and also to support all RDT
features now and in the future (i.e. schemas like L2, L2CODE, L2DATA,
L3CODE and L3DATA and who knows L4 or something else in the future).

Behavior of existing fields is not changed but it is required that the
new schemata field is applied last.

Signed-off-by: Markus Lehtonen <markus.lehtonen@intel.com>

* Add linux.intelRdt.schemata to features.md

Signed-off-by: Markus Lehtonen <markus.lehtonen@intel.com>

---------

Signed-off-by: Markus Lehtonen <markus.lehtonen@intel.com>
2025-05-09 21:00:57 +09:00
Antti Kervinen
57c949588e Add support for Linux memory policy
Enable setting a NUMA memory policy for the container. New
linux.memoryPolicy object contains inputs to the set_mempolicy(2)
syscall.

Signed-off-by: Antti Kervinen <antti.kervinen@intel.com>
2025-04-23 10:32:29 +03:00
Akihiro Suda
5e98fec96d features: add potentiallyUnsafeConfigAnnotations
Fix issue 1202

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-10-22 22:43:23 +09:00
Andrew M. Ghazanfari
0ec4e6bbe7 fix link to hooks in features
Signed-off-by: Andrew M. Ghazanfari <a.m.ghazanfari76@gmail.com>
2023-09-14 18:14:45 +03:30
Akihiro Suda
2bd22fa556 features.md: add a note to avoid confusion about annotations
The "annotations" property in features.md is not expected to
enumerate the possible values of the "annotation" property in config.md.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-06-23 21:14:44 +09:00
Sebastiaan van Stijn
2937ddd383 Merge pull request #1203 from AkihiroSuda/glossary-features
glossary: s/features document/Features structure/g
2023-05-17 09:07:04 +01:00
Akihiro Suda
05563eac88 features: update Example
The previous example was using an invalid value of `ociVersionMax`.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-05-16 19:52:22 +09:00
Akihiro Suda
d89ef1e610 glossary: s/features document/Features structure/g
Because "document" sounds like a human-readable document

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-05-16 19:49:40 +09:00
Akihiro Suda
689874fc76 Add features.md to formalize the runc features JSON
Add `features.md` and `features-linux.md`, to formalize the `runc features` JSON that was introduced in runc v1.1.0.

A runtime caller MAY use this JSON to detect the features implemented by the runtime.

The spec corresponds to https://github.com/opencontainers/runc/blob/v1.1.0/types/features/features.go
(opencontainers/runc PR 3296, opencontainers/runc PR 3310)

Differences since runc v1.1.0:
- Add `.linux.intelRdt.enabled` field
- Add `.linux.cgroup.rdma` field
- Add `.linux.seccomp.knownFlags` and `.linux.seccomp.supportedFlags` fields (Implemented in runc PR 3588)

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-03-22 04:04:57 +09:00