Restrict running less than 2 pods of Haproxy if unsafe flag is not set

Description

As a user, I expect that I cannot run less than 2 pods of Haproxy unless allowUnsafeConfigurations flag is set to true.

There will be series of tickets to ensure that allowUnsafeConfigurations flag is not only controlling safe configuration of database clusters, but all other components as well.

 

Also we are going to set default size for HAProxy pods to 2, not 3.

Environment

None

Smart Checklist

Activity

Tomislav Plavcic July 13, 2021 at 7:59 AM

It seems to work, the only problem that I see is that the operator logs are flooded with messages every 5 seconds. So if you will want to have cleaner logs you'll have to correct your config to stop the messages.

Lalit Choudhary February 10, 2021 at 10:12 AM

Hi

Thank you for the report.

Ref report for same:

https://jira.percona.com/browse/CLOUD-599

Done

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Smart Checklist

Created December 3, 2020 at 2:28 PM
Updated March 5, 2024 at 6:01 PM
Resolved August 9, 2021 at 8:08 AM