-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PLAT-14531] Connection manager for k8s
Summary: Adds support to enable/disable connection pooling when creating a k8s universe or later via the configure YSQL API. How to enable/disable connection pooling and the API payloads are the same as in this diff: https://phorge.dev.yugabyte.com/D37470 Note: We can only use the hardcoded YSQL (5433) and internal YSQL ports (6433) for now. We don't have support to customise ports for k8s universes yet. Test Plan: Manually tested the following flows: 1. Created a normal k8s universe with no YSQL auth, enabled connection pooling via the configure YSQL API. 2. Created a universe with connection pooling enabled, ensured connection manger is up and running. 3. Created a universe with YSQL auth and connection pooling, ensured it works. 4. Created. a universe with no YSQL auth and no connection pooling, enabled connection pooling and YSQL auth via the configure YSQL API. Ensured it works correctly. Apart from this, Run UTs. Run itests. Reviewers: anijhawan, sneelakantan, vkumar Reviewed By: anijhawan Subscribers: svc_phabricator, yugaware Differential Revision: https://phorge.dev.yugabyte.com/D38409
- Loading branch information
Showing
7 changed files
with
65 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters