aws / aws/aws-node-termination-handler
Configure behavior per node through annotations
- Vorherrschende Sprache
- Go
- Sterne
- 1.8k
- Forks
- 286
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
In clusters with multiple ASGs user for different types of workloads, it would be nice to be able to configure more of the NTH behavior through annotations rather than globally for the nodes the given daemonset is running on.
Cluster Autoscaler already has something similar where one can add annotations on nodes and pods preventing evictions/downscale.
For our use case, annotations for whether to cordon or drain is enough (both on maintenance events and spots). But I can imagine some may want something like the safe-to-evict annotation on pod level too.
Beitragsleitfaden
Rechercherichtung
Lies das bestehende Verhalten von node-termination-handler für cordon und drain während Wartungsereignissen und Spot-Unterbrechungen, und vergleiche anschließend seine globale Konfiguration mit Kubernetes-Knotenannotationen und den Annotation-Konventionen von Cluster Autoscaler. Definiere die unterstützten Annotationen auf Knoten- und Pod-Ebene, ihre Priorität und das Verhalten für jedes Ereignis; abgeschlossen bedeutet dokumentiertes und getestetes Verhalten pro Knoten, ohne Änderungen an nicht verwandten Knoten.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- aws, go, kubernetes
- Bereich
- cloud, devops, infrastructure
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100