odo: OpenShift CLI for Developers

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

odo is a CLI that helps developers build on OpenShift

odo is a fast, iterative CLI for developers who write, build, and deploy applications on OpenShift. odo  is 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.The  odo  CLI abstracts away complex Kubernetes and OpenShift concepts for the developer, thus allowing developers to focus on what is most important to them: code.

odo Features & Highlights

  • 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

Are you stuck with the burden of do-it-yourself operations? Get un-stuck!

The command line tool 'odo' (OpenShift Do) gives developers the tools they need to develop Cloud Native applications without the overhead of having to learn dozens of commands.

Interactive odo and CLI Tutorials

Lesson

Developing with odo

10 minutes | Beginner

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

Lesson

Build and deploy applications with odo

15 minutes | Beginner

Get familiar with OpenShift Do (odo) and how to build and deploy applications on the OpenShift Container Platform.

Lesson

Develop a PatternFly React donut chart

10 minutes | Beginner

Learn how to implement a React donut chart.

Lesson

Using the CLI to Manage Resource Objects

15 minutes | Beginner

Use the oc command line tool to determine what resource objects have been created related to your application, and how you can query or update them.