Skip to content

Commit

Permalink
typos and add password to stack
Browse files Browse the repository at this point in the history
  • Loading branch information
adwk67 committed Feb 26, 2025
1 parent 79fdb3b commit b021d35
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion stacks/jupyterhub-keycloak/jupyterhub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ options:
allow_all: True
GenericOAuthenticator:
client_id: jupyterhub
client_secret: jupyterhubjupyterhub
client_secret: {{jupyterhubClientPassword}}
username_claim: preferred_username
scope:
- openid
Expand Down
12 changes: 6 additions & 6 deletions stacks/jupyterhub-keycloak/process-s3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"metadata": {},
"source": [
"## Preliminaries\n",
"We can first output some versions that are running and read the minio credentials from the secret that been mounted."
"We can first output some versions that are running and read the minio credentials from the secret that has been mounted."
]
},
{
Expand Down Expand Up @@ -40,22 +40,22 @@
},
{
"cell_type": "markdown",
"id": "c264da0f-6ac7-4dc6-b834-00533676bab6",
"id": "d01b5e14-c704-4408-a803-561cbcf8005f",
"metadata": {},
"source": [
"## Spark\n",
"Spark can be used in Client mode (recommended for JupyterHub notebooks, as code is intended to be called in an interactive\n",
"fashion), which is the default, or Cluster mode. This notebook uses spark in client mode, meaning that the notebook itself\n",
"acts as the driver. It is important that the versions of spark and python match across the driver (running in the juypyterhub image)\n",
"and the executor(s) (running in a separate image, specified below with the `spark.kubernetes.container.image` setting.\n",
"and the executor(s) (running in a separate image, specified below with the `spark.kubernetes.container.image` setting).\n",
"\n",
"The jupyterhub image quay.io/jupyter/pyspark-notebook:spark-3.5.2 appears to be based off the official spark image, as the versions \n",
"The jupyterhub image `quay.io/jupyter/pyspark-notebook:spark-3.5.2` appears to be based off the official spark image, as the versions \n",
"of java match exactly. Python versions can differ at patch level, and the image used below `oci.stackable.tech/sandbox/spark:3.5.2-python311`\n",
"is built from a `spark:3.5.2-scala2.12-java17-ubuntu` base image with python 3.11 (the same major/minor version as the notebook) installed.\n",
"\n",
"## S3\n",
"As we will be reading data from an S3 bucket, we need to add the necessary `hadoop` and `aws` libraries in the same hadoop version as the\n",
"notebook image (see `spark.jars.packages`)."
"notebook image (see `spark.jars.packages`), and define the endpoint settings (see `spark.hadoopo.fs.*`)."
]
},
{
Expand Down Expand Up @@ -124,7 +124,7 @@
"metadata": {},
"source": [
"### Check s3 with pyarrow\n",
"As well as spark, we can inspect S3 buckets with the 'pyarrow' library."
"As well as spark, we can inspect S3 buckets with the `pyarrow` library."
]
},
{
Expand Down
3 changes: 3 additions & 0 deletions stacks/stacks-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -680,3 +680,6 @@ stacks:
- name: minioAdminPassword
description: Password of the MinIO admin user
default: adminadmin
- name: jupyterhubClientPassword
description: Password of the JupyterHub client user
default: jupyterhubjupyterhub

0 comments on commit b021d35

Please sign in to comment.