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

Is there possible to support watch multiple namespaces #1839

Open
cdmikechen opened this issue Apr 7, 2022 · 1 comment
Open

Is there possible to support watch multiple namespaces #1839

cdmikechen opened this issue Apr 7, 2022 · 1 comment

Comments

@cdmikechen
Copy link
Contributor

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

  • Which image of the operator are you using? registry.opensource.zalan.do/acid/postgres-operator:v1.7.1
  • Where do you run it - cloud or metal? Kubernetes or OpenShift? OpenShift 4.7/4.9
  • Are you running Postgres Operator in production? yes
  • Type of issue? question

I've run postgres-operator with watched_namespace: '*', and I want to change watched_namespace value to multiple namespaces like watched_namespace: 'rds1,rds2'.
After testing, I found that this method is not feasible. It seems that the current operator can only support * or single namespace.
So I would like to ask if there is any way for the operator to support listening to multiple namespaces at the same time?

@FxKu
Copy link
Member

FxKu commented Apr 7, 2022

You're right, it's not supported. Only one or every namespace. The current workaround is to use multiple operators with defined ownership.

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

No branches or pull requests

2 participants