ContainerImage.Pinniped/internal/concierge
Monis Khan 0d285ce993
Ensure concierge and supervisor gracefully exit
Changes made to both components:

1. Logs are always flushed on process exit
2. Informer cache sync can no longer hang process start up forever

Changes made to concierge:

1. Add pre-shutdown hook that waits for controllers to exit cleanly
2. Informer caches are synced in post-start hook

Changes made to supervisor:

1. Add shutdown code that waits for controllers to exit cleanly
2. Add shutdown code that waits for active connections to become idle

Waiting for controllers to exit cleanly is critical as this allows
the leader election logic to release the lock on exit.  This reduces
the time needed for the next leader to be elected.

Signed-off-by: Monis Khan <mok@vmware.com>
2021-08-30 20:29:52 -04:00
..
apiserver Ensure concierge and supervisor gracefully exit 2021-08-30 20:29:52 -04:00
impersonator Add leader election middleware 2021-08-20 12:18:25 -04:00
scheme Remove metav1.ExportOptions from scheme tests. 2021-04-09 13:00:50 -05:00
server Ensure concierge and supervisor gracefully exit 2021-08-30 20:29:52 -04:00