Red Hat OpenShift do (odo)

A CLI tool for developers writing, building, and deploying applications on OpenShift. 

OpenShift Do helps you develop on OpenShift

OpenShift Do (odo) is a fast, iterative CLI for developers who write, build, and deploy applications on OpenShift. Odo (OpenShift Do) is an OpenShift command line tool that’s an open source project. It has a simple, extensible syntax that includes on-the-fly interactive help to construct the appropriate options for your commands.

Odo consolidates a series of separate steps to deploy your apps and make modifications. It can automatically check to ensure these changes have been correctly implemented and use the correct syntax. It replaces the oc command-line interface which required a deeper knowledge of OpenShift. Odo also uses the source-to-image (S2I) open-source project to automatically create container images from your source code with a single command line sequence, which automates and consolidates a series of previous manual steps.

Existing tools such as oc are more operations-focused and require a deep-understanding of Kubernetes and OpenShift concepts. odo abstracts away complex Kubernetes and OpenShift concepts for the developer, thus allowing developers to focus on what is most important to them: code.

  • Detects changes to local code and deploys it to the cluster automatically, giving instant feedback to validate changes in real-time.
  • Lists all available components and services from the OpenShift cluster.
  • Requires at least OpenShift v3.10.0, and Container Development Kit or Red Hat CodeReady Containers for OpenShift 4 for local clusters.
  • Simple syntax and design centered around concepts familiar to developers, such as project, application, and component.
  • Detects changes to local code and deploys it to the cluster automatically, giving instant feedback to validate changes in real-time.
  • No servers are required for its use, Odo runs entirely on a local client and supports MacOS, Windows and Linux.
  • Supports multiple languages and frameworks such as Node.js, Java, Ruby, Perl, PHP, and Python.
  • Obviates the need to use YAML code in many common circumstances.

Interactive tutorial: Developing with odo

 Use OpenShift Do (odo), a CLI tool for developers, to manage application components on the OpenShift Container Platform.

Interactive odo Tutorial

Lesson

Developing with odo

15 minutes | Beginner

Use OpenShift Do (odo), a CLI tool for developers, to manage application components on the OpenShift Container Platform.