artemiscloud / activemq-artemis-operator

Apache License 2.0
69 stars 63 forks source link

Allow configuring priorityClassName for broker deployment #837

Closed KevinFrommeltAtFanatics closed 7 months ago

KevinFrommeltAtFanatics commented 8 months ago

Describe the feature Add the ability to configure the priorityClassName for the broker pods. We would like to be able to set the priorityClassName to something other than the default.

[!TIP] Vote this issue reacting with :+1: or :-1:

brusdev commented 8 months ago

@KevinFrommeltAtFanatics you can customize the priorityClassName and other podSpec fields by using a strategic merge patch, for further details see custom mods via a strategic merge patch, i.e.

apiVersion: broker.amq.io/v1beta1
kind: ActiveMQArtemis
metadata: 
  name: artemis-broker
spec:
  resourceTemplates:
    - selector:
        kind: StatefulSet
      patch:
        kind: StatefulSet
        spec:
          template:
            spec:
              priorityClassName: high-priority
brusdev commented 7 months ago

This enhancement will be included in 1.2.0