File tree Expand file tree Collapse file tree 3 files changed +37
-11
lines changed
tests/templates/kuttl/resources Expand file tree Collapse file tree 3 files changed +37
-11
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,11 @@ All notable changes to this project will be documented in this file.
8
8
9
9
- Bumped image to ` 3.3.0-stackable0.2.0 ` in tests and docs ([ #145 ] )
10
10
- BREAKING: use resource limit struct instead of passing spark configuration arguments ([ #147 ] )
11
+ - Fixed resources test ([ #151 ] )
11
12
12
13
[ #145 ] : https://github.com/stackabletech/spark-k8s-operator/pull/145
13
14
[ #147 ] : https://github.com/stackabletech/spark-k8s-operator/pull/147
15
+ [ #151 ] : https://github.com/stackabletech/spark-k8s-operator/pull/151
14
16
15
17
## [ 0.5.0] - 2022-09-06
16
18
Original file line number Diff line number Diff line change @@ -3,10 +3,44 @@ apiVersion: kuttl.dev/v1beta1
3
3
kind : TestAssert
4
4
timeout : 900
5
5
---
6
- # The Job starting the whole process
7
6
apiVersion : spark.stackable.tech/v1alpha1
8
7
kind : SparkApplication
9
8
metadata :
10
9
name : spark-resources
11
10
status :
12
11
phase : Succeeded
12
+ ---
13
+ apiVersion : v1
14
+ kind : Pod
15
+ metadata :
16
+ labels :
17
+ spark-role : driver
18
+ app.kubernetes.io/managed-by : spark-k8s-operator
19
+ spec :
20
+ containers :
21
+ - name : spark-driver
22
+ resources :
23
+ limits :
24
+ cpu : 1500m
25
+ # N.B. spark adds memoryOverhead of 10% by default
26
+ memory : 1408Mi
27
+ requests :
28
+ cpu : " 1"
29
+ memory : 1408Mi
30
+ ---
31
+ apiVersion : v1
32
+ kind : Pod
33
+ metadata :
34
+ labels :
35
+ job-name : spark-resources
36
+ app.kubernetes.io/managed-by : spark-k8s-operator
37
+ spec :
38
+ containers :
39
+ - name : spark-submit
40
+ resources :
41
+ limits :
42
+ cpu : 200m
43
+ memory : 1Gi
44
+ requests :
45
+ cpu : 100m
46
+ memory : 1Gi
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments