Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateTgRuntimeConf ¶
UpdateTgRuntimeConf() Gathers information about Tetragon runtime environment and update the TetragonConfMap that is the BPF `tg_conf_map`.
It detects the CgroupFS magic, Cgroup runtime mode, discovers cgroup css's that registered during boot and propagated to all tasks inside their css_set, detects the deployment mode from kubernetes, containers, to standalone or systemd services. All discovered information will also be logged for debugging purpose.
On failures it returns an error, and it default prints a warning that advanced Cgroups tracking will be disabled which will affect process association with kubernetes pods and containers.
Types ¶
type TetragonConfKey ¶
type TetragonConfKey struct {
Key uint32
}
func (*TetragonConfKey) DeepCopyMapKey ¶
func (k *TetragonConfKey) DeepCopyMapKey() bpf.MapKey
func (*TetragonConfKey) GetKeyPtr ¶
func (k *TetragonConfKey) GetKeyPtr() unsafe.Pointer
func (*TetragonConfKey) NewValue ¶
func (k *TetragonConfKey) NewValue() bpf.MapValue
func (*TetragonConfKey) String ¶
func (k *TetragonConfKey) String() string
type TetragonConfValue ¶
type TetragonConfValue struct { TgCgrpHierarchy uint32 `align:"tg_cgrp_hierarchy"` // Tetragon Cgroup tracking hierarchy ID TgCgrpSubsysIdx uint32 `align:"tg_cgrp_subsys_idx"` // Tracking Cgroup css idx at compile time }
func (*TetragonConfValue) DeepCopyMapValue ¶
func (v *TetragonConfValue) DeepCopyMapValue() bpf.MapValue
func (*TetragonConfValue) GetValuePtr ¶
func (v *TetragonConfValue) GetValuePtr() unsafe.Pointer
func (*TetragonConfValue) String ¶
func (v *TetragonConfValue) String() string
Click to show internal directories.
Click to hide internal directories.