Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions components/schemas/containers/Container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ properties:
enum:
- orchestrator
- type: "null"
ha:
description: High availability status of the container. Contains information about the primary instance, if any.
ha_elections:
description: High availability election status of the container. Contains information about the primary instance, if any.
oneOf:
- $ref: ./ha/ContainerHighAvailability.yml
- type: "null"
Expand Down
4 changes: 2 additions & 2 deletions components/schemas/containers/config/ContainerDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ properties:
- $ref: ../../infrastructure/DeploymentStrategyName.yml
- type: "null"
description: The deployment strategy to use when scaling the given container.
ha:
description: Configuration options for how the platform treats instances of this container when opting into high availability via the internal API.
ha_elections:
description: Configuration options for how the platform treats instances of this container when opting into high availability elections via the internal API.
oneOf:
- $ref: ./deploy/ContainerDeployHighAvailabilityConfig.yml
- type: "null"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@ required:
properties:
stale_primary_deadline:
description: The amount of time that must pass between high availability checkins before an instance is considered stale. If it is the primary, a new primary will be elected after this deadline. Minimum is 15s.
oneOf:
- $ref: ../../../Duration.yml
- type: "null"
$ref: ../../../Duration.yml
2 changes: 1 addition & 1 deletion components/schemas/containers/instances/Instance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ properties:
anyOf:
- $ref: ../Deployment.yml
- type: "null"
ha:
ha_elections:
oneOf:
- $ref: ./InstanceHighAvailability.yml
- type: "null"
Expand Down
4 changes: 2 additions & 2 deletions components/schemas/containers/summaries/ContainerSummary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ properties:
- type: "null"
state:
$ref: "../ContainerState.yml"
ha:
description: High availability status of the container. Contains information about the primary instance, if any.
ha_elections:
description: High availability elections status of the container. Contains information about the primary instance, if any.
oneOf:
- $ref: ../ha/ContainerHighAvailability.yml
- type: "null"
Expand Down
2 changes: 1 addition & 1 deletion stackspec/schema/StackSpecContainerConfigDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ properties:
- type: "null"
- $ref: StackVariable.yml

ha:
ha_elections:
oneOf:
- $ref: ./deploy/StackSpecContainerConfigHighAvailability.yml
- type: "null"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
title: StackSpecContainerConfigHighAvailability
description: Configuration options for how the platform treats instances of this container when opting into high availability via the internal API.
description: Configuration options for how the platform treats instances of this container when opting into high availability elections via the internal API.
required:
- stale_primary_deadline
properties:
stale_primary_deadline:
description: The amount of time that must pass between high availability checkins before an instance is considered stale. If it is the primary, a new primary will be elected after this deadline. Minimum is 15s.
oneOf:
- $ref: ../../../components/schemas/Duration.yml
- $ref: ../StackVariable.yml
$ref: ../../../components/schemas/Duration.yml
Loading