Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-708

Replace scripts in probes for Kie Server Image with REST calls

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Minor
    • 7.1.0.GA
    • 7.0.1.GA
    • Cloud, Kie-Server
    • OpenShift templates

    • 2018 Week 36-38

    Description

      For RHPAM Kie Server Image are used REST endpoints for liveness and readiness checks in template.
      Same checks should be used in RHDM templates.

      Old probes

                livenessProbe:
                  exec:
                    command:
                    - "/bin/bash"
                    - "-c"
                    - "/opt/eap/bin/livenessProbe.sh"
                readinessProbe:
                  exec:
                    command:
                    - "/bin/bash"
                    - "-c"
                    - "/opt/eap/bin/readinessProbe.sh"
      

      Probes from RHPAM templates

                livenessProbe:
                  exec:
                    command:
                    - "/bin/bash"
                    - "-c"
                    - "curl --fail --silent -u '${KIE_ADMIN_USER}:${KIE_ADMIN_PWD}' http://localhost:8080/services/rest/server/healthcheck"
                  initialDelaySeconds: 180
                  timeoutSeconds: 2
                  periodSeconds: 15
                  failureThreshold: 3
                readinessProbe:
                  exec:
                    command:
                    - "/bin/bash"
                    - "-c"
                    - "curl --fail --silent -u '${KIE_ADMIN_USER}:${KIE_ADMIN_PWD}' http://localhost:8080/services/rest/server/readycheck"
                  initialDelaySeconds: 60
                  timeoutSeconds: 2
                  periodSeconds: 30
                  failureThreshold: 6
      

      Attachments

        Issue Links

          Activity

            People

              dward-se-jboss David Ward
              jakubschwan Jakub Schwan
              Jakub Schwan Jakub Schwan
              Jakub Schwan Jakub Schwan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: