Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-12120

Readiness probe with Minion in Kubernetes with health:check does not work

    XMLWordPrintable

    Details

    • Sprint:
      Horizon 2019 - September 11th, Horizon 2019 - September 18th, Horizon 2019 - September 25th, Horizon 2019 - October 2nd, Horizon 2019 - October 9th

      Description

      In Kubernetes the health:check command can be used to test if the Minion container is working.

      readinessProbe:
        exec:
          command:
          - sh
          - -c
          - 'if /opt/minion/bin/client health:check | grep --quiet "Everything is awesome"; then exit 0; else exit 1; fi'
          initialDelaySeconds: 60
          periodSeconds: 60
          timeoutSeconds: 20
      

      With the release of Minion 24.1.0 this test can't be used anymore and shows wrong results.

        Attachments

          Activity

            People

            • Assignee:
              indigo Ronny Trommer
              Reporter:
              agalue Alejandro Galue
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: