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

Service port names should follow istio-naming convention? #5070

Merged
merged 2 commits into from
Nov 15, 2019

Conversation

iamejboy
Copy link
Contributor

@iamejboy iamejboy commented Aug 6, 2019

Service port name to istio-naming convention #5018
https://istio.io/docs/setup/kubernetes/additional-setup/requirements/

Fixes #

Proposed Changes

Note: Please update if I missed something but the idea is there.

Release Note

* Service port name should follow the istio naming convention based on this link:
https://istio.io/docs/setup/kubernetes/additional-setup/requirements/

@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Aug 6, 2019
@knative-prow-robot knative-prow-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Aug 6, 2019
Copy link
Contributor

@knative-prow-robot knative-prow-robot left a comment

Choose a reason for hiding this comment

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

@iamejboy: 0 warnings.

In response to this:

Service port name to istio-naming convention #5018
https://istio.io/docs/setup/kubernetes/additional-setup/requirements/

Fixes #

Proposed Changes

Note: Please update if I missed something but the idea is there.

Release Note

* Service port name should follow the istio naming convention based on this link:
https://istio.io/docs/setup/kubernetes/additional-setup/requirements/

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.

@knative-prow-robot
Copy link
Contributor

Hi @iamejboy. Thanks for your PR.

I'm waiting for a knative 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.

@knative-prow-robot knative-prow-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Aug 6, 2019
@knative-prow-robot knative-prow-robot added the area/API API objects and controllers label Aug 6, 2019
@mattmoor mattmoor removed their request for review August 6, 2019 14:17
@dgerd
Copy link

dgerd commented Aug 6, 2019

/ok-to-test

@knative-prow-robot knative-prow-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Aug 6, 2019
@dgerd dgerd added area/networking and removed area/API API objects and controllers labels Aug 6, 2019
Copy link
Contributor

@markusthoemmes markusthoemmes left a comment

Choose a reason for hiding this comment

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

Do we potentially need to touch activator-service.yaml and controller-service.yaml as well?

pkg/apis/serving/v1alpha1/revision_lifecycle.go Outdated Show resolved Hide resolved
config/autoscaler-service.yaml Show resolved Hide resolved
@knative-prow-robot knative-prow-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. area/API API objects and controllers and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Aug 8, 2019
@tcnghia
Copy link
Contributor

tcnghia commented Aug 14, 2019

/test pull-knative-serving-istio-1.1-mesh
/test pull-knative-serving-istio-1.2-mesh

@markusthoemmes
Copy link
Contributor

@iamejboy any news on this? Had any chance to look at the test failures yet?

@iamejboy
Copy link
Contributor Author

@iamejboy any news on this? Had any chance to look at the test failures yet?

Hi @markusthoemmes, Sorry, didn't have time yet or might be needing your help to get this merge. I link an issue from istio, reason why we are strictly enforcing this internally.

@iamejboy
Copy link
Contributor Author

/retest

@iamejboy iamejboy force-pushed the service_port_name_update branch from 3b0f6dd to aac0669 Compare September 1, 2019 00:05
@iamejboy
Copy link
Contributor Author

iamejboy commented Sep 1, 2019

Hi @markusthoemmes updated PR. Test looks good now. cc: @dgerd

Copy link
Contributor

@markusthoemmes markusthoemmes left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 9, 2019
Copy link
Contributor

@markusthoemmes markusthoemmes left a comment

Choose a reason for hiding this comment

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

/hold

Shot too quick. One question left.

@@ -52,11 +52,11 @@ const (

// UserQueueMetricsPortName specifies the port name to use for metrics
// emitted by queue-proxy for end user.
UserQueueMetricsPortName = "user-metrics"
UserQueueMetricsPortName = "http-usermetric"
Copy link
Contributor

Choose a reason for hiding this comment

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

@mattmoor is this acceptable from an update PoV? I feel like, because these names are used when generating the deployment, we effectively trigger a redeployment when this change is applied after an update.

Copy link
Member

Choose a reason for hiding this comment

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

We should be able to safely rollout changes to the user Deployment

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Ack. I think this may be ok. Following the conventions may help us avoid strange errors.

@knative-prow-robot knative-prow-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 9, 2019
@markusthoemmes
Copy link
Contributor

/cc @mattmoor

@tcnghia
Copy link
Contributor

tcnghia commented Sep 20, 2019

/hold cancel
/approve

@knative-prow-robot knative-prow-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 20, 2019
@tcnghia
Copy link
Contributor

tcnghia commented Sep 20, 2019

/assign @mattmoor

@markusthoemmes
Copy link
Contributor

@mattmoor this is awaiting input from your end. Any chance to get to this?

@mattmoor
Copy link
Member

This looks good to me, but let's land it after the cut Tuesday out of an abundance of caution.

@iamejboy iamejboy force-pushed the service_port_name_update branch from aac0669 to 3bf352f Compare November 11, 2019 01:58
@knative-prow-robot knative-prow-robot removed the lgtm Indicates that a PR is ready to be merged. label Nov 11, 2019
@iamejboy iamejboy force-pushed the service_port_name_update branch from 3bf352f to 2a04b3b Compare November 15, 2019 01:55
Copy link
Contributor

@markusthoemmes markusthoemmes left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@mattmoor this might need your superpowers.

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 15, 2019
Copy link
Member

@mattmoor mattmoor left a comment

Choose a reason for hiding this comment

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

/approve

@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: iamejboy, markusthoemmes, mattmoor, tcnghia

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

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 15, 2019
@knative-prow-robot
Copy link
Contributor

knative-prow-robot commented Nov 15, 2019

@iamejboy: The following tests failed, say /retest to rerun them all:

Test name Commit Details Rerun command
pull-knative-serving-istio-1.1-mesh 78704a6 link /test pull-knative-serving-istio-1.1-mesh
pull-knative-serving-istio-1.2-mesh 78704a6 link /test pull-knative-serving-istio-1.2-mesh

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

@knative-test-reporter-robot

The following jobs failed:

Test name Triggers Retries
pull-knative-serving-unit-tests pull-knative-serving-unit-tests 1/3

Automatically retrying due to test flakiness...
/test pull-knative-serving-unit-tests

@knative-prow-robot knative-prow-robot merged commit 6e247eb into knative:master Nov 15, 2019
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. area/API API objects and controllers area/autoscale area/networking cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. 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.

8 participants