https://github.com/comcast/cf-recycle-plugin
Cloud Foundry cli plugin for rolling restart of application instances
https://github.com/comcast/cf-recycle-plugin
Last synced: about 1 year ago
JSON representation
Cloud Foundry cli plugin for rolling restart of application instances
- Host: GitHub
- URL: https://github.com/comcast/cf-recycle-plugin
- Owner: Comcast
- License: apache-2.0
- Created: 2016-03-24T20:16:45.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2020-02-28T13:15:19.000Z (over 6 years ago)
- Last Synced: 2025-04-11T21:07:18.936Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 1.8 MB
- Stars: 10
- Watchers: 11
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# cf-recycle-plugin
This Cloudfoundry cli plugin is to allow the recycling of application instances without interruption to the application availability.
The plugin works by restarting individual Application Instances(AI's) waiting for one to fully restart before moving on to the next.
### Prerequisites
The plugin was built and tested using the below versions
1. Golang 1.13.5
2. CloudFoundry CLI 6.48.0
### Installation from Source
Using your favorite versioning system, set variables for the major, minor, and patch versions.
```sh
git clone git@github.com:comcast/cf-recycle-plugin.git
go build -ldflags "-X main.Major=${major} -X main.Minor=${minor} -X main.Patch=${patch}" -o out/cf-recycle-plugin cf_recycle_plugin.go
cf install-plugin out/cf-recycle-plugin -f
```
### Download
Binaries are available in the releases section.
### Usage
```sh
cf recycle
```