-
Notifications
You must be signed in to change notification settings - Fork 9
auto-scaling available machine pool size #356
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
Open
iljarotar
wants to merge
68
commits into
master
Choose a base branch
from
machine-pool-auto-scaling
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
68 commits
Select commit
Hold shift + click to select a range
709fba2
compare number of waiting machines to partition pool size and react a…
iljarotar 72197ff
poolsize validation, better db queries, pass function to fsm
iljarotar 4e72c2a
pool scaler package
iljarotar b7fceb3
test adjust number of waiting machines function
iljarotar 6105eb7
check if pool scaling is disabled
iljarotar 489f657
min and max waiting pool size; validation; tests
iljarotar 50b5771
linter
iljarotar ec55300
spec
iljarotar 086aea2
Update cmd/metal-api/internal/scaler/poolscaler.go
iljarotar df0da91
Update cmd/metal-api/internal/scaler/poolscaler.go
iljarotar a8fbaed
Update cmd/metal-api/internal/scaler/poolscaler.go
iljarotar beefa8d
scaler range type for partition and noop state for fsm
iljarotar 4d400cf
linter
iljarotar 28473cd
fix pool size validation
iljarotar f3f3e1f
fix calculatePoolSizeExcess function
iljarotar 79d82ce
spec
iljarotar 9faf66c
remove scaler range from partition; constructor for scaler range
iljarotar d1145fa
fix nil pointer
iljarotar 845a814
spec
iljarotar ad55fa0
OnTransition -> OnEnter
iljarotar 7951390
scaler range in partitionbase
iljarotar 4efb66e
scaler range in NewPartitionResponse
iljarotar 3b8cd78
partitionid and sizeid added to manager
iljarotar 06f269e
fix state value query filter
iljarotar 7f6a8c2
simplify scaler range
iljarotar e0dea0c
log error from pool scaler instead of returning it
iljarotar 031b2be
assert expectations in poolscaler test
iljarotar 5fd6fb4
Merge remote-tracking branch 'origin/master' into machine-pool-auto-s…
Gerrit91 e24bf71
log if no scaling required
iljarotar c018293
Merge branch 'machine-pool-auto-scaling' of github.com:metal-stack/me…
iljarotar ada1bbc
named log
iljarotar e8e6513
no scaling on alive events
iljarotar f0841a2
set machine state to available if shut down machine is powered on again
iljarotar 26d97a8
Merge branch 'master' of github.com:metal-stack/metal-api into machin…
iljarotar fea48f0
do not check machine liveliness, if machine is in shutdown state
iljarotar 65e2cf3
add sleeping flag to MachineState and remove SHUTDOWN MState
iljarotar 5fbd639
Merge branch 'master' of github.com:metal-stack/metal-api into machin…
iljarotar 2b607d8
remove rand.Seed
iljarotar 01e00d2
Merge branch 'master' of github.com:metal-stack/metal-api into machin…
iljarotar 7d6afb5
Merge branch 'master' of github.com:metal-stack/metal-api into machin…
iljarotar aa035a3
hibernation struct
iljarotar a4d4507
Save liveliness properly and fix linting issue. (#427)
Gerrit91 b0ba295
Fix integration test (#429)
Gerrit91 a944273
Merge branch 'master' of github.com:metal-stack/metal-api into machin…
iljarotar 049abbf
Do not use pool scaler in early machine lifecycle. (#430)
Gerrit91 0c633ef
liveliness typo
iljarotar 1d72977
add waiting and preallocated fields to waiting machine query
iljarotar cfd3e94
do not update machine liveliness while machine is shutting down
iljarotar f8e4515
fix nil pointer
iljarotar 9e42317
Add Dockerfile.dev to fasten up dev cycles. (#431)
Gerrit91 5a55a78
Merge remote-tracking branch 'origin/master' into machine-pool-auto-s…
Gerrit91 4809b4b
Merge master.
Gerrit91 6dfbda1
Merge branch 'master' into machine-pool-auto-scaling
iljarotar 4673673
Merge branch 'master' into machine-pool-auto-scaling
iljarotar fe95940
remove Is functions
iljarotar 634d513
Merge branch 'master' into machine-pool-auto-scaling
Gerrit91 a349801
merge main
iljarotar 37a6621
remove unused
iljarotar cf32c4b
allow setting empty strings for min and max
iljarotar 9b6d361
Merge remote-tracking branch 'origin' into machine-pool-auto-scaling
iljarotar 1d2e31d
make min and max required
iljarotar c053193
disallow pool size 0
iljarotar 5c60df0
power on shutdown machines if scaling is disabled
iljarotar 9acd28b
fix test
iljarotar 27b1348
add test to power on shutdown machines if scaling is disabled
iljarotar ebbea3e
only scale up when waiting transitions to installing
iljarotar 319e1d9
exclude hibernated machines from waiting machines query
iljarotar a1a972c
Merge branch 'master' into machine-pool-auto-scaling
vknabel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.