-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Make kative local gateway configurable #1363
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: yuzisun 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we use the new localGateway convention of knative (knative-local-gateway
) as the default value, and users of old versions can change that to cluster-local-gateway
?
@theofpa Yes let’s do that in your PR, I want to first make it configurable and run the e2e rests to confirm it works with the old value against older knative version as you are upgrading knative version in e2e. |
ok! |
IngressGateway string `json:"ingressGateway,omitempty"` | ||
IngressServiceName string `json:"ingressService,omitempty"` | ||
LocalGateway string `json:"localGateway,omitempty"` | ||
LocalGatewayServiceName string `json:"localGatewayService,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yuzisun, I've missed that, but it generates a name mismatch violation in the make generate
. We can either match the names or add it in the violation exceptions.
"ingressService" : "istio-ingressgateway.istio-system.svc.cluster.local" | ||
"localGateway" : "cluster-local-gateway" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing commas for valid json
* replace cluster-local-gateway with knative-local-gateway to support knative 0.19+ * remove istio injection * update the new variable from #1363 to the new local gateway name * add waiting condition for knative operator * filter out storage-version-migration-serving-serving from knative condition * fix json syntax on isvc cm and exclude violations * replace cluster-local-gateway with knative-local-gateway on v0.5.0 * try removing the local svc url * Revert "Merge remote-tracking branch 'origin/knative-0.19+' into knative-0.19+" This reverts commit 1338b34, reversing changes made to 40a4eff. * replace srv.cluster.local in logger test and increase the number of pytest workers from 3 to 4 Signed-off-by: Theofilos Papapanagiotou <theofilos@gmail.com> * update the developer guide for knative 0.19+ Signed-off-by: Theofilos Papapanagiotou <theofilos@gmail.com> * revert example image Signed-off-by: Theofilos Papapanagiotou <theofilos@gmail.com> * Change the concurrency back to 3 * Update install/v0.5.0/kfserving.yaml Co-authored-by: Dan Sun <dsun20@bloomberg.net> * Update install/v0.5.0/kfserving.yaml Co-authored-by: Dan Sun <dsun20@bloomberg.net> * dev guide detail fix for knative-local-gateway Signed-off-by: Theofilos Papapanagiotou <theofilos@gmail.com> * set pytest concurrency to 4 Signed-off-by: Theofilos Papapanagiotou <theofilos@gmail.com> * add namespace on knative-local-gateway * improve e2e test for logger * improve e2e test for logger * rollback changes to 0.5.0 release Co-authored-by: Dan Sun <dsun20@bloomberg.net>
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #1340
Special notes for your reviewer:
Release note: