differ

command module
v0.0.0-...-1077adc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2026 License: Apache-2.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

NRI Differ Plugin

The differ plugin can be injected before, after or between other NRI plugins to track and show what changes these other plugins request to containers. The plugin can register itself multiple times at multiple indices, so a single differ instance can be used to track and show step-by-step all the changes made to a container.

Deployment

The NRI repository contains minimal kustomize overlays for this plugin at contrib/kustomize/differ.

Deploy the latest release with:

kubectl apply -k https://github.com/containerd/nri/contrib/kustomize/differ

Deploy a specific release with:

RELEASE_TAG=v0.10.0
kubectl apply -k "github.com/containerd/nri/contrib/kustomize/differ?ref=${RELEASE_TAG}"

Deploy the latest development build from tip of the main branch with:

kubectl apply -k https://github.com/containerd/nri/contrib/kustomize/differ/unstable

Testing

You can test this plugin by registering it to the desired indices (for instance nri-differ --indices 00,20,99 --yaml) in addition to your other plugins that make changes to containers, then starting some containers and examining the results. You should see container modifications printed as yaml-diffs. Make sure you properly inject/register differ both at the front of the plugin chain and after any other plugin.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL