-
Notifications
You must be signed in to change notification settings - Fork 38.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flapping service handling #13225
Comments
We do not have any special handling for flapping that I know of. On Wed, Aug 26, 2015 at 12:14 PM, Evan Phoenix notifications@github.com
|
Where would it make most sense to add this? A couple of options I can think of:
|
I think it might be simpler to start with adding restart backoff to kubelet On Thu, Aug 27, 2015 at 8:52 AM, Kamal Marhubi notifications@github.com
|
The first part should already work (https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/dockertools/manager.go#L1719) we backoff based on the containers terminated time stamp (https://github.com/kubernetes/kubernetes/blob/master/pkg/api/types.go#L796) and the maxContainerBackoff (https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/kubelet.go#L84), so I think this boils down to the api change |
We should not add maxFailures. Backoff is the way to go. |
This is more of a question and perhaps a feature request. Does Kubernetes have support to deal with flapping (starting and stoping very quickly) services specially so that their flapping doesn't have a negative effect on the cluster? And if not, should it?
A negative effect could be:
The text was updated successfully, but these errors were encountered: