Skip to content

Conversation

@harshad16
Copy link

@harshad16 harshad16 commented Jul 24, 2025

closes: #37
follow-up: #42

Descriptions:

The PR allow controller to connect each workspace with an endpoint that is reachable under the istio mesh.
This virtualservice follow the pattern of unqiue name, so it doesnt collide with notebook v1, if running in the same cluster parallely.

Setup:

The setup require to set the istio deployment in places.
for initial setup:

CRD change with port in podtemplate:
#507

Following changes are brought by the PR:

  • creates virtualservice for each workspace based on port value
  • new connect endpoint is `workspace/connect////

demo:
Screencast from 2025-07-28 16-43-01.webm

@github-project-automation github-project-automation bot moved this to Needs Triage in Kubeflow Notebooks Jul 24, 2025
@google-oss-prow google-oss-prow bot added area/controller area - related to controller components area/v2 area - version - kubeflow notebooks v2 labels Jul 24, 2025
@harshad16 harshad16 changed the title feat: Setup virtualservice to route traffic to relevant workspace feat(ws): setup virtualservice to route traffic to relevant workspace Jul 24, 2025
@harshad16 harshad16 force-pushed the virtualservice branch 2 times, most recently from 4dcf94e to 50b6026 Compare July 31, 2025 05:12
@harshad16 harshad16 marked this pull request as ready for review July 31, 2025 05:13
@thesuperzapper
Copy link
Member

/ok-to-test

@google-oss-prow google-oss-prow bot added the area/frontend area - related to frontend components label Oct 2, 2025
@google-oss-prow google-oss-prow bot added size/L and removed size/XL labels Oct 2, 2025
@harshad16 harshad16 changed the title feat(ws): setup virtualservice to route traffic to relevant workspace feat(ws): setup virtualservice to route traffic for workspaces Oct 2, 2025
- Update the helper func with CopyDeepVirtualService
- set istio env var as config across controller
- make controller manifest consistent with frontend/backend
- fix the configmap name in manager_istio_patch.yaml

Signed-off-by: Harshad Reddy Nalla <[email protected]>
@harshad16
Copy link
Author

All the changes are made and ready for review
New changes:
Uploading Screencast from 2025-11-06 15-20-13.webm…

@thesuperzapper thesuperzapper changed the title feat(ws): setup virtualservice to route traffic for workspaces feat: add istio virtualservice reconciliation to controller Nov 6, 2025
@thesuperzapper
Copy link
Member

@harshad16 amazing work after all this back and forward, this is critical for the future of notebook 2.0, and to get it shipped!

/lgtm
/approve

@google-oss-prow google-oss-prow bot added the lgtm label Nov 6, 2025
@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: thesuperzapper

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

@google-oss-prow google-oss-prow bot merged commit 3c1de72 into kubeflow:notebooks-v2 Nov 6, 2025
20 checks passed
@github-project-automation github-project-automation bot moved this from Needs Triage to Done in Kubeflow Notebooks Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved area/backend area - related to backend components area/controller area - related to controller components area/frontend area - related to frontend components area/v2 area - version - kubeflow notebooks v2 lgtm ok-to-test size/XL

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants