_# EA Utilities
Validate if all the requirements for OpenShift installations described in this guide are accomplished and correctly configured, manage AWS services through the CLI and manage cluster's tools, such as Elasticsearch.
Clone this project or just download the .*py
file.
- Python 3.x+
$ python3 init.py # for AWS, Docker and OpenShift management
$ python3 es.py # for Elasticsearch indexes cleaning (WIP)
Option | Description |
---|---|
--help | Get all the available options |
--version | Show program's version |
--aws {login,logout,set-profile,get-profile,get-current-profile,purge-images,purge-images-all,list-images,version,create-repo,delete-repo} | AWS CLI login and logout functions, purge-images on a specified AWS repo and profile configuration, create-repo and delete-repo to manage ECR repos |
--docker {version} | Docker CLI functions |
--podman {version} | Podman CLI functions |
--oc {version} | OpenShift CLI functions |
--s2i {version} | S2I CLI functions |
--test {system,cluster} |
Check whether all the requirements have been implemented, depending if you want to test your local system or a cluster solution |
For more information on the commands and options, run the following:
python3 init.py --help
- Adding Podman support_