Adds .spec.topologySpreadConstraints which defines
.spec.topologySpreadConstraints.constraints (the list of TopologySpreadConstraints)
.spec.topologySpreadConstraints.disableOperatorDefaults (whether or not to disable operator default topology spread constraints)
The default topology spread constraints set by the operator is to preferably spread an OpenLibertyApplication instance across zones and nodes with a maxSkew of 1 (and if applicable, preferably spread a Semeru Cloud Compiler instance across zones and ndoes with a maxSkew of 1)
By default the flag is false, which means the operator sets its custom topology spread constraints by default
Adds PodAntiAffinity rules to repel pods away from the same zone/host.
Adds the service annotation service.kubernetes.io/topology-aware-hints: Auto and service.kubernetes.io/topology-mode: Auto to enable topology aware routing.
Adds
.spec.topologySpreadConstraints
which defines.spec.topologySpreadConstraints.constraints
(the list ofTopologySpreadConstraint
s).spec.topologySpreadConstraints.disableOperatorDefaults
(whether or not to disable operator default topology spread constraints)false
, which means the operator sets its custom topology spread constraints by defaultAdds PodAntiAffinity rules to repel pods away from the same zone/host.
Adds the service annotation
service.kubernetes.io/topology-aware-hints: Auto
andservice.kubernetes.io/topology-mode: Auto
to enable topology aware routing.