Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.
/ noderecycler Public archive

Kills pre-emptible nodes in GCP before they're killed automatically

License

Notifications You must be signed in to change notification settings

playerme/noderecycler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drain and kill GCP's Pre-Emptible node in a GKE cluster before it's natural death time.

We do this for a few reasons:

  • Google only sends 30 seconds notice, which is not enough to drain all the pods in a node.
  • When starting a new pool of pre-emptible node, there's a higher chance that they get terminated in the same time (after 24h)

Dockerhub: https://hub.docker.com/r/splitmedialabs/noderecycler/tags/

Check source code to understand what need to be set-up