Uploaded image for project: 'MicroShift'
  1. MicroShift
  2. USHIFT-1667

Port MicroShift health check to Go

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Done
    • Icon: Normal Normal
    • openshift-4.19
    • openshift-4.19
    • None
    • None
    • MicroShift healthcheck in Go
    • To Do
    • Quality / Stability / Reliability
    • OCPSTRAT-1134MicroShift robustness Initiative
    • 0% To Do, 0% In Progress, 100% Done
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • S

      Epic Goal

      • Port existing healthcheck script from bash to Go

      Why is this important?

      • Leverage static typing and compilation to minimize amount of unnoticed errors
      • Kubernetes is written in Go, so verifying status of Deployments/DaemonSets/Pods is native to Go
      • Better multithreading + improved error gathering
      • Capturing output of a command will not require discarding stderr
      • Healthcheck implemented in Go as part of `microshift` command will know best what to expect from MicroShift (what should be running, e.g. optional lvms - lvm2 pkg not installed)

      Scenarios

      1. ...

      Acceptance Criteria

      • CI - MUST be running successfully with tests automated
      • Release Technical Enablement - Provide necessary release enablement details and documents.
      • ...

      Dependencies (internal and external)

      1. ...

      Previous Work (Optional):

      Open questions::

      Done Checklist

      • CI - CI is running, tests are automated and merged.
      • Release Enablement <link to Feature Enablement Presentation>
      • DEV - Upstream code and tests merged: <link to meaningful PR or GitHub Issue>
      • DEV - Upstream documentation merged: <link to meaningful PR or GitHub Issue>
      • DEV - Downstream build attached to advisory: <link to errata>
      • QE - Test plans in Polarion: <link or reference to Polarion>
      • QE - Automated tests merged: <link or reference to automated tests>
      • DOC - Downstream documentation merged: <link to meaningful PR>

              pmatusza@redhat.com Patryk Matuszak
              pmatusza@redhat.com Patryk Matuszak
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: