From 8c805d90e22c841371c0d24592c04c20b6098915 Mon Sep 17 00:00:00 2001 From: shauli Date: Tue, 24 Oct 2023 11:11:21 +0300 Subject: [PATCH] adding provision model and draining timeout to gke import api --- .../ocean/gke/schemas/oceanGkeImportResponse.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/api/services/ocean/gke/schemas/oceanGkeImportResponse.yaml b/api/services/ocean/gke/schemas/oceanGkeImportResponse.yaml index 3be7c5c26..1ac5a7398 100644 --- a/api/services/ocean/gke/schemas/oceanGkeImportResponse.yaml +++ b/api/services/ocean/gke/schemas/oceanGkeImportResponse.yaml @@ -38,6 +38,21 @@ properties: $ref: "../schemas/ocean-capacity.yaml" compute: $ref: "../schemas/ocean-compute.yaml" + strategy: + type: object + title: Ocean Strategy + properties: + drainingTimeout: + type: integer + description: | + The draining timeout (in seconds) before terminating the instance. + If no draining timeout is defined, the default draining timeout will be used. + example: 60 + provisioningModel: + type: string + description: | + Define the provisioning model of the launched instances + enum: [ "SPOT", "PREEMPTIBLE" ] customLaunchSpecs: type: array items: