From 575f586288bd691b5009427a5b01f2ef25098530 Mon Sep 17 00:00:00 2001 From: Alexander Mattoni <5110855+mattoni@users.noreply.github.com> Date: Tue, 3 Mar 2026 11:56:50 +0000 Subject: [PATCH 1/2] add autoscale group provision types --- .../groups/AutoScaleGroupInfrastructure.yml | 4 ++++ .../auto-scale/groups/AutoScaleGroupProvision.yml | 11 +++++++++++ 2 files changed, 15 insertions(+) create mode 100644 components/schemas/infrastructure/auto-scale/groups/AutoScaleGroupProvision.yml diff --git a/components/schemas/infrastructure/auto-scale/groups/AutoScaleGroupInfrastructure.yml b/components/schemas/infrastructure/auto-scale/groups/AutoScaleGroupInfrastructure.yml index e73ad689..102c3a0b 100644 --- a/components/schemas/infrastructure/auto-scale/groups/AutoScaleGroupInfrastructure.yml +++ b/components/schemas/infrastructure/auto-scale/groups/AutoScaleGroupInfrastructure.yml @@ -3,6 +3,10 @@ type: object required: - models properties: + provision: + oneOf: + - $ref: ./AutoScaleGroupProvision.yml + - type: "null" models: type: array items: diff --git a/components/schemas/infrastructure/auto-scale/groups/AutoScaleGroupProvision.yml b/components/schemas/infrastructure/auto-scale/groups/AutoScaleGroupProvision.yml new file mode 100644 index 00000000..b9615fdc --- /dev/null +++ b/components/schemas/infrastructure/auto-scale/groups/AutoScaleGroupProvision.yml @@ -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" \ No newline at end of file From 2bcd6f2d761949eadb1b1f0244a49aad3db83ed1 Mon Sep 17 00:00:00 2001 From: Alexander Mattoni <5110855+mattoni@users.noreply.github.com> Date: Tue, 3 Mar 2026 14:16:23 +0000 Subject: [PATCH 2/2] add missing overcommit_multiple --- .../schemas/infrastructure/servers/ServerConstraints.yml | 5 +++++ platform/paths/infrastructure/servers/server.yml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/components/schemas/infrastructure/servers/ServerConstraints.yml b/components/schemas/infrastructure/servers/ServerConstraints.yml index 3b3f8531..e5ff81ef 100644 --- a/components/schemas/infrastructure/servers/ServerConstraints.yml +++ b/components/schemas/infrastructure/servers/ServerConstraints.yml @@ -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. diff --git a/platform/paths/infrastructure/servers/server.yml b/platform/paths/infrastructure/servers/server.yml index 4493b2f9..b20725a3 100644 --- a/platform/paths/infrastructure/servers/server.yml +++ b/platform/paths/infrastructure/servers/server.yml @@ -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.