logger

command module
v0.0.0-...-1127602 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

README

Sample NRI Request Logger Plugin

This plugin simply logs incoming requests and events. You can configure which of these the plugin subscribes to. Also, if configured so this plugin can inject an environment variable or an annotation into containers for testing and illustrative purposes.

Note that the differ plugin is probably better suited for actual debugging purposes than this simple logger.

Deployment

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

Deploy the latest release with:

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

Deploy a specific release with:

RELEASE_TAG=v0.10.0
kubectl apply -k "github.com/containerd/nri/contrib/kustomize/logger?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/logger/unstable

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