Skip to content

Commit 8b86f33

Browse files
committed
adapted to latest stackable images
1 parent e29aa46 commit 8b86f33

16 files changed

+17
-17
lines changed

docs/modules/ROOT/examples/example-encapsulated.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: spark-pi
66
spec:
77
version: "1.0"
8-
sparkImage: docker.stackable.tech/stackable/spark-k8s:3.3.0-stackable0.2.0 # <1>
8+
sparkImage: docker.stackable.tech/stackable/spark-k8s:3.3.0-stackable0.3.0 # <1>
99
mode: cluster
1010
mainClass: org.apache.spark.examples.SparkPi
1111
mainApplicationFile: /stackable/spark/examples/jars/spark-examples_2.12-3.3.0.jar # <2>

docs/modules/ROOT/examples/example-sparkapp-configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
namespace: default
77
spec:
88
version: "1.0"
9-
sparkImage: docker.stackable.tech/stackable/spark-k8s:3.3.0-stackable0.2.0
9+
sparkImage: docker.stackable.tech/stackable/spark-k8s:3.3.0-stackable0.3.0
1010
mode: cluster
1111
mainApplicationFile: s3a://stackable-spark-k8s-jars/jobs/ny-tlc-report-1.1.0.jar # <3>
1212
mainClass: tech.stackable.demo.spark.NYTLCReport

docs/modules/ROOT/examples/example-sparkapp-external-dependencies.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
namespace: default
77
spec:
88
version: "1.0"
9-
sparkImage: docker.stackable.tech/stackable/pyspark-k8s:3.3.0-stackable0.2.0
9+
sparkImage: docker.stackable.tech/stackable/pyspark-k8s:3.3.0-stackable0.3.0
1010
mode: cluster
1111
mainApplicationFile: s3a://stackable-spark-k8s-jars/jobs/ny_tlc_report.py # <1>
1212
args:

docs/modules/ROOT/examples/example-sparkapp-image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
spec:
88
version: "1.0"
99
image: docker.stackable.tech/stackable/ny-tlc-report:0.1.0 # <1>
10-
sparkImage: docker.stackable.tech/stackable/pyspark-k8s:3.3.0-stackable0.2.0
10+
sparkImage: docker.stackable.tech/stackable/pyspark-k8s:3.3.0-stackable0.3.0
1111
mode: cluster
1212
mainApplicationFile: local:///stackable/spark/jobs/ny_tlc_report.py # <2>
1313
args:

docs/modules/ROOT/examples/example-sparkapp-pvc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
namespace: default
77
spec:
88
version: "1.0"
9-
sparkImage: docker.stackable.tech/stackable/spark-k8s:3.3.0-stackable0.2.0
9+
sparkImage: docker.stackable.tech/stackable/spark-k8s:3.3.0-stackable0.3.0
1010
mode: cluster
1111
mainApplicationFile: s3a://stackable-spark-k8s-jars/jobs/ny-tlc-report-1.0-SNAPSHOT.jar # <1>
1212
mainClass: org.example.App # <2>

docs/modules/ROOT/examples/example-sparkapp-s3-private.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: example-sparkapp-s3-private
66
spec:
77
version: "1.0"
8-
sparkImage: docker.stackable.tech/stackable/spark-k8s:3.3.0-stackable0.2.0
8+
sparkImage: docker.stackable.tech/stackable/spark-k8s:3.3.0-stackable0.3.0
99
mode: cluster
1010
mainApplicationFile: s3a://my-bucket/spark-examples_2.12-3.3.0.jar # <1>
1111
mainClass: org.apache.spark.examples.SparkPi # <2>

docs/modules/ROOT/examples/example-sparkapp-streaming.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
namespace: default
77
spec:
88
version: "1.0"
9-
sparkImage: docker.stackable.tech/stackable/pyspark-k8s:3.3.0-stackable0.1.0
9+
sparkImage: docker.stackable.tech/stackable/pyspark-k8s:3.3.0-stackable0.3.0
1010
mode: cluster
1111
mainApplicationFile: local:///stackable/spark/examples/src/main/python/streaming/hdfs_wordcount.py
1212
args:

docs/modules/ROOT/pages/usage.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ Below are listed the CRD fields that can be defined by the user:
211211
|User-supplied image containing spark-job dependencies that will be copied to the specified volume mount
212212

213213
|`spec.sparkImage`
214-
| Spark image which will be deployed to driver and executor pods, which must contain spark environment needed by the job e.g. `docker.stackable.tech/stackable/spark-k8s:3.3.0-stackable0.2.0`
214+
| Spark image which will be deployed to driver and executor pods, which must contain spark environment needed by the job e.g. `docker.stackable.tech/stackable/spark-k8s:3.3.0-stackable0.3.0`
215215

216216
|`spec.sparkImagePullPolicy`
217217
| Optional Enum (one of `Always`, `IfNotPresent` or `Never`) that determines the pull policy of the spark job image

docs/modules/getting_started/examples/code/getting_started.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ metadata:
5353
namespace: default
5454
spec:
5555
version: "1.0"
56-
sparkImage: docker.stackable.tech/stackable/pyspark-k8s:3.3.0-stackable0.2.0
56+
sparkImage: docker.stackable.tech/stackable/pyspark-k8s:3.3.0-stackable0.3.0
5757
mode: cluster
5858
mainApplicationFile: local:///stackable/spark/examples/src/main/python/pi.py
5959
driver:

docs/modules/getting_started/examples/code/getting_started.sh.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ metadata:
5353
namespace: default
5454
spec:
5555
version: "1.0"
56-
sparkImage: docker.stackable.tech/stackable/pyspark-k8s:3.3.0-stackable0.2.0
56+
sparkImage: docker.stackable.tech/stackable/pyspark-k8s:3.3.0-stackable0.3.0
5757
mode: cluster
5858
mainApplicationFile: local:///stackable/spark/examples/src/main/python/pi.py
5959
driver:

examples/ny-tlc-report-external-dependencies.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
namespace: default
77
spec:
88
version: "1.0"
9-
sparkImage: docker.stackable.tech/stackable/pyspark-k8s:3.3.0-stackable0.2.0
9+
sparkImage: docker.stackable.tech/stackable/pyspark-k8s:3.3.0-stackable0.3.0
1010
# Always | IfNotPresent | Never
1111
sparkImagePullPolicy: IfNotPresent
1212
mode: cluster

examples/ny-tlc-report-image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ spec:
88
version: "1.0"
99
# everything under /jobs will be copied to /stackable/spark/jobs
1010
image: docker.stackable.tech/stackable/ny-tlc-report:0.1.0
11-
sparkImage: docker.stackable.tech/stackable/pyspark-k8s:3.3.0-stackable0.2.0
11+
sparkImage: docker.stackable.tech/stackable/pyspark-k8s:3.3.0-stackable0.3.0
1212
sparkImagePullPolicy: IfNotPresent
1313
mode: cluster
1414
mainApplicationFile: local:///stackable/spark/jobs/ny_tlc_report.py

examples/ny-tlc-report.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ metadata:
1313
name: spark-ny-cm
1414
spec:
1515
version: "1.0"
16-
sparkImage: docker.stackable.tech/stackable/spark-k8s:3.3.0-stackable0.2.0
16+
sparkImage: docker.stackable.tech/stackable/spark-k8s:3.3.0-stackable0.3.0
1717
mode: cluster
1818
mainApplicationFile: s3a://my-bucket/ny-tlc-report-1.1.0-3.3.0.jar
1919
mainClass: tech.stackable.demo.spark.NYTLCReport

kind/assert-pvc-jars.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ spec:
1313
claimName: pvc-ksv
1414
containers:
1515
- name: assert-pvc-jars
16-
image: docker.stackable.tech/stackable/tools:0.2.0-stackable0
16+
image: docker.stackable.tech/stackable/tools:0.2.0-stackable0.4.0
1717
env:
1818
- name: DEST_DIR
1919
value: "/dependencies/jars"

kind/kind-pvc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424
claimName: pvc-ksv
2525
containers:
2626
- name: aws-deps
27-
image: docker.stackable.tech/stackable/tools:0.2.0-stackable0
27+
image: docker.stackable.tech/stackable/tools:0.2.0-stackable0.4.0
2828
env:
2929
- name: DEST_DIR
3030
value: "/dependencies/jars"

tests/test-definition.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# To run these tests on OpenShift you have ensure that:
2+
# To run these tests on OpenShift you have to ensure that:
33
# 1. The "openshift" dimension below is set to "true"
44
# 2. At least one node in the cluster is labeled with "node: 1"
55
#
@@ -13,7 +13,7 @@ dimensions:
1313
- 3.3.0
1414
- name: stackable
1515
values:
16-
- 0.2.0
16+
- 0.3.0
1717
- name: ny-tlc-report
1818
values:
1919
- 0.1.0

0 commit comments

Comments
 (0)