Skip to content

Feature Request: Support for collecting go profiles (memory/CPU/Go routine) in runtime-enforcer agent and controller. #549

@venkateshjayagopal

Description

@venkateshjayagopal

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions