Skip to content
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

Allow users to set the size of pxc equals to 1 through percona-xtradb-cluster-operator/deploy/cr.yaml #1733

Open
kevin-baas opened this issue Jun 16, 2024 · 1 comment

Comments

@kevin-baas
Copy link

Proposal

When I set pxc to equal 1 through percona-xtradb-cluster-operator/deploy/cr.yaml, it doesn't work

Use-Case

No response

Is this a feature you are interested in implementing yourself?

No

Anything else?

No response

@tombojer
Copy link

Deploying the cluster with only one node is working for me.
Because running the cluster with only one node is seen as an unsafe configuration you have to set allowUnsafeConfigurations to true.

From the docs:

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, with less than 2 ProxySQL or HAProxy Pods, or without TLS/SSL certificates (if false, unsafe parameters will be automatically changed to safe defaults)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants