This binary will read kubernetes configuration by checking default locations for kubectl
and then
apply the deploy=groupN
label to all pods that feature the app=sfu
label.
There are four groups currently:
group1
will be applied to ~10% of podsgroup2
will be applied to ~30% of podsgroup3
will be applied to ~30% of podsgroup4
will be applied to the rest of pods (~30%)
We are using a statefulSet deployment in combination with OnDelete update strategy.
To delete the deployment in batches we are applying labels, splitting pods in groups.