-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: Pool rescale supports autoscale (#325)
* Pool rescale support forumla * Pool resize fixes * Fixes
- Loading branch information
1 parent
19facf8
commit 26c5da3
Showing
11 changed files
with
102 additions
and
35 deletions.
There are no files selected for viewing
This file contains 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,9 @@ | ||
<div class="slideout-form content-wrapper"> | ||
<h1>Resize your pool</h1> | ||
<p>You can manually resize the number of nodes in the pool</p> | ||
<bl-action-form [submit]="submit" [sidebarRef]="sidebarRef" [formGroup]="form"> | ||
<form *ngIf="pool" [formGroup]="form"> | ||
<div class="form-element"> | ||
<md-input-container> | ||
<input mdInput type="number" placeholder="Target Dedicated" formControlName="targetDedicated" min="0"> | ||
</md-input-container> | ||
</div> | ||
<bl-action-form [submit]="submit" [sidebarRef]="sidebarRef" [formGroup]="scale"> | ||
<form *ngIf="pool"> | ||
<bl-pool-scale-picker [formControl]="scale"> </bl-pool-scale-picker> | ||
</form> | ||
</bl-action-form> | ||
</div> |
This file contains 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 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 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 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { Dto, DtoAttr } from "app/core"; | ||
|
||
export class PoolEnableAutoScaleDto extends Dto<PoolEnableAutoScaleDto> { | ||
@DtoAttr() | ||
public autoScaleFormula?: string; | ||
|
||
@DtoAttr() | ||
public autoScaleEvaluationInterval?: moment.Duration; | ||
} |
This file contains 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 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