Skip to content

K8SPG-645 turn on sidecar containers for pgbouncer #968

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Dec 11, 2024

Conversation

nmarukovich
Copy link
Contributor

@nmarukovich nmarukovich commented Dec 2, 2024

K8SPG-645 Powered by Pull Request Badge

CHANGE DESCRIPTION

Problem:
Sidecar containers for pgbouncer don't work by default

Cause:
We need to turn on PGBouncerSidecars variable

Solution:
Turn on it.

CHECKLIST

Jira

  • Is the Jira ticket created and referenced properly?
  • Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
  • Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

  • Is an E2E test/test case added for the new feature/change?
  • Are unit tests added where appropriate?

Config/Logging/Testability

  • Are all needed new/changed options added to default YAML files?
  • Are all needed new/changed options added to the Helm Chart?
  • Did we add proper logging messages for operator actions?
  • Did we ensure compatibility with the previous version or cluster upgrade process?
  • Does the change support oldest and newest supported PG version?
  • Does the change support oldest and newest supported Kubernetes version?

@nmarukovich
Copy link
Contributor Author

nmarukovich commented Dec 2, 2024

@egegunes @inelpandzic @pooknull I have a question here.
Is there any reason why we didn't turn on it by default before?
If yes, do we want to move it to cr option?
For instances it is turned on by default.
Crunchy suggested use env var

PGO_FEATURE_GATES="PGBouncerSidecars=true"

@hors
Copy link
Collaborator

hors commented Dec 2, 2024

@egegunes @inelpandzic @pooknull I have a question here. Is there any reason why we didn't turn on it by default before? If yes, do we want to move it to cr option? For instances it is turned on by default. Crunchy suggested use env var

PGO_FEATURE_GATES="PGBouncerSidecars=true"

@nmarukovich We need to have it by default.

@nmarukovich
Copy link
Contributor Author

@egegunes @inelpandzic @pooknull I have a question here. Is there any reason why we didn't turn on it by default before? If yes, do we want to move it to cr option? For instances it is turned on by default. Crunchy suggested use env var
PGO_FEATURE_GATES="PGBouncerSidecars=true"

@nmarukovich We need to have it by default.

So please approve in this case (=

pooknull
pooknull previously approved these changes Dec 3, 2024
Co-authored-by: Andrii Dema <a.dema@jazzserve.com>
@nmarukovich nmarukovich requested a review from pooknull December 11, 2024 12:28
@JNKPercona
Copy link
Collaborator

Test name Status
custom-extensions passed
custom-tls passed
demand-backup passed
finalizers passed
init-deploy passed
monitoring passed
one-pod passed
operator-self-healing passed
pitr passed
scaling passed
scheduled-backup passed
self-healing passed
sidecars passed
start-from-backup passed
tablespaces passed
telemetry-transfer passed
upgrade-consistency passed
upgrade-minor passed
users passed
We run 19 out of 19

commit: 0946780
image: perconalab/percona-postgresql-operator:PR-968-0946780d4

@hors hors merged commit 76b98e6 into main Dec 11, 2024
6 of 9 checks passed
@hors hors deleted the K8SPG-645_pgbouncer_sidecar branch December 11, 2024 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants