zalando / zalando/postgres-operator
Is there possible to support watch multiple namespaces
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 5.2k
- Forks
- 1.1k
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 3
Description
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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the operator's watched_namespace configuration and the namespace-watching setup for Kubernetes and OpenShift. Check how wildcard and single-namespace values are handled, then determine the expected behavior for multiple namespaces and verify it with focused operator tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes, postgresql
- Domain
- databases, devops, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100