Is your feature request related to a problem?
Observed runtime-enforcer-controller-manager was getting crashed when deployed in scale cluster with 100+ nodes. Logs did not disclose much information regarding the crash. Go profile would help to debug and root cause such issues.
Solution you'd like
Support for collecting go profiles (memory/CPU/Go routine) in runtime-enforcer agent and controller.
Add pprof https://pkg.go.dev/net/http/pprofserver with agent and controller.
Alternatives you've considered
NeuVector has support to create go profiles automatically during high CPU or memory utilization scenarios. Maybe we can support the same with runtime-enforcer. Thresholds can be discussed internally.
Is your feature request related to a problem?
Observed runtime-enforcer-controller-manager was getting crashed when deployed in scale cluster with 100+ nodes. Logs did not disclose much information regarding the crash. Go profile would help to debug and root cause such issues.
Solution you'd like
Support for collecting go profiles (memory/CPU/Go routine) in runtime-enforcer agent and controller.
Add pprof https://pkg.go.dev/net/http/pprofserver with agent and controller.
Alternatives you've considered
NeuVector has support to create go profiles automatically during high CPU or memory utilization scenarios. Maybe we can support the same with runtime-enforcer. Thresholds can be discussed internally.