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
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ type: object
required:
- models
properties:
provision:
oneOf:
- $ref: ./AutoScaleGroupProvision.yml
- type: "null"
models:
type: array
items:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
title: AutoScaleGroupProvision
type: object
properties:
features:
oneOf:
- $ref: ../../servers/ServerFeatures.yml
- type: "null"
constraints:
oneOf:
- $ref: ../../servers/ServerConstraints.yml
- type: "null"
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,8 @@ properties:
overcommit:
type: boolean
description: A boolean where true means - allow twice the normal amount of CPU shares to be allocated to containers deployed to this server.
overcommit_multiple:
type:
- integer
- "null"
description: An integer that describes the capability of a server to overcommit shares. This will allow more containers to run on a given server based on the servers available CPU. 1 thread (or vCPU) = 10 shares.
2 changes: 1 addition & 1 deletion platform/paths/infrastructure/servers/server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ patch:
type:
- integer
- "null"
description: An integer that describes the capability of a server to overcommit shares. This will allow more containers to run on a given server based on the servers available CPU cores. 1 CPU core = 10 shares by default.
description: An integer that describes the capability of a server to overcommit shares. This will allow more containers to run on a given server based on the servers available CPU. 1 thread (or vCPU) = 10 shares.
responses:
200:
description: Returns a Server.
Expand Down