Skip to content

Pivotal Cloud Foundry CLI Plugin that allows for restaging of all or certain applications located with a targeted space with minimal downtime

License

Notifications You must be signed in to change notification settings

generalmotors/cf-restage-all

Repository files navigation

CF Restage All

Go Lang Version License

CF plugin for restaging all applications within a pcf space with minimal downtime.

This plugin was built to allow for mass droplet refreshes within a CF space. This plugin will search for all applications that meet search criteria and create a new droplet, map it to the application then restart.

Installation

This plugin requires the CF CLI. You can get the latest version of this plugin by visiting CF Community Plugins.

To install the plugin, use the following command

$ cf install-plugin -r CF-Community “cf-restage-all”

Usage

$ cf restage-all [--a #] [--s started|stopped] [--rt #] [--st #]

--a       Restage all applications that contain a droplet older than X days. Default is 0.

--s       Restage all applications in this state. [started|stopped]. Default is started.

--rt      Sets the app restart timeout (seconds) Default is 120.

--st      Sets the build restage timeout (seconds) Default is 120.

Contributing

Check out the contributing readme for information on how to contribute to the project.

License

This project is released under the MIT software license. More information can be found in the LICENSE file.

About

Pivotal Cloud Foundry CLI Plugin that allows for restaging of all or certain applications located with a targeted space with minimal downtime

Resources

License

Stars

Watchers

Forks

Packages

No packages published