0d285ce993
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> |
||
---|---|---|
.. | ||
category_test.go | ||
cli_test.go | ||
concierge_api_serving_certs_test.go | ||
concierge_availability_test.go | ||
concierge_client_test.go | ||
concierge_credentialissuer_test.go | ||
concierge_credentialrequest_test.go | ||
concierge_impersonation_proxy_test.go | ||
concierge_kubecertagent_test.go | ||
concierge_kubectl_test.go | ||
controllerinit_test.go | ||
e2e_test.go | ||
formposthtml_test.go | ||
kube_api_discovery_test.go | ||
kubeclient_test.go | ||
ldap_client_test.go | ||
leaderelection_test.go | ||
main_test.go | ||
rbac_test.go | ||
supervisor_discovery_test.go | ||
supervisor_healthz_test.go | ||
supervisor_login_test.go | ||
supervisor_secrets_test.go | ||
supervisor_storage_garbage_collection_test.go | ||
supervisor_storage_test.go | ||
supervisor_upstream_test.go | ||
whoami_test.go |