Skip to content

Commit

Permalink
adding provision model and draining timeout to gke import api
Browse files Browse the repository at this point in the history
  • Loading branch information
shaulib committed Oct 24, 2023
1 parent ca80372 commit 8c805d9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions api/services/ocean/gke/schemas/oceanGkeImportResponse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8c805d9

Please sign in to comment.