Skip to content
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

registration-service: new Service for metrics #1050

Closed
wants to merge 2 commits into from

Conversation

xcoulon
Copy link
Contributor

@xcoulon xcoulon commented Jun 24, 2024

new k8s Service to scrape the HTTP metrics from the registration
service, but without exposing them to the current Route
(the metrics will be exposed in a separate port in the
registration service pods)

see codeready-toolchain/registration-service#436

Signed-off-by: Xavier Coulon [email protected]

new k8s Service to scrape the HTTP metrics from the registration
service, but without exposing them to the current Route
(the metrics will be exposed in a separate port in the
registration service pods)

see codeready-toolchain/registration-service#436

Signed-off-by: Xavier Coulon <[email protected]>
Copy link

openshift-ci bot commented Jun 24, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: xcoulon

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

- kind: Service
apiVersion: v1
metadata:
name: api
name: registration-service
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I reordered the Routes and Services and added a few comments, but unfortunately, the diff doesn't clearly shows how the items were reordered :/

@xcoulon
Copy link
Contributor Author

xcoulon commented Jun 24, 2024

closing in favor of #1051 (duplicate branch name)

@xcoulon xcoulon closed this Jun 24, 2024
xcoulon added a commit to xcoulon/toolchain-e2e that referenced this pull request Jun 24, 2024
Related to codeready-toolchain/registration-service#436

New tests to verify that:
1. the metrics are _not_ exposed on the public Route
2. the expected metrics are available from the new Service[1] - tested
   from the outside of the cluster by creating a temporary Route

[1]: see codeready-toolchain/host-operator#1050

Signed-off-by: Xavier Coulon <[email protected]>
@xcoulon xcoulon reopened this Jun 25, 2024
@xcoulon xcoulon closed this Jun 25, 2024
xcoulon added a commit to codeready-toolchain/toolchain-e2e that referenced this pull request Jul 3, 2024
Related to codeready-toolchain/registration-service#436

New tests to verify that:
1. the metrics are _not_ exposed on the public Route
2. the expected metrics are available from the new Service[1] - tested
   from the outside of the cluster by creating a temporary Route

[1]: see codeready-toolchain/host-operator#1050

---------

Signed-off-by: Xavier Coulon <[email protected]>
Co-authored-by: Alexey Kazakov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant