Skip to content

DataCueCo/do-node-tainter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Tainter for Digital Ocean Managed Kubernetes

Currently, it is not possible to taint new nodes in a node pool automatically. Deploy this project in your cluster and it'll watch for new nodes via cronjob.

Quick start

First modify these three files to fit what your k8s cluster:

  1. cronjob.yaml - adjust the frequency as you like, it's currently set to run every 15 mins.
  2. taint-nodes.sh - change the node pool names and change the taint to what you need.
  3. Change the namespace in node-tainter.yaml to what you need, I use default

Then, deploy!

kubectl create -f node-tainter.yaml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published