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

Deployment of replication mariadb server #13

Closed
rashiga opened this issue Oct 14, 2020 · 3 comments
Closed

Deployment of replication mariadb server #13

rashiga opened this issue Oct 14, 2020 · 3 comments
Labels

Comments

@rashiga
Copy link

rashiga commented Oct 14, 2020

I am trying to deploy a Mariadb server with 1 master and 2 replicas. The database.yml is as follows:

apiVersion: mariadb.mariadb.com/v1alpha1
kind: MariaDB
metadata:
  name: example-mariadb
  namespace: example-mariadb
spec:
  masters: 1
  replicas: 2
  mariadb_password: CHANGEME
  mariadb_image: mariadb:10.5
  mariadb_pvc_storage_request: 1Gi

The statefulset is getting deployed with just one pod. I think replicas: 1 is hardcorded which is the reason this is happening.

@rashiga
Copy link
Author

rashiga commented Oct 21, 2020

@geerlingguy Am I missing something in the configuration? May you please give your valuable suggestions for this..
Thanks

@stale
Copy link

stale bot commented Jan 19, 2021

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@stale stale bot added the stale label Jan 19, 2021
@stale
Copy link

stale bot commented Feb 18, 2021

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

@stale stale bot closed this as completed Feb 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant