I have a SpringBoot application deployed in PCF scaled to 12 instances. One or two instances are going down. I want to restart those 2 instances instead of restarting the application automatically. How do you restart a single instance automatically in PCF when it is going down or when it crashed?
I am using the following command to restart a single instance manually:
cf restart-app-instance APP_NAME INDEX