Skip to content

stackhpc/beokay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Beokay

An environment management tool for Kayobe.

A Kayobe operator's environment is comprised of a few parts:

  • A Kayobe git repository checkout, installed into a Python virtual environment
  • A set of Kayobe configuration, typically version controlled
  • A set of Ansible role dependencies, installed from Ansible Galaxy
  • Kolla Ansible, installed into a Python virtual environment

It's easy for these dependencies to get out of sync, and can lead to not applying the correct configuration to a system.

Beokay provides a simple Python script that can be used to manage Kayobe environments. The hope is that this will encourage making these environments more disposable, leading to more reliable, repeatable operations.

Usage

Beokay has no dependencies outside of the Python standard library. The beokay.py script supports three subcommands:

create
Create a Kayobe environment
destroy
Destroy a Kayobe environment
run
Run a command in a Kayobe environment

The command provides help at the global level (beokay.py -h), and for each subcommand (beokay.py <command> -h).