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 DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
README.md
Outdated
| * `--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.
Can you also incorporate the changes that @verult did in kubernetes-csi/external-attacher#279?
There was a problem hiding this comment.
This contains the latest changes around the HTTP endpoint: kubernetes-csi/external-provisioner#537
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.
I believe this is the correct sequence:
https://github.com/kubernetes-csi/external-attacher/pull/278/files
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?: