-
Notifications
You must be signed in to change notification settings - Fork 27
/
image.pyspark.yaml
55 lines (54 loc) · 1.65 KB
/
image.pyspark.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
schema_version: 1
name: "radanalyticsio/radanalytics-pyspark"
version: 1.0
release: dev
from: "centos/python-36-centos7:latest"
labels:
- name: "io.k8s.description"
value: "Platform for building a radanalytics Python 3.6 pyspark app"
- name: "io.k8s.display-name"
value: "radanalytics pyspark"
- name: "io.openshift.expose-services"
value: "8080:http"
- name: "io.openshift.s2i.scripts-url"
value: "image:///usr/libexec/s2i"
- name: "io.openshift.tags"
value: "builder,radanalytics,pyspark"
- name: "io.radanalytics.sparkdistro"
value: "https://archive.apache.org/dist/spark/spark-3.0.0/spark-3.0.0-bin-hadoop3.2.tgz"
envs:
- name: RADANALYTICS_PYSPARK
value: 1.0
- name: PATH
value: /opt/app-root/src/.local/bin/:/opt/app-root/src/bin:/opt/app-root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/spark/bin
- name: SPARK_HOME
value: /opt/spark
- name: SPARK_INSTALL
value: /opt/spark-distro
- name: PYTHONPATH
value: /opt/spark/python
- name: APP_ROOT
value: /opt/app-root
- name: APP_LANG
value: python
modules:
repositories:
- path: modules
install:
- name: common
- name: spark
- name: pyspark
packages:
install:
- java-11-openjdk
artifacts:
- url: https://archive.apache.org/dist/spark/spark-3.0.0/spark-3.0.0-bin-hadoop3.2.tgz
md5: c5c0af4b4b9cb21d214c7026439df236
- url: https://github.com/radanalyticsio/oshinko-cli/releases/download/v0.6.1/oshinko_v0.6.1_linux_amd64.tar.gz
md5: ce740893afa0801134151ff83e7f21e6
run:
user: 185
cmd:
- /usr/libexec/s2i/usage
entrypoint:
- "/opt/app-root/etc/bootstrap.sh"