Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In this talk, we discuss why and how the Node Resource Interface (NRI) could be used in Koordinator.
NRI Introduction
Overview
There are several approaches to extending the Kubernetes CRI (Container Runtime Interface) to manage container resources (e.g. adjust the cpuset of a container).
Instead of modifying the CRI request, NRI offers us a new way to manager container resources by adjusting OCI-spec.
NRI API
Metadata
Managed Resources
LinuxResources
LinuxDevices
Subscriptable Events
How-To Access
There are two ways to access NRI:
/opt/nri/plugins
./var/run/nri/nri.sock
.NRI on Koordinator
Access NRI
Add a Koord NRI Plugin for
Workflow
... --> CRI Runtime - OCI Spec -> NRI Adaption --> Koord NRI Plugin - OCI Spec (adjusted) -> ...
vs. Koord Runtime Proxy
if FatalError(err) { plugin.close() } else abort
) https://github.com/containerd/nri/blob/v0.3.0/pkg/adaptation/adaptation.go#L290Beta Was this translation helpful? Give feedback.
All reactions