notebooks: (actually its workspaces) add Spark Connect operator and user guides - #4479
Open
vikas-saxena02 wants to merge 1 commit into
Open
notebooks: (actually its workspaces) add Spark Connect operator and user guides#4479vikas-saxena02 wants to merge 1 commit into
vikas-saxena02 wants to merge 1 commit into
Conversation
Signed-off-by: Vikas Saxena <Vikas.Saxena.2006@gmail.com>
google-oss-prow
Bot
requested review from
christian-heusel and
thesuperzapper
September 4, 2026 17:16
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What this does
Adds two guides covering how to run Spark from a Kubeflow Workspace using the Kubeflow SDK, so users can start a Spark Connect session from a notebook without hand-authoring
SparkApplicationmanifests.Addresses kubeflow/notebooks#1362. Scope confirmed with @christian-heusel on that issue: guides live here, no sample WorkspaceKind, the docs instead explain what to modify on an existing WorkspaceKind and why.
Changes
Three new files, nothing modified or removed.
workspaces/operator-guides/spark-connect.md— the one WorkspaceKind change an administrator has to make (bindingkubeflow-spark-editviapodTemplate.serviceAccount.clusterRoles), why the narrow role rather thankubeflow-edit, how to verify withkubectl auth can-i, and image requirements.workspaces/user-guides/spark-connect.md— theSparkClient/connect()flow, version pinning, the three requiredPodTemplateOverridesettings with the reasoning for each, and troubleshooting.workspaces/user-guides/_index.md— new section, since Workspaces had Operator and Contributor guides but no User guides.How the split landed
Worth flagging, because it isn't what I expected going in: the only administrator-side change is the RBAC binding. The driver ServiceAccount, Istio sidecar exclusion, and the executor container name are all supplied per session by the user in the
connect()call, not configured on the WorkspaceKind. So the operator guide is short and most of the substance sits in the user guide.On the Notebooks-side follow-ups asked for in kubeflow/notebooks#1362: the only candidate I found was a sample
jupyterlab-sparkWorkspaceKind, which @christian-heusel has already ruled out. I don't think anything else is needed inkubeflow/notebooksfor this.Depends on kubeflow/community-distribution#3590
Please hold this until that PR merges. Both guides link to the integration test it adds, so the reference links 404 until then and the Netlify link check will flag them. Every configuration snippet here is taken from that test rather than written from scratch, so it should also merge first for the docs to describe verified behaviour.
Raising now so review can start in parallel. Happy to convert to a draft if you'd rather.
Related
kubeflow/spark-operator#3141 replaces the Jupyter Enterprise Gateway notebooks guide with the same SDK approach, on the Spark Operator docs side. It states the platform-specific requirements inline as a stopgap; I'll swap those for links to these pages once both land.