open-cluster-management-io / community

open-cluster-management governance material.
https://open-cluster-management.io
Apache License 2.0
62 stars 23 forks source link

Placement enhancement: Abort policy spread based on failure rate #100

Open jparrill opened 2 years ago

jparrill commented 2 years ago

Feature Propossal

Abort policy spreading based on failure rate.

This is quite useful for customer with a big server farm

The feature will be configured in the placement CRD with these fields:

Real use case: You are deploying a new policy on 10 servers, in this field you put a 60% and the TimeLimit it's 10 Minutes, so if the FailureRateStop is above or equal to 60% after 10 minutes, it will stop of applying in the rest of the farm. After 10 min all of them are in non-compliant state, so the policy stays in non-compliant and it will not continue with the rest of the farm.