Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 917 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 917 Bytes

Welcome to orc-dev-cli

Orc-dev-cli gives developers a CLI tool called orc. Orc is used to interact with openshift osd clusters and the openshift addon RHOAM.

As this is a dev tool kude-admin access to the clusters is expected.

Installation

Easiest way to install orc is by using pip

pip install orc-dev-cli

Basic Commands

  • orc rhoam status Get the current state of an installed addon instances
  • orc config Open configuration file
  • orc cluster delete Delete cluster.
  • orc cluster login Get cluster kubeadmin login details.
  • orc cluster status Get basic state information on osd cluster

Shell Completion

Bash

  1. Create temporary bash script.
  2. Add _ORC_COMPLETE=bash_source orc > ~/.orc-complete.bash.
  3. Run script.
  4. Source the newly created ~/.orc-complete.bash in ~/.bashrc as follows . ~/.orc-complete.bash.
  5. Restart the shell to complete.