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

How to run more than one numberOfInstances with storageClass #2766

Open
Zia- opened this issue Sep 25, 2024 · 0 comments
Open

How to run more than one numberOfInstances with storageClass #2766

Zia- opened this issue Sep 25, 2024 · 0 comments

Comments

@Zia-
Copy link

Zia- commented Sep 25, 2024

Please, answer some short questions which should help us to understand your problem / question better?

  • Which image of the operator are you using? postgres-operator-1.13.0.tgz
  • Where do you run it - cloud or metal? Kubernetes or OpenShift? Bare Metal K8s
  • Are you running Postgres Operator in production? no
  • Type of issue? question

I'm using https://github.com/zalando/postgres-operator/blob/master/manifests/complete-postgres-manifest.yaml yaml to deploy my cluster on Bare Metal K8s.

Kindly help me define volume and additionalVolumes in this yaml so that I can assign different storageClass to each instance. I eventually want to run numberOfInstances: 2 and want to use different location for each instance. Currently, if I use

volume:
    size: 1Gi
    storageClass: standard-external

it doesn't support more than one instance as PVCs are not ReadWriteMany enabled.

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

1 participant