SUSE / caasp-salt

A collection of salt states used to provision a kubernetes cluster
Apache License 2.0
64 stars 29 forks source link

[3.0][bsc#1116049] don't fail timing out on a drain #719

Closed MaximilianMeister closed 5 years ago

MaximilianMeister commented 5 years ago

we want to ensure that the platform 'survives' even if an application is not 'drainable'

it already happened that some applications are getting stuck in a termination process and won't recover anymore. This can happen for various reasons (volume not detachable, podDisruptionBudget ...)

as we are using the drain during every update, we are likely to run into this issue multiple times per cluster

Signed-off-by: Maximilian Meister mmeister@suse.de (cherry picked from commit 73b87c4f7bac62678a009aff73257aa4399b8d5c)

Backport of https://github.com/kubic-project/salt/pull/709

jordimassaguerpla commented 5 years ago

This seems a trivial fix plus it was already reviewed and accepted in master.