Skip to content
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

K8SPG-614: Enable leader election #997

Merged
merged 5 commits into from
Jan 2, 2025
Merged

Conversation

inelpandzic
Copy link
Contributor

@inelpandzic inelpandzic commented Dec 24, 2024

K8SPG-614 Powered by Pull Request Badge

CHANGE DESCRIPTION

Problem:

Controller manager was configured with leader election disabled which caused issues when deploying multiple operator pods inside the same namespace.

Solution:

Configure controller manager with leader election enabled.

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?

@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: f9a9766
image: perconalab/percona-postgresql-operator:PR-997-f9a97662e

@inelpandzic inelpandzic merged commit 78c3d22 into main Jan 2, 2025
17 checks passed
@inelpandzic inelpandzic deleted the K8SPG-614-leader-election branch January 2, 2025 07:22
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