-
Notifications
You must be signed in to change notification settings - Fork 896
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update README for 1.4 (#2047) * Update references for 1.4 Signed-off-by: Kimonas Sotirchos <[email protected]> * Add a table for the common components Signed-off-by: Kimonas Sotirchos <[email protected]> * Update K8s version Signed-off-by: Kimonas Sotirchos <[email protected]> * Knative: Use istio's local gateway (#2048) By default Knative's local gateway will use the istio-ingressgateway Pod for configuring traffic and binding VirtualServices. This means that all in-cluster traffic will need to also pass via the ingress gateway. We've noticed 302s from Notebooks curl-ing InferenceServices. This was because the AuthService is authenticating all requests that go through the ingress gateway. But since we now send in-cluster requests via the ingress gateway this means that AuthService will also check them. To avoid the above we provide an overlay for making Knative's local gateway to use Istio's local gateway and not the ingress one. See: #1966 Signed-off-by: Kimonas Sotirchos <[email protected]> * Update components of kubeflow/kubeflow for 1.4 (#2055) * Sync with the 1.4 kubeflow/kubeflow repo Signed-off-by: Kimonas Sotirchos <[email protected]> * Update README for 1.4 Signed-off-by: Kimonas Sotirchos <[email protected]>
- Loading branch information
1 parent
bfe58c9
commit 39c0199
Showing
13 changed files
with
70 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
common/knative/knative-serving/overlays/gateways/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- ../../base | ||
|
||
# We want to Knative to use Istio's local Gateway and not the Ingress Gateway | ||
# See: https://github.com/kubeflow/manifests/issues/1966 | ||
patchesStrategicMerge: | ||
- patches/gateway-selectors.yaml |
19 changes: 19 additions & 0 deletions
19
common/knative/knative-serving/overlays/gateways/patches/gateway-selectors.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
apiVersion: networking.istio.io/v1alpha3 | ||
kind: Gateway | ||
metadata: | ||
name: knative-local-gateway | ||
namespace: knative-serving | ||
spec: | ||
selector: | ||
app: cluster-local-gateway | ||
istio: cluster-local-gateway | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: knative-local-gateway | ||
namespace: istio-system | ||
spec: | ||
selector: | ||
app: cluster-local-gateway | ||
istio: cluster-local-gateway |