At the recently held virtual Cloud Foundry North American Summit, the Cloud Foundry Foundation announced the release of version 7 of the Cloud Foundry Command Line Interface (CF CLI v7).
According to the Foundation, developers can use the cf CLI v7 to perform complex development and deployment techniques atop Cloud Foundry. The idea is to make it as quick and simple as ever to push code to production. The cf CLI v7 unlocks new application development workflows for users who require granular control of their applications and supports advanced deployment strategies by utilizing the Cloud Foundry v3 APIs, the Foundation said.
Both the new CLI tool and the v3 APIs are said to enable workflows by exposing package, droplet, build, and process control resources. The new version of the CLI and APIs also introduces new resources such as sidecars, manifests, and deployments.
Key features available through the cf CLI v7:
Rolling App Deployments: Push updates to apps without incurring downtime.
Running cf push Sub-Step Commands: Exercise granular control over the cf push process. These commands break down the cf push process into sub-steps that can run independently.
Pushing an App with Multiple Processes: Use a single command to push apps that run multiple processes. One example is a web app that has a UI process and a worker process.
Pushing Apps with Sidecar Processes: Run additional processes in the same container as your app.
Using Metadata: Add metadata to objects such as spaces and apps. This can help with operating, monitoring, and auditing.