|
|
|
|
|
by paranoidrobot
460 days ago
|
|
We have a number of concurrent issues. We don't want to kill in-flight requests - terminating while a request is outstanding will result in clients connected to the ALB getting some HTTP 5xx response. The AWS ALB Controller inside Kubernetes doesn't give us a nice way to specifically say "deregister this target" The ALB will continue to send us traffic while we return 'healthy' to it's health checks. So we need some way to signal the application to stop serving 'healthy' responses to the ALB Health Checks, which will force the ALB to mark us as unhealthy in the target group and stop sending us traffic. SIGUSR1 was an otherwise unused signal that we can send to the application without impacting how other signals might be handled. |
|