Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to set resource pool minAvailable #1034

Merged
merged 4 commits into from
Mar 27, 2023
Merged

Conversation

marcosmamorim
Copy link
Contributor

@marcosmamorim marcosmamorim commented Mar 23, 2023

This PR add options to pool_status

usage: pool_status.py [-h] [--list] [--pattern [POOL_PATTERN]]
                      [--pool-name POOL_NAME] [--set-min SET_MIN]

List and update Resource Pools

optional arguments:
  -h, --help            show this help message and exit
  --list                Lists all pools. [default: True]
  --pattern [POOL_PATTERN]
                        Search pool by pattern
  --pool-name POOL_NAME
                        Pool Name
  --set-min SET_MIN     Min replica
  1. By default it will list all resources pools and settings
  2. Using --pattern parameter you can filter the results by resource pool name
  3. Update resource pool using --set-min <value> and --pool-name <pool_name>

A new virtual environment has created in prod on /home/ec2-user/virtualenvs/babylon-tools/

@marcosmamorim marcosmamorim merged commit 6c1dd84 into main Mar 27, 2023
@marcosmamorim marcosmamorim deleted the pool-status branch March 27, 2023 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants