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

sync gateway label selector on config update #2663

Closed
wants to merge 3 commits into from

Conversation

lichuqiang
Copy link
Contributor

To address #2434 (comment)

Proposed Changes

  • Update clusteringress controller to update gateway label selector on config change
  • Update related docs

Release Note

NONE

Clusteringress controller will update gateway label selector on config update automatically with this change; As for the servers(port) fields in gateway, the fields can also change, and might not be so regular like that of selector: Users probably only want to expose some of the service ports in the gateway. So users will need to update the fields manually as needed.

@knative-prow-robot knative-prow-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Dec 7, 2018
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: lichuqiang
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: mattmoor

If they are not already assigned, you can assign the PR to them by writing /assign @mattmoor in a comment when ready.

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

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.

@lichuqiang: 1 warning.

In response to this:

To address #2434 (comment)

Proposed Changes

  • Update clusteringress controller to update gateway label selector on config change
  • Update related docs

Release Note

NONE

Clusteringress controller will update gateway label selector on config update automatically with this change; As for the servers(port) fields in gateway, the fields can also change, and might not be so regular like that of selector: Users probably only want to expose some of the service ports in the gateway. So users will need to update the fields manually as needed.

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.

pkg/reconciler/v1alpha1/clusteringress/gateway.go Outdated Show resolved Hide resolved
@lichuqiang lichuqiang changed the title Update gateway selector sync gateway label selector on config update Dec 7, 2018
@knative-metrics-robot
Copy link

The following is the coverage report on pkg/.
Say /test pull-knative-serving-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/reconciler/v1alpha1/clusteringress/clusteringress.go 82.7% 82.9% 0.2
pkg/reconciler/v1alpha1/clusteringress/gateway.go Do not exist 55.6%

@knative-prow-robot
Copy link
Contributor

@lichuqiang: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
pull-knative-serving-upgrade-tests 1579533 link /test pull-knative-serving-upgrade-tests

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.

@lichuqiang
Copy link
Contributor Author

/assign @tcnghia

@tcnghia
Copy link
Contributor

tcnghia commented Dec 10, 2018

@lichuqiang I've changed the Gateway configuration to allow exposing ClusterIngress to two or more Gateways, so this change may need a rebase? Thanks

@tcnghia tcnghia closed this Jan 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants