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, KFServing and Prometheus in your K8s cluster.
apiVersion:iter8.tools/v2alpha2kind:Experimentmetadata:name:fixedsplit-expspec:target:flowersstrategy:testingPattern:A/BdeploymentPattern:FixedSplitactions:# when the experiment completes, promote the winning version using kubectl applyfinish:-if:CandidateWon()run:"https://raw.githubusercontent.com/iter8-tools/iter8/master/samples/kfserving/quickstart/promote-v1.yaml"-if:not CandidateWon()run:"kubectlapply-fhttps://raw.githubusercontent.com/iter8-tools/iter8/master/samples/kfserving/quickstart/promote-v2.yaml"criteria:rewards:# Business rewards-metric:iter8-kfserving/user-engagementpreferredDirection:High# maximize user engagementduration:intervalSeconds:5iterationsPerLoop:5versionInfo:# information about model versions used in this experimentbaseline:name:flowers-v1variables:-name:nsvalue:ns-baselinecandidates:-name:flowers-v2variables:-name:nsvalue:ns-candidate