topologySpreadConstraints - cniackz/public GitHub Wiki
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: ""