postgres-operator-examples icon indicating copy to clipboard operation
postgres-operator-examples copied to clipboard

Help: How to assign a nodeSelector to the service

Open LiaoSirui opened this issue 3 years ago • 1 comments

Please report any bugs or feature requests specific to the PGO Examples that are in this repository. This includes anything around the examples for Kustomize and Helm.

For any bugs or feature request related to PGO itself, please visit https://github.com/CrunchyData/postgres-operator

LiaoSirui avatar Jan 28 '22 05:01 LiaoSirui

I'm not sure what the issue here is. If you're still experiencing trouble with this, please describe what you're trying to do and how it is not working.

benjaminjb avatar Oct 13 '22 19:10 benjaminjb

Closing since this one is missing a valid description.

andrewlecuyer avatar Oct 27 '22 20:10 andrewlecuyer

I guess, it can be achieved by appending this

      nodeSelector:
        kubernetes.io/os: linux

below https://github.com/CrunchyData/postgres-operator-examples/blob/e120488ca456b3bd517baa79cf81b8eede5fd2e1/kustomize/install/manager/manager.yaml#L54

and https://github.com/CrunchyData/postgres-operator-examples/blob/e120488ca456b3bd517baa79cf81b8eede5fd2e1/kustomize/install/manager/manager-upgrade.yaml#L36

mloskot avatar Mar 23 '23 13:03 mloskot