-
Notifications
You must be signed in to change notification settings - Fork 479
docs: Update runtime-hooks installation instructions #4386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Update runtime-hooks installation instructions #4386
Conversation
Simplify the runtime-hooks installation documentation by removing redundant Helm setup section and replacing manual containerd configuration steps with the minikube-install-hook.sh script. Also fix shell code block typo. Signed-off-by: Daniel Gomez <[email protected]>
✅ Deploy Preview for tetragon ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
| We use `minikube` as the example platform because it supports both `cri-o` and `containerd`, but the | ||
| same steps can be applied to other platforms. | ||
|
|
||
| ### Setup Helm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| + plugin_request_timeout = "2s" | ||
| + socket_path = "/var/run/nri/nri.sock" | ||
| ``` | ||
| This script updates the configuration and restarts containerd. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I confirmed that the script handles the configuration update and restarts containerd by itself. No more steps are needed to follow next steps in the guide.
{"time":"2025-11-27T23:14:09.292112562Z","level":"INFO","msg":"hook request to agent succeeded","hook":"createRuntime","start-time":"2025-11-27T23:14:09.278533805Z","req-cgroups":"/kubepods.slice/kubepods-besteffort.slice/kubepods-besteffort-podab5f6a59_2fc0_44a3_8650_7d8c70149c40.slice/cri-containerd-fbfc2551cde334ed1a101b47073be93aba5db7bf08aee4f1ca83cc6b4c4da141.scope","req-rootdir":"/run/containerd/io.containerd.runtime.v2.task/k8s.io/fbfc2551cde334ed1a101b47073be93aba5db7bf08aee4f1ca83cc6b4c4da141/rootfs","req-containerName":"test-ubuntu","req-containerID":"","req-podName":"test-ubuntu","req-podUID":"ab5f6a59-2fc0-44a3-8650-7d8c70149c40","req-podNamespace":"default"}
JIC in my local setup I didn't have NRI enabled by default
|
Should we add |
mtardy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!!

Updates configuration steps with
minikube-install-hook.shscript .Description
Updates the Setup Cluster section in the RunTime Hooks page as the tetragon-oci-hook-setup script does not longer exist. it was replaced by
minikube-install-hook. See #2995See page updated in https://deploy-preview-4386--tetragon.netlify.app/docs/installation/runtime-hooks/
The script has been tested so it is safe to update the documentation.