-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor GCP.md and README.md files, and update Docker configuration …
…and startup script
- Loading branch information
1 parent
e24e2dd
commit 9888c01
Showing
3 changed files
with
42 additions
and
75 deletions.
There are no files selected for viewing
This file contains 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,39 @@ | ||
## Quickstart | ||
### Notebook | ||
#### Step1: Setup Configuration | ||
```bash | ||
cp bin/env_template.yaml bin/env.yaml | ||
``` | ||
Fill in the `env.yaml` file with your own configurations. | ||
|
||
#### Step2: Create a Kubernetes cluster on GCP | ||
```bash | ||
source bin/setup.sh | ||
``` | ||
|
||
#### Step3: Create a Jupyter Notebook | ||
A service `notebook` will be created on the Kubernetes cluster. | ||
|
||
#### Step4: Check Spark Integration | ||
 | ||
|
||
Check Spark information by running the following code in a notebook cell: | ||
```python | ||
start() | ||
``` | ||
|
||
#### Step5: Check Spark UI | ||
 | ||
|
||
Check Spark UI by clicking the link in the notebook cell output. | ||
|
||
## Docker Image | ||
- [all-spark-notebook](https://hub.docker.com/repository/docker/wenyixu101/all-spark-notebook/general) | ||
- Based on jupyter/all-spark-notebook:spark-3.5.0 | ||
- Include Google Cloud SDK and GCS connector | ||
- Include pyspark startup script | ||
- Include notebook save hook function to save notebook to GCS | ||
|
||
- [spark-history-server](https://hub.docker.com/repository/docker/wenyixu101/spark-history-server) | ||
- Based on apache/spark:3.5.0 | ||
- Include GCS connector |
This file contains 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 contains 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