-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
2
-
False
-
None
-
False
-
Workaround Exists
-
-
-
In the Broker's OpenShift guide section 4.17.3.1. Controlling pod placement using node affinity rules the example provided results in the following error:
*The ActiveMQArtemis "artemis-dev" is invalid: spec.deploymentPlan.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution: Invalid value: "object": spec.deploymentPlan.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution in body must be of type array: "object"*
The examples provided:
spec:
deploymentPlan:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: zone
operator: In
values:
- emea
and
spec:
deploymentPlan:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
labelSelector:
- matchExpressions:
- key: name
operator: In
values:
- artemis-dev-app
topologyKey: topology.kubernetes.io/zone