A tool which wraps the OpenShift command line tools to make upgrades easier
Project description
ocupgrader
Helper tool to automate upgrades of applications in OpenShift based on ocdeployer.
Getting Started
Details
- Requires OpenShift command line tools (the
oc
command), you should log in to your cluster before using this tool:
$ oc login https://api.myopenshift --token=*************
ocupgrader
relies on YAML file with task definitions located in current directory and calledocupgrader.yml
or located on path passed using-f
argument. There is an example how this file can look like.
Instalation
$ pip3 install --user ocupgrader
Usage
$ ocupgrader myproject list-tasks
$ ocupgrader myproject run maintenance-mode
$ ocupgrader myproject run status
$ ocupgrader myproject run single-component-status -p component=deploymentconfig-name
$ ocupgrader -f /path/to/ocupgrader.yml myproject run fixit
Debugging
$ OCDEPLOYER_LOG_LEVEL=INFO ocupgrader myproject run single-component-status -p component=deploymentconfig-name
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ocupgrader-0.1.0.tar.gz
(5.2 kB
view hashes)