Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-8771

Ability to use jolokia in readiness / liveness probes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • FIS 2.0
    • FIS 1.0 - OpenShift Fuse 3.1-GA
    • None
    • None
    • % %
    • FIS 2.0 Sprint 4

      Before the jolokia access was secured with a proxy certificate it was possible to use jolokia for readiness / liveness probe checks..

      See e.g. A-MQ readiness probe [1]

      curl -s -L -u ${AMQ_ADMIN_USERNAME}:${AMQ_ADMIN_PASSWORD} 'http://localhost:8161/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=*,service=Health/CurrentStatus' | grep -q '\"CurrentStatus\" *: *\"Good\"'"
      

      Such mechanism would be helpful for customer custom probes.

      This feature would probably require to have jolokia bound twice (one to 0.0.0.0 with certificate access and the other bound to some local address (127.0.0.1) with a different security setting (e.g. a password generated in the template)

      [1] https://github.com/jboss-openshift/application-templates/blob/ose-v1.1.0/amq/amq62-basic.json

              Unassigned Unassigned
              maschmid@redhat.com Marek Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: