Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clustermesh-apiserver: Add support for pprof #21584

Merged

Conversation

pippolo84
Copy link
Member

Currently, clustermesh-apiserver only supports gops tool.
This PR adds support for pprof debug endpoints, setting the default port to 6063 (other default ports are 6060 for the agent, 6061 for the operator and 6062 for hubble relay).
With pprof support, cilium-bugtool can collect cpu profile, heap profile and execution traces from the clustermesh-apiserver.
pprof support is left disabled by default.

Add support for pprof debug endpoints, disabled by default.

Default port is set to 6063, to avoid clashing with daemon default port
(6060), operator default port (6061) and hubble-relay default port
(6062).

Signed-off-by: Fabio Falzoi <fabio.falzoi@isovalent.com>
@pippolo84 pippolo84 added area/clustermesh Relates to multi-cluster routing functionality in Cilium. release-note/misc This PR makes changes that have no direct user impact. labels Oct 4, 2022
@pippolo84 pippolo84 requested review from a team as code owners October 4, 2022 21:08
@aanm aanm merged commit a003635 into cilium:master Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/clustermesh Relates to multi-cluster routing functionality in Cilium. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants