ingress-nginx icon indicating copy to clipboard operation
ingress-nginx copied to clipboard

Parameterize metrics port name

Open anders-swanson opened this issue 3 years ago • 12 comments

resolves discussion on kubernetes/ingress-nginx#8665

anders-swanson avatar Sep 12 '22 14:09 anders-swanson

@anders-swanson: This issue is currently awaiting triage.

If Ingress contributors determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

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/test-infra repository.

k8s-ci-robot avatar Sep 12 '22 14:09 k8s-ci-robot

Hi @anders-swanson. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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/test-infra repository.

k8s-ci-robot avatar Sep 12 '22 14:09 k8s-ci-robot

/ok-to-test

longwuyuan avatar Sep 12 '22 14:09 longwuyuan

/lgtm

cc @tao12345666333 @strongjz @rikatz

longwuyuan avatar Sep 12 '22 14:09 longwuyuan

Reverting is nice but why not just create a variable instead? I think all we need to do is to call it:

Values.controller.metrics.service.name and set the default value to metrics? Then it should work for all of us straight away.

nissessenap avatar Sep 12 '22 19:09 nissessenap

I saw your comment in the issue and you wanted to fix that in a separate PR. Thanks for the quick action @anders-swanson LGTM

nissessenap avatar Sep 12 '22 19:09 nissessenap

I can fix in this PR. Was not sure if it was desirable to revert first and then fix. Like you say it is a simple fix, I already have done it on my local branch.

anders-swanson avatar Sep 12 '22 19:09 anders-swanson

Yeah from my point of view why not fix it straight away. Let's see if the maintainers agree :) LGTM

nissessenap avatar Sep 12 '22 20:09 nissessenap

/area stabilization

longwuyuan avatar Sep 13 '22 01:09 longwuyuan

@longwuyuan anything else needed to merge?

nissessenap avatar Sep 22 '22 12:09 nissessenap

I don't think there is anything pending from your side. But we have to make a release now with a couple of really important and needed changes. So the approvers will look at this as soon some higher priority work allows them time. This change should become available with the next releae that I mentioned.

cc @tao12345666333 @strongjz @rikatz

longwuyuan avatar Sep 22 '22 13:09 longwuyuan

/lgtm

strongjz avatar Sep 30 '22 15:09 strongjz

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: anders-swanson, longwuyuan, strongjz

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

k8s-ci-robot avatar Sep 30 '22 15:09 k8s-ci-robot