Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KUBE-479: Eviction adjustments (#132)
* Remove roundTripTime addition to timeout. * Log addition to better identify steps * Cancel child contexts for deletion immediately instead of waiting for function to exit * Remove the PDB path as we decided to keep retrying on PDB errors, add comment about this * Extract the "batch action" in drainHandler as kubernetes_helper * Change helper a bit. Replace usage in drain handler. * Small renames * Add comment about timeout if we still have pods after all our hard work * Adjust delete_node_handler.go * Remove unused error/package * Adjust drain/delete to return an error when some pods failed so we can distinguish this case and continue * Add/adjust tests for drain handler * Make drain handler tests parallel * Small comment adjustment * Check for context cancellation before starting wait for termination * Fix test according to new expectation
- Loading branch information