feat(postgresql): add standalone PgBouncer component - #3430
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## release-1.0 #3430 +/- ##
===========================================
Coverage 0.00% 0.00%
===========================================
Files 69 70 +1
Lines 7275 7333 +58
===========================================
- Misses 7275 7333 +58 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
ldming
marked this pull request as ready for review
September 1, 2026 09:13
wangyelei
approved these changes
Sep 1, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
replicationtopology and add PgBouncer as an independent componentpgbouncer.componentImage.versions[]and require exactly one default versionUpgrade behavior
The final candidate was validated by upgrading the PostgreSQL Addon from 1.0.5 to 1.0.6 on KubeBlocks 1.0.3-beta.10.
postgresql-14-1.0.5and service version14.23.0pgbouncer-1.0.6with service version1.25.2and zero replicasPgBouncer runtime and parameters
NOT pg_is_in_recovery()andtransaction_read_only = 'off'max_client_connfrom 500 to 321 andpool_modefromsessiontotransactionthrough the KubeBlocks Parameter API completed successfullygot SIGHUP, re-reading config; its Pod UID, container ID, process ID, and restart count remained unchangedSHOW CONFIGreported the updated values and authenticated SQL continued to succeed after reloadmax_client_conn=0update was rejected by the CUE constraint and did not change the running configurationVerification
helm lint --strictand Helm render checksgit diff --checkAll runtime images in the k3d validation were pulled directly from the ApeCloud registry. No local image import was used.
Product and release boundaries
postgresaccount. A least-privilege authentication function and account migration remain separate security work.Related to apecloud/apecloud#20276.