aws / aws/aws-node-termination-handler
Handle ELB instance deregistration
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Go
- Estrellas
- 1.8k
- Forks
- 288
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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 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.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
El issue no nombra archivos, tests ni puntos de entrada. Empieza rastreando el flujo de terminación y drenaje del nodo y, a continuación, identifica las APIs de AWS ELB y target-group involucradas; se considera completado cuando la instancia se ha dado de baja de todos los load balancers relevantes y se espera a que termine la baja antes de que continúe la terminación.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- aws, go, kubernetes
- Área
- cloud, devops
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100