Add pprof endpoint flag to the operator - #2805
Open
rajathagasthya wants to merge 1 commit into
Open
Conversation
Add a --pprof-bind-address flag wired to controller-runtime's built-in pprof server (ctrl.Options.PprofBindAddress), for profiling the operator's memory and CPU at large node counts. The endpoint is disabled by default and only serves when an address (e.g. ":6060") is given. Expose the address as the operator.pprof.bindAddress chart value, passed to the operator only when set. Signed-off-by: Rajath Agasthya <ragasthya@nvidia.com>
rajathagasthya
force-pushed
the
pprof-endpoint
branch
from
August 25, 2026 18:18
c08b48f to
ccca1af
Compare
rajathagasthya
marked this pull request as ready for review
August 25, 2026 18:21
rajathagasthya
requested review from
cdesiniotis,
karthikvetrivel,
rahulait,
shivamerla and
tariq1890
as code owners
August 25, 2026 18:21
rahulait
approved these changes
Aug 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add a
--pprof-bind-addressflag wired to controller-runtime's built-inpprof server (
ctrl.Options.PprofBindAddress), for profiling theoperator's memory and CPU at large node counts. The endpoint is disabled
by default and only serves when an address (e.g.
":6060") is given.The address is exposed as the
operator.pprof.bindAddresschart value,passed to the operator only when set.
Checklist
make lint)make validate-generated-assets)make validate-modules)Testing
go build ./cmd/gpu-operator;helm templatewith and withoutoperator.pprof.bindAddressset (flag rendered only when set);helm lint.