Skip to main content

Pausing in-flight Kubernetes deployments in Spinnaker

Introduction

A user would like to pause a Kubernetes deployment via the Spinnaker UI directly. 

Prerequisites

Instructions

To achieve this via the Spinnaker UI

  • Click on the actively running deployment you would like to pause.* A menu displaying detailed information on that deployment will show up on the right-hand side.* Inside it, from the Deployment Actions drop-down - select Pause.  It is important to note that the button only appears while the deployment is running, and before it’s stable. Depending on the size, this may entail that it only shows up for a brief period of time during each pipeline execution. Because of this, a suggested workaround to pause it is to manually issue a kubectl rollout pause deployment.v1.apps/ command, as per the official Kubernetes documentation: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#pausing-and-resuming-a-deployment