WARNING -- THIS IS NOT PRODUCTION READY. NO TESTS. YOU'LL SINK.
Davy Jones
This is an "operator" (not really, since there are no CRDs) that will watch for specified DaemonSets and sink taint ships nodes to the bottom of the sea to prevent other deployments from running on them.
This project is very similar to uswitch/nidhogg, but I wanted to try writing it myself, and without using (the awesome) kubebuilder project (that nidhogg uses.)
Configuration is provided in YAML and by default should exist at /davyjones.yaml
.
Recommendation is to store it as a ConfigMap and mount it at the default location.
---
nodeLabels:
- label: node-role.kubernetes.io/general-worker
value: true
evict: true #should nodes be kicked off?
daemonsets:
- namespace: kiam
name: kiam-agent