This project is mirrored from https://github.com/weaveworks/kured.git. Pull mirroring updated .
  1. 09 Mar, 2021 2 commits
    • Daniel Holbach's avatar
      Merge pull request #294 from jackfrancis/always-drain · 32e01a84
      Daniel Holbach authored
      always drain before reboot
      32e01a84
    • Jack Francis's avatar
      always drain before reboot · 93c8242b
      Jack Francis authored
      This changes the pre-reboot drain functionality so that it always runs, regardless of the value of the Unschedulable node property.
      
      Because kubectl drain is idempotent, we shouldn't have to worry about whether the node has already been set to Unschedulable (perhaps due to a prior, unsuccessful loop of the kured reboot cycle): we can run it over and over again. And because this drain func actually does a cordon + drain (and it only performs the drain if a cordon is successful), we can be sure that we aren't going to be thrashing this node w/ respect to scheduled pods.
      
      This also fixes an edge case: if the node has been marked Unschedulable out-of-band, but workloads remain Running on this node, kured will no longer reboot the node's underlying VM/machine while it is actively running pods.
      93c8242b
  2. 02 Mar, 2021 2 commits
  3. 19 Feb, 2021 1 commit
  4. 18 Feb, 2021 1 commit
  5. 16 Feb, 2021 1 commit
  6. 11 Feb, 2021 1 commit
  7. 10 Feb, 2021 2 commits
  8. 08 Feb, 2021 5 commits
  9. 07 Feb, 2021 1 commit
  10. 25 Jan, 2021 2 commits
  11. 12 Jan, 2021 1 commit
  12. 11 Jan, 2021 13 commits
  13. 08 Jan, 2021 6 commits
  14. 06 Jan, 2021 2 commits