/Diego-Enabler

A CF CLI plugin to help you migrate apps from the DEA to Diego runtime

Primary LanguageGoApache License 2.0Apache-2.0

Diego-Enabler: CLI Plugin

This plugin is for CLI v6.13.0+. For CLI v6.12.4 and older, use the Diego-Beta plugin instead.

This plugin enables Diego support for an app running on Cloud Foundry. For more information about running apps on Diego, see the Migrating to Diego guide.

Full Command List

Command Usage Description
enable-diego cf enable-diego App_Name Migrate app to the Diego runtime
disable-diego cf disable-diego App_Name Migrate app to the DEA runtime
has-diego-enabled cf has-diego-enabled App_Name Report whether an app is configured to run on the Diego runtime
diego-apps cf diego-apps [-o ORG] Lists all apps running on the Diego runtime that are visible to the user
dea-apps cf dea-apps [-o ORG] Lists all apps running on the DEA runtime that are visible to the user
migrate-apps cf migrate-apps (diego | dea) [-o ORG] [-p MAX_IN_FLIGHT] Migrate all apps to Diego/DEA

Installation

To install the plugin from the CF Community repository:

$ cf add-plugin-repo CF-Community https://plugins.cloudfoundry.org/
$ cf install-plugin Diego-Enabler -r CF-Community

To install the plugin from GitHub:

First, copy the URL or download the binary for your OS/platform from the latest release page.

Then call cf install-plugin with either the URL you copied or the binary you downloaded:

  cf install-plugin [URL|binary]