#6289 fix: flyteadmin doesn't shutdown servers gracefully
Pull request opened by
lowc1012
## Tracking issue
Closes
#6274
## Why are the changes needed?
To handle SIGTERM properly, ensure cleanup of resources and provide smooth user experience
## What changes were proposed in this pull request?
Implement graceful shutdown for flyteadmin servers
## How was this patch tested?
### Labels
Please add one or more of the following labels to categorize your PR:
•
added: For new features.
•
changed: For changes in existing functionality.
•
deprecated: For soon-to-be-removed features.
•
removed: For features being removed.
•
fixed: For any bug fixed.
•
security: In case of vulnerabilities
This is important to improve the readability of release notes.
### Setup process
### Screenshots
## Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
## Related PRs
## Docs link
https://bito.ai#summarystart|
### Summary by Bito
This pull request enhances the flyteadmin servers by implementing a graceful shutdown mechanism with a configurable timeout for resource cleanup. It also improves error handling during gRPC server startup, enhancing overall service reliability.
flyteorg/flyte