diff --git a/api/services/ocean/gke/schemas/ocean-launch-spec-scheduling.yaml b/api/services/ocean/gke/schemas/ocean-launch-spec-scheduling.yaml index 717ebdf7..c94f3393 100644 --- a/api/services/ocean/gke/schemas/ocean-launch-spec-scheduling.yaml +++ b/api/services/ocean/gke/schemas/ocean-launch-spec-scheduling.yaml @@ -1,8 +1,29 @@ type: object description: > - An object used to define scheduled tasks such as a manual headroom update. + An object used to define scheduled tasks such as a manual headroom update or a VNG-level shutdown window. title: Ocean Scheduling properties: + shutdownHours: + type: object + description: > + An object used to specify times that the nodes in the virtual node group will be taken down. + properties: + isEnabled: + type: boolean + description: > + Flag to enable or disable the shutdown hours mechanism. When False, the mechanism is + deactivated, and the virtual node group remains in its current state. + example: true + timeWindows: + type: array + required: true + description: > + The times that the shutdown hours will apply. + items: + type: string + example: + - "Mon:00:30-Mon:23:00" + - "Tue:06:30-Tue:23:00" tasks: type: array items: