aws / aws/aws-node-termination-handler
Handle ELB instance deregistration
- Lingua principale
- Go
- Stelle
- 1.8k
- Fork
- 286
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
We've noticed in our production environment that we have a need for something to deregister nodes from load balancers as part of the draining procedure, before the instance is terminated. We're currently using [lifecycle-manager](https://github.com/keikoproj/lifecycle-manager) for this, but it would be nice if this was handled by the AWS Node Termination Handler instead.
The reason this is needed is that if the instance is terminated before it's deregistered from an ELB, a number of connections will fail until the health check starts failing. This is particularly noticeable on ELBv2 (NLB+ALB), which seem to take several minutes to react, so we need to have fairly high timeout times on the health checks.
The behaviour we're looking for is that the node termination handler finds a list of classic ELBs and target groups that it's a member of, sends a deregistration request and then waits for the deregistration to finish before marking the instance as being ready to terminate.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
La issue non indica file, test o punti di ingresso. Inizia tracciando il flusso di terminazione e draining del nodo, quindi identifica le API AWS ELB e target-group coinvolte; il lavoro è completato quando l'istanza è stata deregistrata da tutti i load balancer pertinenti e si attende il completamento della deregistrazione prima che la terminazione proceda.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- aws, go, kubernetes
- Ambito
- cloud, devops
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100