Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-3874

Allow configuration of readiness and liveness probes

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 1.1.0.Final
    • 1.0.0.Final
    • Operator
    • None
    • False
    • False
    • Undefined
    • ---
    • ---
    • 2020 Week 46-48 (from Nov 9)

    Description

      Right now the readiness and liveness probe parameters are hardcoded in the code - see https://github.com/kiegroup/kogito-cloud-operator/blob/master/pkg/infrastructure/services/probe.go . To increase the operator flexibility it should be good to allow specification of probe parameters by user, for example by using fields in CRD.

       

      logs :

      2020-11-11 17:16:56  | 2020-11-11 17:16:26  |        | data-index-58c9dd5f8c-2knmp.164693f26c3460b6                        | -     | spec.containers{data-index}                | Normal   | Started                 | -           | -                  | -                                     | Started container data-index                                                                                                                                                                                                  | 
      2020-11-11 17:17:18  | 2020-11-11 17:16:28  |        | data-index-58c9dd5f8c-2knmp.164693f2cd7fddc5                        | -     | spec.containers{data-index}                | Warning  | Unhealthy               | -           | -                  | -                                     | Liveness probe failed: Get "http://10.116.1.10:8080/health/live": dial tcp 10.116.1.10:8080: connect: connection refused                                                                                                      | 
      2020-11-11 17:17:26  | 2020-11-11 17:16:36  |        | data-index-58c9dd5f8c-2knmp.164693f4a6a4333c                        | -     | spec.containers{data-index}                | Warning  | Unhealthy               | -           | -                  | -                                     | Readiness probe failed: Get "http://10.116.1.10:8080/health/ready": dial tcp 10.116.1.10:8080: connect: connection refused                                                                                                    | 
      2020-11-11 17:17:18  | 2020-11-11 17:16:48  |        | data-index-58c9dd5f8c-2knmp.164693f7775ef2b5                        | -     | spec.containers{data-index}                | Normal   | Killing                 | -           | -                  | -                                     | Container data-index failed liveness probe, will be restarted   
      

      https://rhba-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/custom/job/ksuta/job/nightly-crc/34/artifact/operator/test/logs/full/error%20-%20Travel%20application%20without%20required%20Visa%20and%20build%20profile%20default%20-%20nouser-local-cucumber-5afa/events.log

      Attachments

        Issue Links

          Activity

            People

              vajain Vaibhav Jain
              ksuta Karel Suta
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: