File tree Expand file tree Collapse file tree 6 files changed +51
-12
lines changed
docker/spark-history-server
helm/data-platform/templates Expand file tree Collapse file tree 6 files changed +51
-12
lines changed Original file line number Diff line number Diff line change
1
+ name : Build Docker
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+ paths :
9
+ - ' docker/**'
10
+ jobs :
11
+ build :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v3
15
+
16
+ - name : Log in to Docker Hub
17
+ uses : docker/login-action@v1
18
+ with :
19
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
20
+ password : ${{ secrets.DOCKERHUB_PASSWORD }}
21
+
22
+ - name : Docker Build & Push
23
+ run : |
24
+ timestamp=$(date +"%Y%m%d%H%M%S")
25
+
26
+ docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/all-spark-notebook:$timestamp -f docker/jupyter-notebook/Dockerfile.notebook ./docker/jupyter-notebook
27
+ docker tag ${{ secrets.DOCKERHUB_USERNAME }}/all-spark-notebook:$timestamp ${{ secrets.DOCKERHUB_USERNAME }}/all-spark-notebook:latest
28
+
29
+ docker push ${{ secrets.DOCKERHUB_USERNAME }}/all-spark-notebook:$timestamp
30
+ docker push ${{ secrets.DOCKERHUB_USERNAME }}/all-spark-notebook:latest
31
+
32
+ docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/spark-history-server:$timestamp -f docker/spark-history-server/Dockerfile ./docker/spark-history-server
33
+ docker tag ${{ secrets.DOCKERHUB_USERNAME }}/spark-history-server:$timestamp ${{ secrets.DOCKERHUB_USERNAME }}/spark-history-server:latest
34
+
35
+ docker push ${{ secrets.DOCKERHUB_USERNAME }}/spark-history-server:$timestamp
36
+ docker push ${{ secrets.DOCKERHUB_USERNAME }}/spark-history-server:latest
Original file line number Diff line number Diff line change 1
- name : Build & Deploy Examples
1
+ name : Build Examples
2
2
3
3
# Controls when the workflow will run
4
4
on :
54
54
docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/word-count:$VERSION_WITH_TIMESTAMP --build-arg VERSION=$VERSION .
55
55
docker push ${{ secrets.DOCKERHUB_USERNAME }}/word-count:$VERSION_WITH_TIMESTAMP
56
56
57
- deploy-examples :
58
- needs : build-examples
59
- runs-on : ubuntu-latest
60
- if : ${{ github.event.inputs.deploy-example != 'None' }}
61
-
62
- steps :
63
- - name : Deploy to GKE
64
- run : |
65
- echo "Deploy ${{ github.event.inputs.deploy-example }} to GKE!"
66
57
Original file line number Diff line number Diff line change 7
7
<img alt="GitHub License" src="https://img.shields.io/github/license/xuwenyihust/Data-Platform?link=https%3A%2F%2Fgithub.com%2Fxuwenyihust%2FData-Platform%2Fblob%2Fmain%2FLICENSE">
8
8
</p >
9
9
10
+ > ⚠️ Currently in Development: Expect breaking changes and bugs!
11
+
10
12
## Overview
11
13
A big data platform for data processing and machine learning based on Kubernetes and Spark.
12
14
15
+ ## Features
16
+ - Spark Application Deployment
17
+ - Jar Application Submission
18
+ - PySpark Application Submission
19
+ - Jupyter Notebook
20
+ - Customized Integration with PySpark
21
+ - Monitoring
22
+ - Spark UI
23
+ - History Server
24
+
13
25
## Supported Versions
14
26
- Spark: 3.5.0
15
27
- Scala: 2.12
File renamed without changes.
Original file line number Diff line number Diff line change 15
15
serviceAccountName : spark
16
16
containers :
17
17
- name : notebook
18
- image : wenyixu101/all-spark-notebook:spark-3.5.0_26
18
+ image : wenyixu101/all-spark-notebook:latest
19
19
imagePullPolicy : Always
20
20
command : ["/bin/bash", "-c", "start-notebook.sh"]
21
21
ports :
Original file line number Diff line number Diff line change 14
14
spec :
15
15
containers :
16
16
- name : spark-history-server
17
- image : wenyixu101/spark-history-server:3.5.0
17
+ image : wenyixu101/spark-history-server:latest
18
18
command : ["/bin/sh", "-c"]
19
19
args : ["/opt/spark/bin/spark-class org.apache.spark.deploy.history.HistoryServer"]
20
20
env :
You can’t perform that action at this time.
0 commit comments