File tree Expand file tree Collapse file tree 3 files changed +12
-32
lines changed Expand file tree Collapse file tree 3 files changed +12
-32
lines changed Original file line number Diff line number Diff line change 1
1
apiVersion : v2
2
2
name : conformance
3
3
description : A Helm chart for Iter8 conformance experiment
4
-
5
- # A chart can be either an 'application' or a 'library' chart.
6
- #
7
- # Application charts are a collection of templates that can be packaged into versioned archives
8
- # to be deployed.
9
- #
10
- # Library charts provide useful utilities or functions for the chart developer. They're included as
11
- # a dependency of application charts to inject those utilities and functions into the rendering
12
- # pipeline. Library charts do not define any templates and therefore cannot be deployed.
13
4
type : application
14
-
15
- # This is the chart version. This version number should be incremented each time you make changes
16
- # to the chart and its templates, including the app version.
17
- # Versions are expected to follow Semantic Versioning (https://semver.org/)
18
- version : 0.1.0
19
-
20
- # This is the version number of the application being deployed. This version number should be
21
- # incremented each time you make changes to the application. Versions are not expected to
22
- # follow Semantic Versioning. They should reflect the version the application is using.
23
- appVersion : 0.1.0
5
+ version : 0.1.0
Original file line number Diff line number Diff line change 1
1
apiVersion : iter8.tools/v2alpha2
2
2
kind : Experiment
3
3
metadata :
4
- name : codeengine -experiment
4
+ name : my -experiment
5
5
spec :
6
6
# target identifies the knative service under experimentation using its fully qualified name
7
- target : codeengine-application
7
+ target : my-app
8
8
strategy :
9
9
# this experiment will perform a canary test
10
10
testingPattern : Conformance
11
11
actions :
12
12
start :
13
13
- task : metrics/collect
14
14
with :
15
- time : {{ .Values.Time }}
15
+ time : {{ .Values.Time | quote }}
16
16
versions :
17
17
- name : my-app
18
- url : {{ .Values.URL }}
18
+ url : {{ .Values.URL | quote }}
19
19
qps : {{ .Values.QPS }}
20
20
criteria :
21
21
requestCount : iter8-system/request-count
@@ -24,13 +24,13 @@ spec:
24
24
objectives :
25
25
- metric : iter8-system/mean-latency
26
26
# 1 second mean latency is acceptable
27
- upperLimit : {{ .Values.LimitMeanLatency }}
27
+ upperLimit : {{ .Values.LimitMeanLatency | quote }}
28
28
- metric : iter8-system/error-rate
29
29
# 2% error rate is acceptable
30
- upperLimit : {{ .Values.LimitErrorRate }}
30
+ upperLimit : {{ .Values.LimitErrorRate | quote }}
31
31
- metric : iter8-system/latency-95th-percentile
32
32
# 3 second 95th percentile tail latency is acceptable
33
- upperLimit : {{ .Values.Limit95thPercentileLatency }}
33
+ upperLimit : {{ .Values.Limit95thPercentileLatency | quote }}
34
34
duration :
35
35
intervalSeconds : 1
36
36
iterationsPerLoop : 1
Original file line number Diff line number Diff line change 1
1
# Default values for Iter8 conformance experiment.
2
- # This is a YAML-formatted file.
3
- # Declare variables to be passed into your templates.
4
2
5
3
# URL of the code engine application for which this conformance test is performed
6
4
URL : https://example.com
7
5
8
6
# How long will Iter8 collect metrics
9
- Time : " 5s "
7
+ Time : 5s
10
8
11
9
# Queries per second used by Iter8 for collecting metrics
12
10
QPS : 8.0
13
11
14
12
# Upper limit on the mean latency. Values beyond this limit are not acceptable
15
- LimitMeanLatency : ' " 1000.0" ' # 1 second latency on an average is ok. Not more.
13
+ LimitMeanLatency : 1000.0 # 1 second latency on an average is ok. Not more.
16
14
17
15
# Upper limit on the error rate. Values beyond this limit are not acceptable
18
- LimitErrorRate : ' " 0.02" ' # 2% error rate is ok. Not more.
16
+ LimitErrorRate : 0.02 # 2% error rate is ok. Not more.
19
17
20
18
# Upper limit on the 95th percentile tail latency. Values beyond this limit are not acceptable
21
- Limit95thPercentileLatency : ' " 3000.0" ' # 3 second tail latency on an average is ok. Not more.
19
+ Limit95thPercentileLatency : 3000.0 # 3 second tail latency on an average is ok. Not more.
You can’t perform that action at this time.
0 commit comments