Skip to content

Cluster affinity does not affect pooler pods #1441

@riskingh

Description

@riskingh
  • Which image of the operator are you using? e.g. registry.opensource.zalan.do/acid/postgres-operator:v1.6.1
  • Where do you run it - cloud or metal? Kubernetes or OpenShift? AWS K8s
  • Are you running Postgres Operator in production? yes
  • Type of issue? question

Hi! I have set up cluster with nodeAffinity so that it runs on separate nodes. StatefulSet for postgres pods contains nodeAffinity section and respects it, but Deployment for poolers (...-cluster-pooler, ...-cluster-pooler-repl) does not contain this section and it's pods are deployed on a random node. Is there any config option to force poolers to run with the same nodeAffinity?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions