mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-28 05:47:36 +00:00
Load pf-ring kernel module in init container (#1476)
* Load kernel module in init container * Update docs * Update formatting * Add pre-stop hook to unload pf_ring module * Enable hook only on kernel module enabled * fix template * Use sidecontainer to unload pf_ring * Add requirements for tracer into structs * fix values * fix typo --------- Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com>
This commit is contained in:
@@ -16,14 +16,6 @@ const (
|
||||
func CreateDefaultConfig() ConfigStruct {
|
||||
return ConfigStruct{
|
||||
Tap: configStructs.TapConfig{
|
||||
KernelModule: configStructs.KernelModuleConfig{
|
||||
KernelMappings: []configStructs.KernelMapping{
|
||||
{
|
||||
ContainerImage: "kubeshark/pf-ring-module:${KERNEL_FULL_VERSION}",
|
||||
Regexp: "^.+$",
|
||||
},
|
||||
},
|
||||
},
|
||||
NodeSelectorTerms: []v1.NodeSelectorTerm{
|
||||
{
|
||||
MatchExpressions: []v1.NodeSelectorRequirement{
|
||||
|
Reference in New Issue
Block a user