Maybe automation API? You have the same project and you take the number of nodes in as an input.
1st pulumi up: change image, bump node count by 3
2nd pulumi up: lower node count by 1
3rd pulumi up: lower node count by 1
4th pulumi up: lower node count by 1