Skip to content

Commit 9090fc3

Browse files
committed
implement enhanced execution queue status tracking
1 parent 941933d commit 9090fc3

File tree

2 files changed

+53
-19
lines changed

2 files changed

+53
-19
lines changed

crd/benchmarks.resiliencebench.io-v1.yml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,14 @@ spec:
1414
scope: Namespaced
1515
versions:
1616
- additionalPrinterColumns:
17-
- jsonPath: .status.completedScenarios
18-
name: Completed
19-
priority: 3
20-
type: integer
17+
- jsonPath: .status.executionQueueName
18+
name: Execution Queue
19+
priority: 1
20+
type: string
2121
- jsonPath: .status.phase
2222
name: Phase
2323
priority: 0
2424
type: string
25-
- jsonPath: .status.runningScenarios
26-
name: Running
27-
priority: 2
28-
type: integer
29-
- jsonPath: .status.totalScenarios
30-
name: Total Scenarios
31-
priority: 1
32-
type: integer
3325
name: v1beta1
3426
schema:
3527
openAPIV3Schema:
@@ -186,12 +178,12 @@ spec:
186178
type: object
187179
status:
188180
properties:
189-
completedScenarios:
190-
type: integer
191181
completionTime:
192182
type: string
193183
executionId:
194184
type: string
185+
executionQueueName:
186+
type: string
195187
lastReconcileTime:
196188
type: string
197189
message:
@@ -200,12 +192,8 @@ spec:
200192
type: integer
201193
phase:
202194
type: string
203-
runningScenarios:
204-
type: integer
205195
startTime:
206196
type: string
207-
totalScenarios:
208-
type: integer
209197
type: object
210198
type: object
211199
served: true

crd/queues.resiliencebench.io-v1.yml

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,28 @@ spec:
1313
singular: queue
1414
scope: Namespaced
1515
versions:
16-
- name: v1beta1
16+
- additionalPrinterColumns:
17+
- jsonPath: .status.completedScenarios
18+
name: Completed
19+
priority: 3
20+
type: integer
21+
- jsonPath: .status.pendingScenarios
22+
name: Pending
23+
priority: 4
24+
type: integer
25+
- jsonPath: .status.phase
26+
name: Phase
27+
priority: 0
28+
type: string
29+
- jsonPath: .status.runningScenarios
30+
name: Running
31+
priority: 2
32+
type: integer
33+
- jsonPath: .status.totalScenarios
34+
name: Total Scenarios
35+
priority: 1
36+
type: integer
37+
name: v1beta1
1738
schema:
1839
openAPIV3Schema:
1940
properties:
@@ -45,7 +66,32 @@ spec:
4566
type: string
4667
type: object
4768
status:
69+
properties:
70+
completedScenarios:
71+
type: integer
72+
completionTime:
73+
type: string
74+
executionId:
75+
type: string
76+
lastReconcileTime:
77+
type: string
78+
message:
79+
type: string
80+
observedGeneration:
81+
type: integer
82+
pendingScenarios:
83+
type: integer
84+
phase:
85+
type: string
86+
runningScenarios:
87+
type: integer
88+
startTime:
89+
type: string
90+
totalScenarios:
91+
type: integer
4892
type: object
4993
type: object
5094
served: true
5195
storage: true
96+
subresources:
97+
status: {}

0 commit comments

Comments
 (0)