-
-
Notifications
You must be signed in to change notification settings - Fork 6
feat: convert anomaly demo to spark-connect #209
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
Merged
Changes from 11 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
11d6467
new stack: spark-connect-notebook
razvan 19f4df4
use stackable image
razvan 8504cfa
Update jupyterhub-pyspark-hdfs stack to use JupyterLab and Spark-connect
razvan 094eb8f
Remove stack spark-connect-notebook
razvan 596908e
delete templated jupyterhub.yaml
razvan 4686bd5
delete demo Dockerfile
razvan ca0fd47
various tweaks to the lab deployment
razvan 30394db
jupyterlab fix service port
razvan 356f415
doc updates
razvan 279c510
remove trailing whitespace
razvan 3cbcd84
remove empty line
razvan bbfa92e
Update docs/modules/demos/pages/jupyterhub-pyspark-hdfs-anomaly-detec…
razvan c7d2006
Update docs/modules/demos/pages/jupyterhub-pyspark-hdfs-anomaly-detec…
razvan 7a83653
Update docs/modules/demos/pages/jupyterhub-pyspark-hdfs-anomaly-detec…
razvan ecc0ea1
link to spark connect client image
razvan 9a63b63
Update spark-connect-client image references to use the correct repos…
razvan 3eeefe7
Update stacks/jupyterhub-pyspark-hdfs/jupyterlab.yaml
razvan c1d254b
notebook: update remote connect to match listener service
razvan 5b78854
stack: install yamls from GH
razvan 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
6 changes: 0 additions & 6 deletions
6
demos/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/Dockerfile
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
demos/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/requirements.txt
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-21.9 KB
...mages/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyter_hub_login.png
Binary file not shown.
Binary file removed
BIN
-37.3 KB
...s/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyter_hub_workspace.png
Binary file not shown.
Binary file added
BIN
+8.42 KB
...images/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyterlab_login.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+214 KB
...es/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyterlab_workspace.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 was deleted.
Oops, something went wrong.
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,67 @@ | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: jupyterlab | ||
labels: | ||
app: jupyterlab | ||
stackable.tech/vendor: Stackable | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: jupyterlab | ||
stackable.tech/vendor: Stackable | ||
template: | ||
metadata: | ||
labels: | ||
app: jupyterlab | ||
stackable.tech/vendor: Stackable | ||
spec: | ||
serviceAccountName: default | ||
containers: | ||
- name: jupyterlab | ||
image: oci.stackable.tech/sdp/spark-connect-client:3.5.5-stackable0.0.0-dev | ||
imagePullPolicy: IfNotPresent | ||
command: | ||
- bash | ||
args: | ||
- -c | ||
- /stackable/.local/bin/jupyter lab --ServerApp.token='{{ jupyterLabToken }}' --ServerApp.port=8080 --no-browser --notebook-dir /notebook | ||
env: | ||
- name: JUPYTER_PORT | ||
value: "8080" | ||
ports: | ||
- name: http | ||
containerPort: 8080 | ||
volumeMounts: | ||
- mountPath: /notebook | ||
name: notebook | ||
initContainers: | ||
- name: download-notebook | ||
image: oci.stackable.tech/sdp/spark-connect-client:3.5.5-stackable0.0.0-dev | ||
razvan marked this conversation as resolved.
Show resolved
Hide resolved
|
||
command: ['sh', '-c', 'curl https://raw.githubusercontent.com/stackabletech/demos/main/stacks/jupyterhub-pyspark-hdfs/notebook.ipynb -o /notebook/notebook.ipynb'] | ||
volumeMounts: | ||
- mountPath: /notebook | ||
name: notebook | ||
volumes: | ||
- name: notebook | ||
emptyDir: | ||
sizeLimit: 500Mi | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: jupyterlab | ||
labels: | ||
app: jupyterlab | ||
stackable.tech/vendor: Stackable | ||
spec: | ||
type: NodePort | ||
selector: | ||
app: jupyterlab | ||
stackable.tech/vendor: Stackable | ||
ports: | ||
- name: http | ||
port: 8080 | ||
targetPort: 8080 |
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.