-
Bug
-
Resolution: Done
-
Undefined
-
None
-
AMQ 7.12.0.OPR.1.GA, AMQ 7.12.0.OPR.2.GA
-
False
-
None
-
False
-
-
Using Liveness probe with httpGet in the ActiveMQArtemis CR ends with a wrong configuration in the StatefulSet.
The StatefulSet doesn't create the pod, because the liveness probe is invalid.
The yaml:
apiVersion: broker.amq.io/v1beta1 kind: ActiveMQArtemis metadata: name: artemis-broker namcespace: amq spec: deploymentPlan: requireLogin: true livenessProbe: httpGet: path: /console port: 8161 initialDelaySeconds: 5 periodSeconds: 5 console: expose: true adminUser: admin adminPassword: password
This come back from statefulset events:
create Pod artemis-broker-ss-0 in StatefulSet artemis-broker-ss failed error: Pod "artemis-broker-ss-0" is invalid: spec.containers[0].livenessProbe: Required value: must specify a handler type