From b2c54a25e5d5eb80e2ccd92f17cc7677b988956a Mon Sep 17 00:00:00 2001 From: Dilip-Harish Date: Wed, 22 Jul 2026 20:03:13 +0530 Subject: [PATCH] vng shutdown hours support --- .../schemas/ocean-launch-spec-scheduling.yaml | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) 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 717ebdf72..c94f33938 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: