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 OpenShift 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: []
        credentials_file: 'path/to/file' # will still use 'default' profile
  dns:
    route53:
      ttl: 0
      credentials_file: 'path/to/file' # will still use 'default' profile
    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.0a17.tar.gz (23.2 kB view details)

Uploaded Source

Built Distribution

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

osia-0.2.0a17-py3-none-any.whl (37.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: osia-0.2.0a17.tar.gz
  • Upload date:
  • Size: 23.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for osia-0.2.0a17.tar.gz
Algorithm Hash digest
SHA256 9cfe9f1fcf501edc804c37de3a1fd671bff42c3a141ca50ffb2bc3a758ee45f3
MD5 c403bce398b23f8c3dd34488fb93452e
BLAKE2b-256 f006b8972d669c7277453f8dc5b491571faa298c017348e0fa368b1adfe687e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for osia-0.2.0a17.tar.gz:

Publisher: python-publish.yml on redhat-cop/osia

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: osia-0.2.0a17-py3-none-any.whl
  • Upload date:
  • Size: 37.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for osia-0.2.0a17-py3-none-any.whl
Algorithm Hash digest
SHA256 887b4f9f1e8c3998c65840e00ea5450bde58ce3ade0eedfb6e2050ef72a3bb9a
MD5 f76eae12d0d73d821bc86662908e5897
BLAKE2b-256 7114c4013ec1df623c38d53963f3050e4f1b50a914d4c536a625edc9e33a58f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for osia-0.2.0a17-py3-none-any.whl:

Publisher: python-publish.yml on redhat-cop/osia

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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