You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is an example of how an experiment might look with v2beta1 experiment API.
apiVersion: iter8.tools/v2beta1kind: Experimentmetadata:
name: hybrid-expspec:
target: default/sample-appactions:
loop:
- task: load-test-with-fortiowith:
resolve:
destinations: [sample-app-v1.default, sample-app-v2.default]timeoutSeconds: 20versionInfo:
- script: fortio load -json {{ FortioOutputFile }} http://sample-app-v1.default.svc.cluster.local
- script: fortio load -json {{ FortioOutputFile }} http://sample-app-v2.default.svc.cluster.local finish: # run the following sequence of tasks at the end of the experiment
- run: kubectl apply -f https://raw.githubusercontent.com/iter8-tools/iter8/master/samples/knative/quickstart/candidate.yamlif: CandidateWon()
- run: kubectl apply -f https://raw.githubusercontent.com/iter8-tools/iter8/master/samples/knative/quickstart/baseline.yamlif: not CandidateWon()backends:
endpoint: # information about the endpointurl: https://newrelic.comprovider: "New Relic"metrics:
- name: user-engagementdescription: "users will be attracted to experiences that are simple and intuitive"versionInfo:
- params: # params for version-1
- params: # params for version-2criteria:
rewards: # Business rewards
- metric: user-engagementpreferredDirection: High # maximize user engagementobjectives:
- metric: iter8-fortio/mean-latency # iter8-fortio prefix in metrics is reserved for Iter8's internal useupperLimit: 50
- metric: iter8-fortio/latency-95th-percentileupperLimit: 100
- metric: iter8-fortio/error-rateupperLimit: "0.01"requestCount: iter8-system/request-countduration:
maxLoops: 10intervalSeconds: 1versionNames: ["sample-app-v1", "sample-app-v2"]
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Here is an example of how an experiment might look with
v2beta1
experiment API.Beta Was this translation helpful? Give feedback.
All reactions