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 does one recreate a database? #2769

Open
gytis-ivaskevicius opened this issue Oct 4, 2024 · 0 comments
Open

How does one recreate a database? #2769

gytis-ivaskevicius opened this issue Oct 4, 2024 · 0 comments

Comments

@gytis-ivaskevicius
Copy link

How does one recreate a database?
We are semi-often required to recreate the database, how does one drop database and force the operator to recreate it?
As of right now if one drops the DB, it takes a while to pickup the changes. Alternatively, one may drop the DB and restart the leader (if I recall correctly it forces the operator to recreate the DB)

As of right now we just drop tables/types which is bothersome

  • Which image of the operator are you using? e.g. ghcr.io/zalando/postgres-operator:v1.11.0
  • Where do you run it - cloud or metal? Kubernetes or OpenShift? [AWS K8s ]
  • Are you running Postgres Operator in production? [yes]
  • Type of issue? [feature request/docs]

Sidenote:
This is an awful issue template 😓 lots to read, inconvenient to edit

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