Skip to content

Commit

Permalink
doc(examples): interval requires count
Browse files Browse the repository at this point in the history
doc: moved other count up next to interval for visibility
  • Loading branch information
meeech committed Apr 2, 2023
1 parent b84e039 commit fda4081
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/analysis-templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ metadata:
spec:
metrics:
- name: pass
count: 1
interval: 5s
failureLimit: 1
provider:
Expand All @@ -24,7 +25,6 @@ spec:
args: [exit 0]
restartPolicy: Never
backoffLimit: 0
count: 1
---
# This AnalysisTemplate will run a Kubernetes Job every 5 seconds, with a 50% chance of failure.
# When the number of accumulated failures exceeds failureLimit, it will cause the analysis run to
Expand Down
3 changes: 2 additions & 1 deletion examples/cluster-analysis-templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
spec:
metrics:
- name: pass
count: 1
interval: 5s
failureLimit: 1
provider:
Expand All @@ -18,4 +19,4 @@ spec:
command: [sh, -c]
args: [exit 0]
restartPolicy: Never
backoffLimit: 0
backoffLimit: 0

0 comments on commit fda4081

Please sign in to comment.