-
Notifications
You must be signed in to change notification settings - Fork 248
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
nfd-topology-updater: serve metrics and healthz on the same port #1947
base: master
Are you sure you want to change the base?
nfd-topology-updater: serve metrics and healthz on the same port #1947
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: marquiz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
✅ Deploy Preview for kubernetes-sigs-nfd ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
76337ed
to
a894cb8
Compare
/assign @ArangoGutierrez |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just one nit
flagset.IntVar(&args.GrpcHealthPort, "grpc-health", 8082, | ||
"Port on which to expose the grpc health endpoint.") | ||
flagset.IntVar(&args.Port, "port", 8080, | ||
"Port on which to metrics and healthz endpoints are served") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Port on which to metrics and healthz endpoints are served") | |
"Port on which metrics and healthz endpoints are served") |
nit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and it would be nice to fix it on #1946 too
Changes the gRPC health endpoint to plain http. At the same time starts serving both the metrics and healthz endpoints on a single port. Replaces the -metrics and -grpc-health command line flags with a single -port flag. Changes the Helm and kustomize deployments correspondingly.
a894cb8
to
2ac758c
Compare
/unhold |
/retest |
1 similar comment
/retest |
Changes the gRPC health endpoint to plain http. At the same time starts serving both the metrics and healthz endpoints on a single port. Replaces the -metrics and -grpc-health command line flags with a single -port flag.
Changes the Helm and kustomize deployments correspondingly.