Skip to content

topologySpreadConstraints

Cesar Celis Hernandez edited this page Jun 19, 2023 · 1 revision

Hello guys, this is possible and it was implemented in Operator by https://github.com/mshanmu, PR and issue below:

I never tried this before until now but Daniel tested this as far as I can see in the above links. User can include the topologySpreadConstraints in the Tenant Spec like this:

apiVersion: minio.min.io/v2
kind: Tenant
spec:
  pools:
  - name: pool-0
    topologySpreadConstraints:
    - maxSkew: 0
      topologyKey: ""
      whenUnsatisfiable: ""
Clone this wiki locally