Uploaded image for project: 'Maistra'
  1. Maistra
  2. MAISTRA-985

Expose version in ServiceMeshControlPlane

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • maistra-1.0.1
    • None
    • operator
    • None
    • MAISTRA 1.0.1

      It would be good to expose version of Service Mesh in the ServiceMeshControlPlane CR. This will come handy during rolling upgrades when we're waiting for a new version and the upgrade to be finished

      Here's an example how it is exposed on Serverless' KnativeServing CR:

      status:
        conditions:
        - lastTransitionTime: "2019-09-30T10:31:32Z"
          status: "True"
          type: DependenciesInstalled
        - lastTransitionTime: "2019-09-30T10:32:10Z"
          status: "True"
          type: DeploymentsAvailable
        - lastTransitionTime: "2019-09-30T10:31:55Z"
          status: "True"
          type: InstallSucceeded
        - lastTransitionTime: "2019-09-30T10:32:10Z"
          status: "True"
          type: Ready
        version: 0.7.1
      

      When we do rolling upgrades the respective events and version together will signal the moment when the upgrade is finished. The sequence of events during rolling upgrade goes like this:

      status:
        conditions:
        - lastTransitionTime: "2019-09-30T10:31:32Z"
          status: "True"
          type: DependenciesInstalled
        - lastTransitionTime: "2019-09-30T10:32:10Z"
          status: "True"
          type: DeploymentsAvailable
        - lastTransitionTime: "2019-09-30T10:31:55Z"
          status: "True"
          type: InstallSucceeded
        - lastTransitionTime: "2019-09-30T10:32:10Z"
          status: "True"
          type: Ready
        version: 0.7.1
      
      ... ... ...
      
      status:
        conditions:
        - lastTransitionTime: "2019-09-30T10:31:32Z"
          status: "True"
          type: DependenciesInstalled
        - lastTransitionTime: "2019-09-30T10:33:17Z"
          message: Waiting on deployments
          reason: NotReady
          status: "False"
          type: DeploymentsAvailable
        - lastTransitionTime: "2019-09-30T10:31:55Z"
          status: "True"
          type: InstallSucceeded
        - lastTransitionTime: "2019-09-30T10:33:17Z"
          message: Waiting on deployments
          reason: NotReady
          status: "False"
          type: Ready
        version: 0.8.1
      
      ... ... ...
      
      status:
        conditions:
        - lastTransitionTime: "2019-09-30T10:31:32Z"
          status: "True"
          type: DependenciesInstalled
        - lastTransitionTime: "2019-09-30T10:33:33Z"
          status: "True"
          type: DeploymentsAvailable
        - lastTransitionTime: "2019-09-30T10:31:55Z"
          status: "True"
          type: InstallSucceeded
        - lastTransitionTime: "2019-09-30T10:33:33Z"
          status: "True"
          type: Ready
        version: 0.8.1
      

              rcernich1 Rob Cernich
              mgencur Martin Gencur
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: