tetragon icon indicating copy to clipboard operation
tetragon copied to clipboard

Docs(tetragon-rthooks): outdated command for containerd setup with NRI

Open paularah opened this issue 1 year ago • 3 comments

Specifically this part of the documentation needs to be updated. The tetragon-oci-hook-setup script no longer exists.

minikube ssh cat /etc/containerd/config.toml > /tmp/old-config.toml
./contrib/tetragon-rthooks/tetragon-oci-hook-setup patch-containerd-conf enable-nri --config-file=/tmp/old-config.toml --output=/tmp/new-config.toml
diff -u /tmp/old-config.toml /tmp/new-config.toml

paularah avatar Oct 12 '24 00:10 paularah

Do we still need to patch the config file to enable NRI?

paularah avatar Oct 12 '24 00:10 paularah

The value for the container-runtime flag needs to be "containerd" in the "minikube with Containerd" tab

paularah avatar Oct 12 '24 00:10 paularah

Do we still need to patch the config file to enable NRI?

Yap, containerd 2.0 has not been release yet (2.0.0-rc6 was released yesterday it seems)

The value for the container-runtime flag needs to be "containerd" in the "minikube with Containerd" tab

Yap good catch!

kkourt avatar Oct 25 '24 13:10 kkourt