osia


Nameosia JSON
Version 0.2.0a11 PyPI version JSON
download
home_page
SummaryOpenShift infra automation
upload_time2024-03-07 11:51:07
maintainer
docs_urlNone
authorMiroslav Jaros
requires_python>=3.8,<4.0
licenseApache-2.0
keywords openshift openstack aws automation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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](https://docs.openshift.com).

To see full documentation of `osia` please follow to [Official documentation](https://redhat-cop.github.io/osia).

## Installation

To get started with osia, just install available package from [pypi](pypi.org):

```bash
$ 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.


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "osia",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "OpenShift,OpenStack,AWS,automation",
    "author": "Miroslav Jaros",
    "author_email": "mirek@mijaros.cz",
    "download_url": "https://files.pythonhosted.org/packages/40/52/07346b28bc4918ba2b89d1e09a3bfdc7ffd93286b92f139bbc1bacf207f7/osia-0.2.0a11.tar.gz",
    "platform": null,
    "description": "# OSIA\n\nOpenShift infra automation.\n\n## Goal\n\nThe tool aims to unified installer of OpenShift to various clouds which is\neasy to automate and use within CI.\n\nTo see necessary steps for OpenShift installation please see [OpenShift documentation](https://docs.openshift.com).\n\nTo see full documentation of `osia` please follow to [Official documentation](https://redhat-cop.github.io/osia).\n\n## Installation\n\nTo get started with osia, just install available package from [pypi](pypi.org):\n\n```bash\n$ pip install osia\n```\n\n\n__Main features__\n\n* Find empty region in aws to install opneshift on.\n* Find feasible network in OpenStack and allocate FIPs before installation happens.\n* Generate `install-config.yaml` from predefined defaults.\n* Store generated files for deletion to git repository and push changes right after the cluster is installed.\n* Manage DNS entries based on the installation properties and results.\n* Clean everything once the cluster is not needed.\n\n\n\n\n## Usage\n\nThe tool operates over directory which is expected to be git repository and where the service will\nstore generated configuration and push it to the upstream repository of currently working branch.\n\n### Common configuration\n\nThe common configuraiton is done by yaml file called `settings.yaml` that should be located at\n`CWD` (root of the repository in most cases).\n\nThe configuration has following structure:\n\n```\ndefault:\n  cloud:\n    openstack:\n      cloud_env: env1\n      environments:\n      - name: env1\n        base_domain: ''\n        certificate_bundle_file: ''\n        pull_secret_file: ''\n        ssh_key_file: ''\n        osp_cloud: ''\n        osp_base_flavor: ''\n        network_list: []\n      - name: env2\n        base_domain: ''\n        certificate_bundle_file: ''\n        pull_secret_file: ''\n        ssh_key_file: ''\n        osp_cloud: ''\n        osp_base_flavor: ''\n        network_list: []\n    aws:\n      cloud_env: default\n      environments:\n      - name: default\n        base_domain: ''\n        pull_secret_file: ''\n        certificate_bundle_file: ''\n        ssh_key_file: ''\n        worker_flavor: '' \n        list_of_regions: []\n  dns:\n    route53:\n      ttl: 0\n    nsupdate:\n      server: ''\n      zone: ''\n      key_file: ''\n      ttl: 0 \n      use_ipv4: false\n```\n\nEvery key here is overridible by the argument passed to the installer.\nFor explanation of any key, please check he documentation below.\n\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "OpenShift infra automation",
    "version": "0.2.0a11",
    "project_urls": null,
    "split_keywords": [
        "openshift",
        "openstack",
        "aws",
        "automation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "785ee58e02702a096b683a42af7b7c86595ef8c581b566581245b602ea43c8dd",
                "md5": "58ba6f1deea73389215d5d86d80412f3",
                "sha256": "a72ae2d344149aaa705dc90b851237ecfb1fa047e6bdf64343d8868fbab9aaf2"
            },
            "downloads": -1,
            "filename": "osia-0.2.0a11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "58ba6f1deea73389215d5d86d80412f3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 36082,
            "upload_time": "2024-03-07T11:51:04",
            "upload_time_iso_8601": "2024-03-07T11:51:04.802622Z",
            "url": "https://files.pythonhosted.org/packages/78/5e/e58e02702a096b683a42af7b7c86595ef8c581b566581245b602ea43c8dd/osia-0.2.0a11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "405207346b28bc4918ba2b89d1e09a3bfdc7ffd93286b92f139bbc1bacf207f7",
                "md5": "75511361e45cdcd2d85aea9e9594e894",
                "sha256": "5962ab5d409a4e606256b9f6018d70ae8b133fafc867ebf2f4b6507d738ee839"
            },
            "downloads": -1,
            "filename": "osia-0.2.0a11.tar.gz",
            "has_sig": false,
            "md5_digest": "75511361e45cdcd2d85aea9e9594e894",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 22485,
            "upload_time": "2024-03-07T11:51:07",
            "upload_time_iso_8601": "2024-03-07T11:51:07.006596Z",
            "url": "https://files.pythonhosted.org/packages/40/52/07346b28bc4918ba2b89d1e09a3bfdc7ffd93286b92f139bbc1bacf207f7/osia-0.2.0a11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-07 11:51:07",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "osia"
}
        
Elapsed time: 0.26959s