Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-14700

Switch from replica set to stateful set

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 8.9
    • Component/s: None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      WHY

      In the current Helm chart the SQ deployment is handled as a replica set with the size of 1 and a rolling upgrade strategy

      WHAT

      SQ is stateful and a rolling upgrade strategy introduces the risk of having more than 1 instance of SQ connected to the same database. In the worst case scenario this could lead to a corruption in the database

      HOW

      Switch the Deployment Type in the Helm chart from a replica set to a stateful set and remove the rolling upgrade policy

        Attachments

          Activity

            People

            Assignee:
            tobias.trabelsi Tobias Trabelsi
            Reporter:
            tobias.trabelsi Tobias Trabelsi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: