-
Notifications
You must be signed in to change notification settings - Fork 379
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
Bump csi-lib-utils to v0.9.0 #439
Bump csi-lib-utils to v0.9.0 #439
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: xing-yang 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 |
README.md
Outdated
@@ -106,7 +106,7 @@ Read more about how to install the example webhook [here](deploy/kubernetes/webh | |||
|
|||
* `--leader-election-namespace <namespace>`: The namespace where the leader election resource exists. Defaults to the pod namespace if not set. | |||
|
|||
* `--metrics-address`: The TCP network address where the prometheus metrics endpoint will run (example: `:8080` which corresponds to port 8080 on local host). The default is empty string, which means metrics endpoint is disabled. | |||
* `--metrics-address`: The TCP network address where the prometheus metrics endpoint and leader election health check will run (example: `:8080` which corresponds to port 8080 on local host). The default is empty string, which means metrics endpoint and leader election check are disabled. |
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.
Can you also incorporate the changes that @verult did in kubernetes-csi/external-attacher#279?
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.
This contains the latest changes around the HTTP endpoint: kubernetes-csi/external-provisioner#537
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.
Done
cmd/csi-snapshotter/main.go
Outdated
|
||
// Prepare http endpoint for metrics + leader election healthz | ||
mux := http.NewServeMux() | ||
cmm := metrics.NewCSIMetricsManagerForSidecar(driverName) |
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.
I believe this is the correct sequence:
https://github.com/kubernetes-csi/external-attacher/pull/278/files
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.
Done
9c4248b
to
6761111
Compare
/lgtm |
Can you also add the other points in the release note from kubernetes-csi/external-provisioner#537? |
Sure |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Bump csi-lib-utils to v0.9.0 to get rid of klogv1 and get health check on leader election.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: