Not entirely sure if this is possible but is there a way to start the specified cloud foundry instances in sequence rather than having them start concurrently?
Right now using the default cf push command with build-pack, 2 instances to be spun up. Would like to do this on the push if possible.
Any ideas if this is possible?
thanks,
Stefan
I needed to run a poller, one instance of my app only - turns out I could do this by using the CF_INSTANCE_INDEX
environment variable and ensure that it only ran on one instance.
This negated the need for a hackier solution of a sequenced start of the instances and a lock file.