Skip to content

Commit

Permalink
FAQ:Zero downtime images cloudposse#397
Browse files Browse the repository at this point in the history
  • Loading branch information
patlachance committed May 16, 2020
1 parent 161df17 commit b2c0aa7
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions content/faq/how-achieve-zero-downtime-image.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: "How do we achieve image updates with zero downtime?"
description: "This is similar to scaling a cluster vertically."
tags:
- VM
- image
- kops
- updates
---

## Question

How do we achieve zero-downtime deploys of VM image updates?


## Answer

This is similar to scaling a cluster vertically. This can be done with zero downtime.

Basically, it requires setting the `KOPS_BASE_IMAGE` env to the new value, rebuilding the `kops` manifest, then redeploying by running the `kops rolling-update` command. See [here.](https://github.com/cloudposse/geodesic/blob/master/rootfs/templates/kops/default.yaml#L171)

Our instructions are [here.](https://docs.cloudposse.com/kubernetes-optimization/scale-cluster-vertically/)

We don’t presently build the `kops` images. Using Packer would be the strategy we would take.

0 comments on commit b2c0aa7

Please sign in to comment.