Skip to content

Fix coredns pdb preventing cluster deletion in integration tests#7496

Merged
yuxiang-zhang merged 1 commit intoeksctl-io:mainfrom
yuxiang-zhang:fix-coredns-cannot-be-evicted
Jan 23, 2024
Merged

Fix coredns pdb preventing cluster deletion in integration tests#7496
yuxiang-zhang merged 1 commit intoeksctl-io:mainfrom
yuxiang-zhang:fix-coredns-cannot-be-evicted

Conversation

@yuxiang-zhang
Copy link
Member

Description

The coredns addon now has a default Pod Disruption Budget (PDB), and draining the nodes simply times out trying to evict the coredns pods. 3 integration tests have been failing in the cleanup step, and this PR fixes them use of the --disable-nodegroup-eviction flag added in #4659 specifically for this purpose.

Checklist

  • Added tests that cover your change (if possible)
  • Added/modified documentation as required (such as the README.md, or the userdocs directory)
  • Manually tested
  • Made sure the title of the PR is a good description that can go into the release notes
  • (Core team) Added labels for change area (e.g. area/nodegroup) and kind (e.g. kind/improvement)

BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯

  • Backfilled missing tests for code in same general area 🎉
  • Refactored something and made the world a better place 🌟

@yuxiang-zhang yuxiang-zhang force-pushed the fix-coredns-cannot-be-evicted branch from 0c5a9ec to ce6e6e6 Compare January 23, 2024 16:54
Copy link
Member

@a-hilaly a-hilaly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you sir!

@yuxiang-zhang yuxiang-zhang changed the title Fix coredns pdb preventing cluster deletion Fix coredns pdb preventing cluster deletion in integration tests Jan 23, 2024
@yuxiang-zhang yuxiang-zhang merged commit ae510ae into eksctl-io:main Jan 23, 2024
@yuxiang-zhang yuxiang-zhang deleted the fix-coredns-cannot-be-evicted branch January 23, 2024 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants