Skip to main content

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 called ocupgrader.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


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 details)

Uploaded Source

File details

Details for the file ocupgrader-0.1.0.tar.gz.

File metadata

  • Download URL: ocupgrader-0.1.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/2.7.16

File hashes

Hashes for ocupgrader-0.1.0.tar.gz
Algorithm Hash digest
SHA256 316d241d8f49be16df3d86c66bdd8fc7a168cf351a45da22ff5fb87df9ca0c44
MD5 e5f4fdc1cd1e5d5074622af54928d127
BLAKE2b-256 c3131dd9bb7111304a114eb23ee5f200df96c0ee6200253e007e4ac7b6920339

See more details on using hashes here.

Supported by

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