Gradual restart for Cloud Foundry apps

How to restart your Cloud Foundry deployed apps without downtine

Just recently I needed to test a change to an environment variable of an app running in Cloud Foundry without knowing whether this change would need to be persisted in the deployment manifest of that app. Instead of deploying the same app again just because of one environment variable (temporarily) changing, you can change the environment variable on the deployed app and restart it. However the default cf restart will cause your app to be temporarily unavailable.
Read along if you are interested in restarting Cloud Foundry deployed apps without causing a downtime. Continue reading “Gradual restart for Cloud Foundry apps”