Skip to content

Comcast/cf-recycle-plugin

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.

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

cf recycle <APP NAME>

About

Cloud Foundry cli plugin for rolling restart of application instances

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages