You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means that without --enable-cri being set, tetragon will not be able to do pod association for existing pods (even if runtime hooks are used).
This is reflected in the following warning:
level=warning msg="cgidmap is enabled but cri is not. This means that pod association will not work for existing pods. You can enable cri using --enable-cri"
One of the benefits of talking to the CRI is that it provides authoritative answers.
If --enable-cri is not set, we could scan the cgroup filesystem as we do in the policyfilter code:
#2776 Introduced pod association via cgroup ids.
Currently, there are two ways that the cgidmap can be updated.
By contacting the CRI:
tetragon/pkg/cgidmap/cri.go
Line 105 in 0bf690a
Or, in the runtime hooks:
tetragon/pkg/cgidmap/rthooks.go
Line 70 in 0bf690a
This means that without
--enable-cri
being set, tetragon will not be able to do pod association for existing pods (even if runtime hooks are used).This is reflected in the following warning:
One of the benefits of talking to the CRI is that it provides authoritative answers.
If
--enable-cri
is not set, we could scan the cgroup filesystem as we do in the policyfilter code:tetragon/pkg/policyfilter/cgroupid.go
Lines 24 to 36 in 0bf690a
The text was updated successfully, but these errors were encountered: