Skip to content

CCM: Use existing metrics port (--secure-port) for SDK metrics instead of dedicated one (--metrics-address) - #1515

Merged
ske-prow[bot] merged 3 commits into
mainfrom
CCMUseExistingMetricsPort
Aug 21, 2026
Merged

CCM: Use existing metrics port (--secure-port) for SDK metrics instead of dedicated one (--metrics-address)#1515
ske-prow[bot] merged 3 commits into
mainfrom
CCMUseExistingMetricsPort

Conversation

@dergeberl

@dergeberl dergeberl commented Aug 20, 2026

Copy link
Copy Markdown
Member

How to categorize this PR?

/kind enhancement

What this PR does / why we need it:
The CCM somehow has 2 metrics port. --secure-port which also contains some metrics from the cloud-provider package and --metrics-address which only contains the SDK metrics.

This PR adds the SDK metrics to the metrics served with --secure-port. --metrics-address is still available and needs will be removed in the future.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

We also could still open the --metrics-address for transition, instead of not using it directly.

Breaking changes:

@ske-prow ske-prow Bot added kind/enhancement Enhancement, improvement, extension breaking This PR contains a breaking change and should be listed accordingly in release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 20, 2026
@dergeberl
dergeberl requested a review from a team August 20, 2026 14:09
@dergeberl
dergeberl force-pushed the CCMUseExistingMetricsPort branch from aa4056f to e1175bd Compare August 20, 2026 14:16
@ske-prow ske-prow Bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 20, 2026
@dergeberl dergeberl removed the breaking This PR contains a breaking change and should be listed accordingly in release notes. label Aug 20, 2026
Comment on lines 41 to -48
- containerPort: 10258
hostPort: 10258
name: https
protocol: TCP
- containerPort: 9090
hostPort: 9090
name: metrics
protocol: TCP

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.

This whole thing is weird. It doesn't match what is in service.yaml

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.

You are right. Also the 8888 does not exist. I fixed the service.

@ske-prow ske-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Aug 21, 2026
@ske-prow

ske-prow Bot commented Aug 21, 2026

Copy link
Copy Markdown

LGTM label has been added.

DetailsGit tree hash: 03d9381d222a7cdedc7f7c40f50ba5c2a8ba815c

@ske-prow ske-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 21, 2026
@nschad

nschad commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

/hold

@ske-prow ske-prow Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 21, 2026
@ske-prow ske-prow Bot removed the lgtm Indicates that a PR is ready to be merged. label Aug 21, 2026
@ske-prow ske-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Aug 21, 2026
@ske-prow

ske-prow Bot commented Aug 21, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nschad

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

The pull request process is described 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

@nschad

nschad commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

/unhold

@ske-prow

ske-prow Bot commented Aug 21, 2026

Copy link
Copy Markdown

LGTM label has been added.

DetailsGit tree hash: 4c6b0eb7951a482d77926bb0feee7b95c80d0592

@ske-prow ske-prow Bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 21, 2026
@ske-prow
ske-prow Bot merged commit 39f8641 into main Aug 21, 2026
3 checks passed
@ske-prow
ske-prow Bot deleted the CCMUseExistingMetricsPort branch August 21, 2026 10:08
@dergeberl

Copy link
Copy Markdown
Member Author

/cherry-pick release-v1.34
/cherry-pick release-v1.35
/cherry-pick release-v1.36

@stackit-ske

Copy link
Copy Markdown

@dergeberl: new pull request created: #1525

Details

In response to this:

/cherry-pick release-v1.34
/cherry-pick release-v1.35
/cherry-pick release-v1.36

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@stackit-ske

Copy link
Copy Markdown

@dergeberl: new pull request created: #1526

Details

In response to this:

/cherry-pick release-v1.34
/cherry-pick release-v1.35
/cherry-pick release-v1.36

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@stackit-ske

Copy link
Copy Markdown

@dergeberl: new pull request created: #1527

Details

In response to this:

/cherry-pick release-v1.34
/cherry-pick release-v1.35
/cherry-pick release-v1.36

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/enhancement Enhancement, improvement, extension lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants