Allow disabling k8s service for haproxy-replicas with a flag

Description

Kubernetes service haproxy-replicas is created by default for every newly provisioned cluster. It listens on port 3307 and sends the queries to all PXC nodes in a round-robin fashion.

Nothing is stopping users to use this service for writes, but that is dangerous and wrong because will generate a lot of certification conflicts and BF abort given it will distribute writes all over the cluster impacting on performance as well.

 

We will add a flag to allow users to disable this service it if needed. 

Environment

None

Smart Checklist

Activity

Done

Details

Assignee

Reporter

Labels

Needs QA

Yes

Needs Doc

Yes

Fix versions

Priority

Smart Checklist

Created January 6, 2021 at 12:51 PM
Updated March 5, 2024 at 6:00 PM
Resolved October 11, 2021 at 4:43 PM