Restrict running less than 3 pods of config servers if unsafe flag is not set

Description

As a user, I expect that I cannot run less than 3 pods of config servers 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.

Environment

None

Smart Checklist

Activity

Lalit Choudhary February 10, 2021 at 10:22 AM

Test:

Additionally, I tested allowUnsafeConfigurations for pxc and even after pxc size 2, but it's creating 3 pods for PXC with any error ignoring allowUnsafeConfigurations: false in cr.yaml

 

but still, I don't get any error even after starting pxc size:2, and it starts with 3 pxc pods,

As per doc: https://www.percona.com/doc/kubernetes-operator-for-pxc/operator.html

Lalit Choudhary February 10, 2021 at 10:11 AM

Hi

Thank you for the report.

Ref report for same:

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

 

Done

Details

Assignee

Reporter

Labels

Fix versions

Affects versions

Priority

Smart Checklist

Created December 3, 2020 at 2:35 PM
Updated March 5, 2024 at 5:01 PM
Resolved April 14, 2021 at 10:31 AM