odo: Developers CLI for OpenShift and Kubernetes

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

odo is a CLI that helps developers build on OpenShift and Kubernetes

odo is a command-line interface (CLI) that helps developers iterate their code on Red Hat OpenShift and Kubernetes. odo  is an open source project. The odo  interface 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 CLI, 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 the  oc CLI, are operations-focused and require a more thorough 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's most important to them: code.

odo features and highlights

Simple syntax and design centered around concepts familiar to developers, such as project, application, and component.

Detects changes to local code and deploys them 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.

Lists all available components and services from the OpenShift cluster.

Obviates the need to use YAML code in many common circumstances.

Supports multiple languages and frameworks such as Node.js, Java, Ruby, Perl, PHP, and Python.

Video demo

Use odo to create and deploy applications

Join Cedric Clyburn as he walks you through the basics of odo, an open source, straightforward, CLI-based tool that helps developers build applications. You'll learn about the simple syntax odo uses and its official support for technologies like Node.js and Java. You'll also discover how odo is client-based, which means all you need to get started is an OpenShift or Kubernetes cluster. Finally, you'll get an introduction to devfiles, a portable document that describes your development environment.

Coming soon: Interactive odo and CLI Tutorials