Skip to content

Add a job to pause deployments when upgrading

Hossein Pursultani requested to merge 1262-unicorn-pause-workaround-1 into master

This MR contains a workaround for the problem that is reported in #1262 (closed). It uses a Job that is hooked to pre/post-install to pause the unicorn and sidekiq Deployments.

It uses CNG kubectl image and invokes kubectl rollout pause. The Job may fail because either the Deployment does not exist or it's already been paused by the Operator.

Closes #1262 (closed)

Edited by Hossein Pursultani

Merge request reports