kubepad icon indicating copy to clipboard operation
kubepad copied to clipboard

Allow fast task startups / kills

Open adersberger opened this issue 7 years ago • 2 comments

Currently youve to wait between button activations/deactivations until a deployment is fishished. Otherwise Kubepad can't deploy because the app is locked. We should implement a grace period where Kubepad waits for a few 100rds of ms for a new button hit and then batch them together.

adersberger avatar Aug 18 '16 08:08 adersberger

Improved in https://github.com/qaware/kubepad/commit/37343f8670e4b259cd1b4b2a6986c797f7ae4950

This works because when scaling up, a new Deployment is created for each new instance (e.g. 3->4, 4->5, 5->6). The force option allows new Deployments to cancel current deployments. This means that only the last of multiple deployment requests in a short period of time will have an effect.

voidc avatar Aug 18 '16 08:08 voidc

Does this also work when scaling down?

lreimer avatar Aug 19 '16 05:08 lreimer