Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/dev_pyspark-k8s-with-scikit-learn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name: Build and publish pyspark-k8s-with-scikit-learn

env:
IMAGE_NAME: pyspark-k8s-with-scikit-learn
IMAGE_VERSION: 3.4.0-stackable0.0.0-dev
IMAGE_NAME: spark-k8s-with-scikit-learn
IMAGE_VERSION: 3.5.0-stackable24.3.0
REGISTRY_PATH: stackable
DOCKERFILE_PATH: "demos/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/Dockerfile"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.stackable.tech/stackable/spark-k8s:3.5.1-stackable24.7.0
FROM docker.stackable.tech/stackable/spark-k8s:3.5.0-stackable24.3.0

COPY demos/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/requirements.txt .

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
scikit-learn==1.1.3
pandas==1.5.1
scikit-learn==1.3.1
pandas==2.0.3
5 changes: 3 additions & 2 deletions stacks/_templates/jupyterhub.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
releaseName: jupyterhub
name: jupyterhub
repo:
Expand All @@ -11,7 +12,7 @@ options:
allowed_users:
- admin
DummyAuthenticator:
password: {{ jupyterHubAdminPassword }}
password: {{jupyterHubAdminPassword}}
JupyterHub:
authenticator_class: dummy
labels:
Expand Down Expand Up @@ -39,7 +40,7 @@ options:
# Inspect the Dockerfile at:
# https://github.com/jupyter/docker-stacks/tree/HEAD/datascience-notebook/Dockerfile
name: jupyter/pyspark-notebook
tag: python-3.9
tag: python-3.11
serviceAccountName: spark
networkPolicy:
enabled: false
Expand Down
2 changes: 1 addition & 1 deletion stacks/jupyterhub-pyspark-hdfs/notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"spark = (SparkSession\n",
" .builder\n",
" .master(f'k8s://https://{os.environ[\"KUBERNETES_SERVICE_HOST\"]}:{os.environ[\"KUBERNETES_SERVICE_PORT\"]}')\n",
" .config(\"spark.kubernetes.container.image\", \"docker.stackable.tech/demos/pyspark-k8s-with-scikit-learn:3.3.0-stackable23.4\")\n",
" .config(\"spark.kubernetes.container.image\", \"docker.stackable.tech/demos/spark-k8s-with-scikit-learn:3.5.0-stackable24.3.0\")\n",
" .config(\"spark.driver.port\", \"2222\")\n",
" .config(\"spark.driver.blockManager.port\", \"7777\")\n",
" .config(\"spark.driver.host\", \"driver-service.default.svc.cluster.local\")\n",
Expand Down
Loading