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.0a12.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

osia-0.2.0a12-py3-none-any.whl (36.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: osia-0.2.0a12.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.8 Linux/6.8.2-gentoo-x86_64

File hashes

Hashes for osia-0.2.0a12.tar.gz
Algorithm Hash digest
SHA256 e1661088dcb9b14b7132c2dc17278f42e8678e948c09711f63c6ebc7ee4af4ce
MD5 9b52ab44384e4266739cf0d1158787c4
BLAKE2b-256 62bf5c81ad0c8a36812f162ef86000e390c5e03f4627f5a53cde83fdc2c9ad93

See more details on using hashes here.

File details

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

File metadata

  • Download URL: osia-0.2.0a12-py3-none-any.whl
  • Upload date:
  • Size: 36.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.8 Linux/6.8.2-gentoo-x86_64

File hashes

Hashes for osia-0.2.0a12-py3-none-any.whl
Algorithm Hash digest
SHA256 a02e22fa1352af55289a8adad05b5d0d875471538dc24f401ea61397bd116537
MD5 d96454fbc83fddaf8a792dc7a154699e
BLAKE2b-256 7f8d74217fb5605d86b3811eccbde9c44da6f156d4896da2957c37e0e1d0dc9b

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