nri icon indicating copy to clipboard operation
nri copied to clipboard

Node Resource Interface

Results 75 nri issues
Sort by recently updated
recently updated
newest added

containerd version: v1.7.14 nri version: 0.6.1 i want to remove Specific mount using this code in nri ``` for _, m := range container.Mounts { if strings.HasSuffix(m.Source, mountSuffix) { adjust.RemoveMount(m.Destination)...

v1.0 required

Fix https://github.com/containerd/nri/issues/75

v1.0 required

Usually, when configuring cgroup information in a plugin, it is abstracted into a common interface. This avoids exposing specific cgroup version details, making it easier for upgrades and migrations. However,...

In the current implementation, it is not possible to control `pid cgroup` in nri plugin. Could `pid` be included? ``` // Container (linux) resources. type LinuxResources struct { state protoimpl.MessageState...

If your NRI plugin timeouts, containerd will close the connection, and your NRI plugin `os.Exit(0)` without a chance to log anything https://github.com/containerd/nri/blob/53d3371559b3aedf4f491c33dc638fe535cc37ea/pkg/stub/stub.go#L519-L528 @klihub do you remember what was the logic...

For plugins registered with nri.sock, NRI will send the full set of pods and containers after starting. https://github.com/containerd/nri/blob/83295992ed466e5589a1a83ba3ad2bd6b6feb199/pkg/adaptation/adaptation.go#L405-L430 For pre-installed plugins, it is still necessary to synchronize the sandboxes and...

v1.0 required

From https://github.com/containerd/nri/blob/main/pkg/api/api.proto#L29 ``` // Runtime service is the public API runtimes expose for NRI plugins. // On this interface RPC requests are initiated by the plugin. This // only covers...

https://github.com/containerd/nri/blob/6f5a4d2f231d1032682d2809f95a1815a08f8532/pkg/adaptation/plugin.go#L119 cmd.Stdout/Stderr are nil, so everything goes to /dev/null

v1.0 required

The following codes can successfully implement hooks in runc runtime, but do not work in kata runtime. ``` spec.Hooks.StartContainer = append(spec.Hooks.StartContainer, rspec.Hook{ Path: "/usr/bin/mkdir", Args: []string{"/usr/bin/mkdir", "/run/test"}, Env: nil, Timeout:...

enhancement

We have a plugin that monitors for `RunPodSandbox` events. We observed that if a `RunPodSandbox` requests is in flight while the NRI plugin starts up and registers, then the pod...

v1.0 required