runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Not scaling down

Open cloudnautique opened this issue 2 years ago • 1 comments

Given this Acorn file: https://github.com/acorn-io/acorn-library/blob/f8ae79716c15b474146775725100dfc9cbff8077/mariadb/acorn.cue

built with:
acorn build . --restore-from-backup "not-a-real-backup" --backup-schedule "* * * * *" --recovery

Launched: acorn run [IMAGE]

Then scaled up: acorn update [APP-NAME] --replicas 3

Wait until it is stable.

Scale down: acorn update [APP-NAME] --replicas 1

In my setup, it launched a new mariadb-0 and deleted mariadb-1. I still had mariadb-2 as well.

cloudnautique avatar Jul 01 '22 21:07 cloudnautique

Confirmed this was working.

cloudnautique avatar Aug 03 '22 05:08 cloudnautique