-
Notifications
You must be signed in to change notification settings - Fork 775
Description
Describe the feature
We are trying to use Flagger to manage multiple deployments of the same service across multiple k8s clusters. As the new k8s clusters may not be well tested yet, ideally we would like to only send a small percentage of traffic to the new deployment.
However, it looks like 8b758fd61 from #107 would set the primary replica to be at least 1 during initialization. So, let's say the old deployment has 3 replicas, then the new deployment will receive 25% of traffic, which can be a bit too high.
Proposed solution
If there is no strong reason why the default primary replica has to be at least 1, maybe we can make this configurable and allow 0 replica when creating the primary deployment.
Any alternatives you've considered?
Currently we have some rather complicated workflow to workaround this initialization behavior.