runtime
runtime copied to clipboard
Not scaling down
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.
Confirmed this was working.