Skip to content

add metrics endpoint for csi#178

Open
aniruddha2000 wants to merge 3 commits into
mainfrom
add-generic-metrics
Open

add metrics endpoint for csi#178
aniruddha2000 wants to merge 3 commits into
mainfrom
add-generic-metrics

Conversation

@aniruddha2000

Copy link
Copy Markdown
Member

How to categorize this PR?

/kind enhancement
What this PR does / why we need it:

This PR exposes endpoint and port for csi metrics using external APIs

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Breaking changes:

@ske-prow ske-prow Bot added the kind/enhancement Enhancement, improvement, extension label Jun 17, 2026
@ske-prow

ske-prow Bot commented Jun 17, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign xoxys for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ske-prow ske-prow Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jun 17, 2026

@nschad nschad left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You also need to add the port to the Service

containerPort: 9808
protocol: TCP
- containerPort: {{ .Values.config.metricsPort }}
hostPort: {{ .Values.config.metricsPort }}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
hostPort: {{ .Values.config.metricsPort }}

Why do we need the hostPort?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No please just create a service and don't expose the port to the node

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/enhancement Enhancement, improvement, extension size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants