Skip to content

Commit

Permalink
DOC-2678-API-add-startup-taints-in-ocean-and-vng-objects (#709)
Browse files Browse the repository at this point in the history
  • Loading branch information
guybarman authored Jan 5, 2025
1 parent 2c84cea commit afef614
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
25 changes: 25 additions & 0 deletions api/services/ocean/aws/schemas/ocean-compute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,28 @@ properties:
minimum: 60
default: 120
example: 60
startupTaints:
type: array
description: |
Temporary taints applied to a node during its initialization phase.
For a startup taint to work, it must also be set as a regular taint
in the userData for the cluster.
items:
type: object
properties:
key:
type: string
description: |
Set startup taint key.
value:
type: string
description: |
Set startup taint value.
effect:
type: string
description: |
Set startup taint effect.
example:
- key: node.cilium.io/agent-not-ready
value: true
effect: NoSchedule
25 changes: 25 additions & 0 deletions api/services/ocean/aws/schemas/oceanClusterLaunchSpec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -394,3 +394,28 @@ properties:
$ref: "./ocean-launch-spec-scheduling.yaml"
instanceMetadataOptions:
$ref: "./launchSpecInstanceMetadataOptions.yaml"
startupTaints:
type: array
description: |
Temporary taints applied to a node during its initialization phase.
For a startup taint to work, it must also be set as a regular taint
in the userData for the VNG.
items:
type: object
properties:
key:
type: string
description: |
Set startup taint key.
value:
type: string
description: |
Set startup taint value.
effect:
type: string
description: |
Set startup taint effect.
example:
- key: node.cilium.io/agent-not-ready
value: true
effect: NoSchedule

0 comments on commit afef614

Please sign in to comment.