Skip to content

Clarify minimum pxc.size #151

Open
Open
@SlavikCA

Description

@SlavikCA

Here is comment about pxc.size:

| **Description** | The size of the Percona XtraDB cluster must be 3 or 5 for [High Availability](https://www.percona.com/doc/percona-xtradb-cluster/5.7/intro.html). other values are allowed if the `spec.allowUnsafeConfigurations` key is set to true |

has link to documentation, which said:

The recommended configuration is to have at least 3 nodes, but you can have 2 nodes as well

Similarly here:
https://github.com/percona/k8spxc-docs/blob/main/docs/operator.md?plain=1#L39

allowUnsafeConfigurations ... Prevents users from configuring a cluster with unsafe parameters such as starting the cluster with the number of Percona XtraDB Cluster instances which is less than 3, more than 5, or is an even number...

But here is another comment, which confuses:
https://github.com/percona/percona-helm-charts/blob/main/charts/pxc-db/README.md?plain=1#L52

PXC Cluster target member (pod) quantity. Can't even if allowUnsafeConfigurations is true

Does it mean "Can't be even"? Or what does it mean?
Should it be "Can't be even number if allowUnsafeConfigurations is false"?
Or "Can't be even number unless allowUnsafeConfigurations is true"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions