This is a cache of https://docs.openshift.com/container-platform/4.5/cli_reference/developer_cli_odo/odo-release-notes.html. It is a snapshot of the page at 2024-11-23T00:35:40.855+0000.
odo release notes - Developer <strong>cli</strong> (odo) | <strong>cli</strong> tools | OpenShift Container Platform 4.5
×

Notable changes and improvements in odo

  • The --devfile flag is added to odo create. Run odo create <component name> --devfile <devfile path> to specify your devfile location. This flag is only available in the Experimental Mode. See Technology Preview features to learn how to enable it.

  • Dynamic registry support. Now you can configure your own registries with the following commands:

    # Add a registry to the registry list
    odo registry add <registry name> <registry URL>
    
    # List a registry in the registry list
    odo registry list
    
    # Delete a registry from the registry list
    odo registry delete <registry name>
    
    # Update a registry in the registry list
    odo registry update <registry name> <registry URL>
    
    # List a component with a corresponding registry
    odo catalog list components
    
    # Create a component that is hosted by a specific registry
    odo create <component type> --registry <registry name>
  • The --starter flag is added to odo create. Run odo create nodejs --starter <project-name> to download the source code of a project specified in the devfile. If no project name is specified, odo downloads the first one.

  • The --context flag is added to odo push. With --context, you can trigger odo push from outside the source code directory. Run odo push --devfile <path to the devfile> --context <directory with your component> to specify the directory of your component.

  • Performance improvement for odo catalog list components when using the devfiles.

  • The --now flag is added for odo url delete when using the devfiles.

  • odo url delete --now now works with the devfiles.

  • The --debug flag now works with the devfiles.

  • Added machine-readable output for listing Operator-backed services. Run odo catalog list services -o json to display information about Operators and services in JSON format.

  • Added machine-readable output for debugging. Run odo debug info -o json to display the debugging information in JSON format.

  • Added machine-readable output for odo push. Run odo push -o json to display event notifications in JSON format.

Getting support

For Documentation

If you find an error or have suggestions for improving the documentation, file an issue in Bugzilla. Choose the OpenShift Container Platform product type and the Documentation component type.

For Product

If you find an error, encounter a bug, or have suggestions for improving the functionality of odo, file an issue in Bugzilla. Choose the Red Hat odo for OpenShift Container Platform product type.

Provide as many details in the issue description as possible.

Known issues

  • Bug 1760574 A deleted namespace is listed in the odo project get command.

  • Bug 1760586 The odo delete command starts an infinite loop after a project is deleted and a component name is set.

  • Bug 1760588 The odo service create command crashes when run in Cygwin.

  • Bug 1760590 In Git BASH for Windows, the odo login -u developer command does not hide a typed password when requested.

  • Bug 1783188 In a disconnected cluster, the odo component create command throws an error …​tag not found…​ despite the component being listed in the catalog list.

  • Bug 1761440 It is not possible to create two Services of the same type in one project.

  • Bug 1821643 odo push does not work on the .NET component tag 2.1+.

    Workaround: specify your .NET project file by running:

    $ odo config set --env DOTNET_STARTUP_PROJECT=<path to your project file>

Technology Preview features odo

  • odo debug is a feature that allows users to attach a local debugger to a component running in the Pod. To learn more, see Debugging applications in odo.

odo debug is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.

For more information about the support scope of Red Hat Technology Preview features, see https://access.redhat.com/support/offerings/techpreview/.

  • Devfile support. With odo, you can create and deploy your applications using the devfiles. To learn more, see Creating applications by using devfiles. To access this feature, you must enable Experimental Mode with odo preference set experimental true.

    To see the list of currently supported devfile components, run odo catalog list components.

Devfile support is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.

For more information about the support scope of Red Hat Technology Preview features, see https://access.redhat.com/support/offerings/techpreview/.

Operators support is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.

For more information about the support scope of Red Hat Technology Preview features, see https://access.redhat.com/support/offerings/techpreview/.