Skip to content

Add topologySpreadConstraints configuration on pod deployment #20

Description

@kevin-chheang

Description

The chart currently allow deployment configuration with affinity, nodeSelector...

In my project, we decide to use topologySpreadConstraints as much as possible.
This chart doesn't handle topologySpreadConstraints.

Proposed Solution

In this file deploy/charts/managed-postgres-operator/templates/deployment.yaml
add

      {{- with .Values.topologySpreadConstraints }}
      topologySpreadConstraints:
        {{- toYaml . | nindent 8 }}
      {{- end }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions