-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added scheduling * added scheduling * added scheduling to vng template --------- Co-authored-by: yardenE <41858765+yardenE@users.noreply.github.com>
- Loading branch information
1 parent
7bd6dc1
commit 0f3ec14
Showing
4 changed files
with
30 additions
and
1 deletion.
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
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
23 changes: 23 additions & 0 deletions
23
api/services/ocean/aks/schemas/virtualNodeGroup-scheduling.yaml
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,23 @@ | ||
type: object | ||
description: > | ||
An object used to specify times when the virtual node group will turn off all its node pools. Once the shutdown time will be over, the virtual node group will return to its previous state. | ||
title: Ocean VNG AKS Scheduling | ||
properties: | ||
shutdownHours: | ||
type: object | ||
description: > | ||
An object used to specify times that the nodes in the virtual node group will be stopped. | ||
title: Shutdown Hours | ||
properties: | ||
timeWindows: | ||
type: array | ||
description: > | ||
The times that the shutdown hours will apply. Required if isEnabled is true. | ||
items: | ||
type: string | ||
example: "Sat:08:00-Sun:08:00" | ||
isEnabled: | ||
type: boolean | ||
example: true | ||
description: > | ||
Flag to enable or disable the shutdown hours mechanism. When False, the mechanism is deactivated, and the virtual node gorup remains in its current state. |