In this release of the IBM Cloud CLI, we’ve introduced several important features and changes.
Support for IBM Cloud Load Balancer
We’ve added the following commands under sl loadbal namespace to support the IBM Cloud Load Balancer service, which is a replacement of the former local load balancer service:
list
: List active load balancersorder
: Order a load balancerorder-options
: List options for order a load balancerprotocol-add
: Add a load balancer protocolprotocol-delete
: Delete a protocolcancel
: Cancel an existing load balancerdetail
: Get load balancer detailshealth-edit
: Edit load balancer health checkl7member-add
: Add a L7 pool memberl7member-delete
: Remove a load balancer memberl7policies
: List L7 policiesl7policy-add
: Add an L7 policyl7policy-delete
: Delete an L7 policyl7pool-add
: Add an L7 pooll7pool-delete
: Delete an L7 pooll7pool-detail
: Show L7 pool detailsl7pool-edit
: Edit an L7 pooll7rule-add
: Add an L7 rulel7rule-delete
: Delete an L7 rulel7rules
: List l7 rules
Output CSV for billing commands
To facilitate billing reporting, we added --output csv
support for the following billing commands:
Validation of service instance ID in policy commands
We introduced validation of service instance ID input in policy commands under iam namespace. The changes are shown below:
access-group-policy-create, access-group-policy-update, user-policy-create, user-policy-update, service-policy-create, service-policy-update
:- Check whether or not
--service-instance
input is valid.
- Check whether or not
authorization-policy-create
:- Check whether or not
--target-service-instance-id
input is valid. - If
--source-service-account
is not specified, then check whether or not--source-service-instance-id
input is valid.
- Check whether or not
Additional deployment capabilities with the dev command
Manually deploy to Knative
With the latest dev commands, you can now deploy to Knative not only through a toolchain, but by using the deploy
command. To use this feature, you must first create or enable an app. You also must have a Kubernetes cluster that includes Knative. You can find instructions for this configuration here. After those prerequisites are met, you can deploy to Knative by typing the following command from the app folder:
The CLI will prompt you through the deployment.
Deploy to Red Hat OpenShift containers
Both toolchain and manual deployment to Red Hat OpenShift containers are now available. For deployment using a toolchain, the toolchain options that are now presented to you by create
and edit
include an additional option for RedHat OpenShift. You must have an OpenShift cluster available for the toolchain to succeed.
For manual deployment, the syntax is the same as for deploying to any other Helm-based Kubernetes cluster. To use this feature, you must first create or enable an app. You also must have an OpenShift cluster. After those prerequisites are met, you can deploy the app by typing the following command from the app folder:
The CLI will prompt you through the deployment.
Other notable changes
- cfee namespace is deprecated.
- Upgrade to Go language 1.14.7 to resolve some security vulnerabilities. Customers are encouraged to upgrade to this release.
Getting started with this release
- Follow these instructions for a new installation, which includes the IBM Cloud CLI and other tools.
- To update an existing IBM Cloud CLI installation, run
ibmcloud update
. - View the release notes: For a complete list of changes and defect fixes in this release, check out the release notes.
- Develop an app: Follow this tutorial to create or enable your first app.
- Feedback: Help us improve the IBM Cloud CLI by chatting with the developer team! Just sign up for IBM Cloud Technology Slack and join the #developer-tools channel. For questions about this blog, reach out to the author directly.