generated from ansible-collections/collection_template
-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add delete_emptydir_data to drain delete_options (#322)
Add delete_emptydir_data to drain delete_options SUMMARY Adds delete_emptydir_data option to k8s_drain.delete_options to evict pods with an emptyDir volume attached. ISSUE TYPE Feature Pull Request COMPONENT NAME k8s_drain ADDITIONAL INFORMATION Be gentle, this is my first pull request 😨 Basically adds the kubectl drain <node> --delete-emptydir-data feature, including tests. Reviewed-by: Abhijeet Kasurde <None> Reviewed-by: Jorn Eilander <None> Reviewed-by: None <None> Reviewed-by: None <None>
- Loading branch information
1 parent
50a1bd9
commit c3ecb64
Showing
4 changed files
with
111 additions
and
5 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
changelogs/fragments/322-Add-delete_emptydir_data-to-drain-delete_options.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
minor_changes: | ||
- k8s_drain - Adds ``delete_emptydir_data`` option to ``k8s_drain.delete_options`` to evict pods with an ``emptyDir`` volume attached (https://github.com/ansible-collections/kubernetes.core/pull/322). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters