nri/plugins/logger
Krisztian Litkey b64a64d758
Merge pull request #158 from klihub/fixes/logger-default-event-mask
plugins/logger: fix default event subscription mask.
2025-09-30 14:56:43 +03:00
..
README.md Add minimal documentation for plugin images 2025-08-15 10:01:51 +03:00
go.mod Downgrade go to require 1.24.0 2025-08-26 09:27:56 +02:00
go.sum Bump dependencies 2025-08-13 11:31:27 +03:00
nri-logger.go Merge pull request #158 from klihub/fixes/logger-default-event-mask 2025-09-30 14:56:43 +03:00

README.md

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