Skip to content

Commit e7373bb

Browse files
committed
doc(examples): interval requires count
doc(examples): moved other count up next to interval for visibility Signed-off-by: mitchell amihod <4623+meeech@users.noreply.github.com>
1 parent b84e039 commit e7373bb

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

examples/analysis-templates.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ metadata:
1010
spec:
1111
metrics:
1212
- name: pass
13+
count: 1
1314
interval: 5s
1415
failureLimit: 1
1516
provider:
@@ -24,7 +25,6 @@ spec:
2425
args: [exit 0]
2526
restartPolicy: Never
2627
backoffLimit: 0
27-
count: 1
2828
---
2929
# This AnalysisTemplate will run a Kubernetes Job every 5 seconds, with a 50% chance of failure.
3030
# When the number of accumulated failures exceeds failureLimit, it will cause the analysis run to

examples/cluster-analysis-templates.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
spec:
66
metrics:
77
- name: pass
8+
count: 1
89
interval: 5s
910
failureLimit: 1
1011
provider:
@@ -18,4 +19,4 @@ spec:
1819
command: [sh, -c]
1920
args: [exit 0]
2021
restartPolicy: Never
21-
backoffLimit: 0
22+
backoffLimit: 0

0 commit comments

Comments
 (0)