Skip to content

K8SPXC-1538 Added Exposing HAproxy section #225

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 4 commits into from
Apr 14, 2025

Conversation

nastena1606
Copy link
Collaborator

Documented the setup inheritance by replica proxy

@@ -72,6 +72,24 @@ until the upgraded Percona XtraDB Cluster member becomes synced, and then
proceeds to upgrade the next member. When the upgrade is finished for all
the readers, then the writer Percona XtraDB Cluster member is finally upgraded.

## Exposing HAProxy

You can expose HAProxy, so that clients can connect to your database cluster from the outside. To do so, you need to set the service type `LoadBalancer` for the `haproxy-primary` service. Additionally, list the client IP addresses from which the load balancer should be reachable in the `loadBalancerSourceRanges` option.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is optional option

spec:
haproxy:
exposePrimary:
enabled: true

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we are deprecating the enabled field, so i think it should be removed

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In what release are we deprecating it? What is used instead?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nastena1606 nastena1606 requested a review from jvpasinatto April 10, 2025 11:34
Added a confif for replicas since exposeReplicas remains
@nastena1606 nastena1606 added the pending_release PR is ready to be included in the upcoming release label Apr 10, 2025
@it-percona it-percona temporarily deployed to K8SPXC-1538-Doc-haproxy-replica-config-inheritance - percona-mysql-operator-pxc PR #225 April 10, 2025 16:24 — with Render Destroyed
@nastena1606 nastena1606 merged commit 92eead7 into main Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending_release PR is ready to be included in the upcoming release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants