-
Notifications
You must be signed in to change notification settings - Fork 69
feat: add istio virtualservice reconciliation to controller #500
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
Merged
google-oss-prow
merged 8 commits into
kubeflow:notebooks-v2
from
harshad16:virtualservice
Nov 6, 2025
+492
−61
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
2e87447
setup virtualservice to route traffic for workspaces
harshad16 b1a74c1
add e2e test to verify workspace connection
harshad16 9f071ad
fixed controller config with istio component
harshad16 daa43c9
restructure the virtual service httproute configuration
harshad16 b00365e
Remove the extend e2e test of portforward gateway
harshad16 f92ef05
remove the reference of istio overlays
harshad16 357e2b0
set service name with available service for e2e test
harshad16 01955dd
Fix the naming convention and e2e changes
harshad16 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
workspaces/controller/config/default/components/istio/kustomization.yaml
This file contains hidden or 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/v1alpha1 | ||
| kind: Component | ||
thesuperzapper marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| configMapGenerator: | ||
| - envs: | ||
| - params.env | ||
| name: kubeflow-workspaces-istio-config | ||
|
|
||
| patches: | ||
| - path: manager_istio_patch.yaml | ||
30 changes: 30 additions & 0 deletions
30
workspaces/controller/config/default/components/istio/manager_istio_patch.yaml
This file contains hidden or 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,30 @@ | ||
| apiVersion: apps/v1 | ||
| kind: Deployment | ||
| metadata: | ||
| name: workspaces-controller | ||
| spec: | ||
| template: | ||
| spec: | ||
| containers: | ||
| - name: manager | ||
| env: | ||
| - name: USE_ISTIO | ||
| valueFrom: | ||
| configMapKeyRef: | ||
| name: kubeflow-workspaces-istio-config | ||
| key: USE_ISTIO | ||
| - name: ISTIO_GATEWAY | ||
| valueFrom: | ||
| configMapKeyRef: | ||
| name: kubeflow-workspaces-istio-config | ||
| key: ISTIO_GATEWAY | ||
| - name: ISTIO_HOST | ||
| valueFrom: | ||
| configMapKeyRef: | ||
| name: kubeflow-workspaces-istio-config | ||
| key: ISTIO_HOST | ||
| - name: CLUSTER_DOMAIN | ||
| valueFrom: | ||
| configMapKeyRef: | ||
| name: kubeflow-workspaces-istio-config | ||
| key: CLUSTER_DOMAIN |
4 changes: 4 additions & 0 deletions
4
workspaces/controller/config/default/components/istio/params.env
This file contains hidden or 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,4 @@ | ||
| USE_ISTIO=true | ||
| ISTIO_GATEWAY=kubeflow/kubeflow-gateway | ||
| ISTIO_HOST=* | ||
| CLUSTER_DOMAIN=cluster.local |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,24 @@ | ||
| /* | ||
| Copyright 2024. | ||
|
|
||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||
| you may not use this file except in compliance with the License. | ||
| You may obtain a copy of the License at | ||
|
|
||
| http://www.apache.org/licenses/LICENSE-2.0 | ||
|
|
||
| Unless required by applicable law or agreed to in writing, software | ||
| distributed under the License is distributed on an "AS IS" BASIS, | ||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| See the License for the specific language governing permissions and | ||
| limitations under the License. | ||
| */ | ||
|
|
||
| package config | ||
|
|
||
| type EnvConfig struct { | ||
| IstioGateway string | ||
| IstioHosts string | ||
| ClusterDomain string | ||
| UseIstio bool | ||
| } |
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.