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

Con 31434 ocean aks be shutdown hours per vng api support part 3 release #685

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,6 @@ properties:
description: |
A maximum of 10 unique key-value pairs for VM tags in the virtual node group.
vmSizes:
$ref: "../../schemas/ocean-vmSizes.yaml"
$ref: "../../schemas/ocean-vmSizes.yaml"
scheduling:
$ref: "../../schemas/virtualNodeGroup-scheduling.yaml"
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,5 @@ properties:
A maximum of 10 unique key-value pairs for VM tags in the virtual node group.
vmSizes:
$ref: "../../schemas/ocean-vmSizes.yaml"
scheduling:
$ref: "../../schemas/virtualNodeGroup-scheduling.yaml"
2 changes: 2 additions & 0 deletions api/services/ocean/aks/schemas/ocean-virtualNodeGroup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ properties:
A maximum of 10 unique key-value pairs for VM tags in the virtual node group.
vmSizes:
$ref: "../schemas/ocean-vmSizes.yaml"
scheduling:
$ref: "../schemas/virtualNodeGroup-scheduling.yaml"
createdAt:
type: string
readOnly: true
Expand Down
23 changes: 23 additions & 0 deletions api/services/ocean/aks/schemas/virtualNodeGroup-scheduling.yaml
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.
Loading