Skip to content

Latest commit

 

History

History
25 lines (24 loc) · 1.32 KB

README.md

File metadata and controls

25 lines (24 loc) · 1.32 KB

OpenshiftPool

an OpenShift On Openstack deployer

Getting Started

  1. Clone the project.
  2. Create the config.yaml file from the config template.
  3. Under the config directory, create another directory keys and under this directory create another directory called stack (so you'll have config/keys/stack directory). under this directory create the following files:
    • authorized_keys - This file should include all the authorized keys to provide SSH connection to the VMs.
    • id_rsa - The private key.
    • id_rsa.pub - The public key.
  4. Create a virtual env. and activate it. (python36 -m vent .env; . .env/bin/activate)
  5. Install requirements: pip install -Ur requirements.txt
  6. Now you can deploy cluster by using the cli.
    • Type python cli.py -h for help:
      usage: cli.py [-h] {create,deploy,delete} ...
      positional arguments:
        {create,deploy,delete}
                              operation
          create              Creating a cluster stack without deploy
          deploy              Deploying a cluster
          delete              Deleting a cluster
      optional arguments:
        -h, --help            show this help message and exit