Skip to main content

RHOAI tool kit for managing and upgrading RHOAI

Project description

OpenShift Operator Installation Tool

Python Version OpenShift Compatible

A Python CLI tool for installing and managing OpenShift operators with parallel installation support.

📋 Table of Contents

✨ Features

  • Install single or multiple OpenShift operators
  • Parallel installation for faster deployments
  • Configurable timeouts and retries
  • Detailed logging to test.log
  • Supports:
    • Serverless Operator
    • Service Mesh Operator
    • Authorino Operator

📂 Project Structure

O
.
├── cli/
│   ├── args.py            # Command line argument parsing
│   └── commands.py        # CLI command implementations
├── logger/
│   └── logger.py          # Logging configuration
├── utils/
│   ├── operator/
│   │   └── operator.py    # Core operator logic
│   └── utils.py           # Utility functions
├── main.py                # CLI entry point
├── README.md              # This document
└── test.log               # Generated log file

🚀 Installation

  1. Clone the repository:
git clone https://github.com/mwaykole/O.git
cd O
  1. Install dependencies:
pip install -e .    
  1. Verify installation:
python main.py --help
💻 Usage
# Install single operator
python main.py --serverless

# Install multiple operators
python main.py --serverless --servicemesh

# Install kserve raw config
python main.py --rhoai --rhoai-channel=<channel> --rhoai-image=<image> --raw=True

# Install kserve Serverles config

python main.py --rhoai --rhoai-channel=<channel> --rhoai-image=<image> --raw=False --all

# Install all operators 
python main.py --all

# create dsc and dsci with rhoai operator installarion
python main.py --rhoai --rhoai-channel=<channel> --rhoai-image=<image> --raw=False --deploy-rhoai-resources

# Verbose output
python main.py --all --verbose

Advanced Options

# Custom oc binary path
python main.py --serverless --oc-binary /path/to/oc

# Custom timeout (seconds)
python main.py --all --timeout 900

# View logs
tail -f test.log

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rhoshift-0.1.3.2.tar.gz (28.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rhoshift-0.1.3.2-py3-none-any.whl (41.6 kB view details)

Uploaded Python 3

File details

Details for the file rhoshift-0.1.3.2.tar.gz.

File metadata

  • Download URL: rhoshift-0.1.3.2.tar.gz
  • Upload date:
  • Size: 28.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for rhoshift-0.1.3.2.tar.gz
Algorithm Hash digest
SHA256 2b6254431e0f50ce28ac47e25bb6c52de5b87cd8027601f45611b76781a63462
MD5 fbde4ac07d0226080cd1b1ea36305ca7
BLAKE2b-256 f6f37b26859ac4a421f5ae1f1c894053800f7fccfd594b78a76cc4476536a420

See more details on using hashes here.

File details

Details for the file rhoshift-0.1.3.2-py3-none-any.whl.

File metadata

  • Download URL: rhoshift-0.1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 41.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for rhoshift-0.1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 87ba5c6fde7a10f8a1e14789d70fed31d34b24a9edb1f5a42a5ea561da071829
MD5 101b0d9987c8a45caf6cdc39fbbdc560
BLAKE2b-256 20008353e0de37cd857dd18f546c0d84cea31a0996c46058e70629879f1ad765

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page