config option to disable spawning / evacuate

Open
#75 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start by reading the configuration handling for server.yaml and pools.yaml, then trace where pool max values are used when spawning resources. Define how a global option should supersede each pool's max value and how the proposed evacuation behavior fits the request. Done means the option can temporarily prevent new resources across all pools without editing every pool section.

Written by the indexing model from the issue text.

Description

enhancement

If we want to (temporarily) disable spawning new resources, we need to edit /etc/resallocserver/pools.yaml and set max: 0 for each pool section. This is too cumbersome as we have 10 pools in Copr.

I would like to propose some boolean option into server.yaml or some main section in pools.yaml that would supersede the max value and temporarily disable spawning new resources.

Dominant language
Python
Stars
11
Forks
8
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from praiskup/resalloc

All issues in praiskup/resalloc

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.