-
Notifications
You must be signed in to change notification settings - Fork 68
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
feat: add istio virtualservice reconciliation to controller #500
Conversation
4dcf94e to
50b6026
Compare
|
/ok-to-test |
50b6026 to
a39f413
Compare
a39f413 to
7d737a2
Compare
7d737a2 to
7992330
Compare
7992330 to
b2571d9
Compare
71d4bc7 to
ea61097
Compare
workspaces/controller/config/components/common/kustomization.yaml
Outdated
Show resolved
Hide resolved
workspaces/controller/config/default/components/istio/kustomization.yaml
Show resolved
Hide resolved
workspaces/controller/config/components/istio/kustomization.yaml
Outdated
Show resolved
Hide resolved
workspaces/controller/config/components/istio/kustomization.yaml
Outdated
Show resolved
Hide resolved
workspaces/controller/internal/controller/workspace_controller.go
Outdated
Show resolved
Hide resolved
- 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]>
Signed-off-by: Harshad Reddy Nalla <[email protected]>
Signed-off-by: Harshad Reddy Nalla <[email protected]>
ea61097 to
9f071ad
Compare
Signed-off-by: Harshad Reddy Nalla <[email protected]>
Signed-off-by: Harshad Reddy Nalla <[email protected]>
Signed-off-by: Harshad Reddy Nalla <[email protected]>
Signed-off-by: Harshad Reddy Nalla <[email protected]>
|
All the changes are made and ready for review |
workspaces/controller/internal/controller/workspace_controller.go
Outdated
Show resolved
Hide resolved
workspaces/controller/internal/controller/workspace_controller.go
Outdated
Show resolved
Hide resolved
Signed-off-by: Harshad Reddy Nalla <[email protected]>
|
@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 |
|
[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 |
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:
deploy istio using from kubeflow manifest repo
After deployment of istio, deploy the controller with the image from PR content
make deploy IMG=quay.io/harshad16/nbcv2:controller-istio2kubectl apply -k config/samples/Port forward the istio ingress:
Open the browser, and goto:
localhost:8080//workspace/<namespace>/<workspace-name>/jupyterlab/labCRD change with port in podtemplate:
#507
Following changes are brought by the PR:
demo:
Screencast from 2025-07-28 16-43-01.webm