Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-3787

Add Rollout Cancel option Deployment drop down in the console

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Workload Screens
    • 3
    • False
    • None
    • False
    • OCPSTRAT-1620 - Console: Customer Happiness (RFEs) for 4.18

      On the Deployment screen, a listing of Deployment are available.

      On each Deployment row, there are three vertical dots which open a drop-down with options you can perform on an individual Deployment.

      For example, currently available options are "Edit Pod count", "Start rollout", and "Pause rollouts".

      The request is to add "Cancel rollout" to this list which would essentially execute "oc rollout cancel deployment/<deploymentName>".

       

      3. Why does the customer need this? (List the business requirements here)

      When a rollout is started from the OpenShift console, the only option to cancel it is to use the CLI. As it's is currently possible to execute different actions for the Deployment rollout, it would be useful to be also available to cancel the rollout.  See https://github.com/openshift/api/blob/master/apps/v1/consts.go#L20-L23

      Also, add the same functionality to the Deployment.

       

      AC:

      • Add the "Cancel Rollout" item to the both kebab and action menu, during the new deployment rollout. Cancelling the deployment means that we need to update the deployment with 'openshift.io/deployment.cancelled=true' and 'openshift.io/deployment.status-reason=The deployment was cancelled by the user'  annotation.
      • Add cypress test for cancelling the rollout

       

      Note: We remove the DeploymentConfig path since this resource if deprecated.

              Unassigned Unassigned
              jcaiani@redhat.com Joseph Caiani
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: