Fixed-%-split is a type of canary rollout strategy. It enables you to experiment while sending a fixed percentage of traffic to each version as shown below.
Platform setup
Follow these steps to install Iter8 and Knative in your K8s cluster.
apiVersion:iter8.tools/v2alpha2kind:Experimentmetadata:name:fixedsplit-expspec:# target identifies the knative service under experimentation using its fully qualified nametarget:default/sample-appstrategy:testingPattern:CanarydeploymentPattern:FixedSplitactions:loop:-task:metrics/collectwith:versions:-name:sample-app-v1url:http://sample-app-v1.default.svc.cluster.local-name:sample-app-v2url:http://sample-app-v2.default.svc.cluster.localfinish:# run the following sequence of tasks at the end of the experiment-if:CandidateWon()run:"kubectlapply-fhttps://raw.githubusercontent.com/iter8-tools/iter8/master/samples/knative/quickstart/candidate.yaml"-if:not CandidateWon()run:"kubectlapply-fhttps://raw.githubusercontent.com/iter8-tools/iter8/master/samples/knative/quickstart/baseline.yaml"criteria:requestCount:iter8-system/request-countobjectives:-metric:iter8-system/mean-latencyupperLimit:50-metric:iter8-system/latency-95th-percentileupperLimit:100-metric:iter8-system/error-rateupperLimit:"0.01"duration:maxLoops:3intervalSeconds:1iterationsPerLoop:1versionInfo:# information about app versions used in this experimentbaseline:name:sample-app-v1candidates:-name:sample-app-v2