Skip to main content

OpenShift infra automation

Project description

OSIA

OpenShift infra automation.

Goal

The tool aims to unified installer of OpenShift to various clouds which is easy to automate and use within CI.

To see necessary steps for OpenShift installation please see OpenShift documentation.

To see full documentation of osia please follow to Official documentation.

Installation

To get started with osia, just install available package from pypi:

$ pip install osia

Main features

  • Find empty region in aws to install opneshift on.
  • Find feasible network in OpenStack and allocate FIPs before installation happens.
  • Generate install-config.yaml from predefined defaults.
  • Store generated files for deletion to git repository and push changes right after the cluster is installed.
  • Manage DNS entries based on the installation properties and results.
  • Clean everything once the cluster is not needed.

Usage

The tool operates over directory which is expected to be git repository and where the service will store generated configuration and push it to the upstream repository of currently working branch.

Common configuration

The common configuraiton is done by yaml file called settings.yaml that should be located at CWD (root of the repository in most cases).

The configuration has following structure:

default:
  cloud:
    openstack:
      cloud_env: env1
      environments:
      - name: env1
        base_domain: ''
        certificate_bundle_file: ''
        pull_secret_file: ''
        ssh_key_file: ''
        osp_cloud: ''
        osp_base_flavor: ''
        network_list: []
      - name: env2
        base_domain: ''
        certificate_bundle_file: ''
        pull_secret_file: ''
        ssh_key_file: ''
        osp_cloud: ''
        osp_base_flavor: ''
        network_list: []
    aws:
      cloud_env: default
      environments:
      - name: default
        base_domain: ''
        pull_secret_file: ''
        certificate_bundle_file: ''
        ssh_key_file: ''
        worker_flavor: '' 
        list_of_regions: []
  dns:
    route53:
      ttl: 0
    nsupdate:
      server: ''
      zone: ''
      key_file: ''
      ttl: 0 
      use_ipv4: false

Every key here is overridible by the argument passed to the installer. For explanation of any key, please check he documentation below.

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

osia-0.2.0a13.tar.gz (23.3 kB view details)

Uploaded Source

Built Distribution

osia-0.2.0a13-py3-none-any.whl (37.1 kB view details)

Uploaded Python 3

File details

Details for the file osia-0.2.0a13.tar.gz.

File metadata

  • Download URL: osia-0.2.0a13.tar.gz
  • Upload date:
  • Size: 23.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for osia-0.2.0a13.tar.gz
Algorithm Hash digest
SHA256 81c62dc47bc4237c1e69f74e8807f7e62a581e3294399066fa5696158344130e
MD5 96585cca8df7f0c6a9ed4c536a49ec00
BLAKE2b-256 aebf4972d67f434c08ed5e3ac8707b4edb634ed65d5c69d559376a07a247c131

See more details on using hashes here.

File details

Details for the file osia-0.2.0a13-py3-none-any.whl.

File metadata

  • Download URL: osia-0.2.0a13-py3-none-any.whl
  • Upload date:
  • Size: 37.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for osia-0.2.0a13-py3-none-any.whl
Algorithm Hash digest
SHA256 a1a2fa286a78881f1b51c82d9d9b85017fcba09019ba97a59a24505a7a1f412a
MD5 fb0f4333e3675663125e2f0c4efc2268
BLAKE2b-256 d77a894fd16d680aae94122ba0037f2b64ee1e6fdedf0e430099875760dd0ee9

See more details on using hashes here.

Supported by

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