ReplicationController hooks and events #2804
Labels
area/api
Indicates an issue on api area.
area/extensibility
area/workload-api/replicaset
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
priority/awaiting-more-evidence
Lowest priority. Possibly useful, but not yet enough support to actually get it done.
sig/apps
Categorizes an issue or PR as relevant to SIG Apps.
Capturing internal email and in-person discussions.
The choice of which pod to kill when a replication controller replica count is decreased (or the replication controller otherwise detects that it somehow has too many pods) could become fairly nuanced, and even application-specific (e.g., don't kill the current master in a master-elected service). One way in which we could make the policy extensible is to generate an event that indicates pods need to be killed and then wait some amount of time. That would provide an opportunity for a user-provider pod killer to make the choice.
That's not to say that we shouldn't make the default choice more intelligent over time (e.g., taking into account application readiness), but the default policy will never satisfy everyone.
Events when pods are actually killed and created would be useful, too.
The text was updated successfully, but these errors were encountered: