Service gets restarted if it the services it depends on are stable.
Service does not get restarted if it is unstable.
Scale too many instances for a service that do not fit in the environment (this also happens if any of the instances are not healthy but it is more difficult to reproduce at will).
digitransit-deployer has logic that checks if a service or the depending services are healthy before doing a restart. However, it should only be checked if a the depending services are stable.