@@ -1543,6 +1543,8 @@ components:
15431543 $ref : " #/components/schemas/Ulid"
15441544 platform :
15451545 $ref : " #/components/schemas/RuntimePlatform"
1546+ cpu_limit_factor :
1547+ $ref : " #/components/schemas/CpuLimitFactor"
15461548 required : ["classes", "name", "public", "default"]
15471549 example :
15481550 quota :
@@ -1595,6 +1597,10 @@ components:
15951597 $ref : " #/components/schemas/Ulid"
15961598 platform :
15971599 $ref : " #/components/schemas/RuntimePlatform"
1600+ cpu_limit_factor :
1601+ oneOf :
1602+ - $ref : " #/components/schemas/CpuLimitFactor"
1603+ - $ref : " #/components/schemas/RemoveCpuLimitFactor"
15981604 example :
15991605 quota :
16001606 cpu : 50
@@ -1631,6 +1637,10 @@ components:
16311637 $ref : " #/components/schemas/Ulid"
16321638 platform :
16331639 $ref : " #/components/schemas/RuntimePlatform"
1640+ cpu_limit_factor :
1641+ oneOf :
1642+ - $ref : " #/components/schemas/CpuLimitFactor"
1643+ - $ref : " #/components/schemas/RemoveCpuLimitFactor"
16341644 required : ["classes", "name", "public", "default", "platform"]
16351645 example :
16361646 quota :
@@ -1690,6 +1700,8 @@ components:
16901700 required : ["id"]
16911701 platform :
16921702 $ref : " #/components/schemas/RuntimePlatform"
1703+ cpu_limit_factor :
1704+ $ref : " #/components/schemas/CpuLimitFactor"
16931705 required : ["classes", "name", "id", "public", "default", "platform"]
16941706 example :
16951707 quota :
@@ -1748,6 +1760,8 @@ components:
17481760 $ref : " #/components/schemas/RuntimePlatform"
17491761 credits_used :
17501762 $ref : " #/components/schemas/CreditsUsed"
1763+ cpu_limit_factor :
1764+ $ref : " #/components/schemas/CpuLimitFactor"
17511765 required : ["classes", "name", "id", "public", "default", "platform"]
17521766 example :
17531767 quota :
@@ -2159,7 +2173,7 @@ components:
21592173 properties :
21602174 kind :
21612175 type : string
2162- enum : [ "firecrest" ]
2176+ enum : ["firecrest"]
21632177 description : Kind of remote resource pool
21642178 example : " firecrest"
21652179 provider_id :
@@ -2200,7 +2214,7 @@ components:
22002214 properties :
22012215 kind :
22022216 type : string
2203- enum : [ "runai" ]
2217+ enum : ["runai"]
22042218 description : Kind of remote resource pool
22052219 example : " runai"
22062220 base_url :
@@ -2235,7 +2249,7 @@ components:
22352249 properties :
22362250 kind :
22372251 type : string
2238- enum : [ "firecrest" ]
2252+ enum : ["firecrest"]
22392253 description : Kind of remote resource pool
22402254 example : " firecrest"
22412255 provider_id :
@@ -2254,7 +2268,7 @@ components:
22542268 properties :
22552269 kind :
22562270 type : string
2257- enum : [ "runai" ]
2271+ enum : ["runai"]
22582272 description : Kind of remote resource pool
22592273 example : " runai"
22602274 base_url :
@@ -2339,7 +2353,7 @@ components:
23392353 description : A list of k8s labels used for tolerations and/or node affinity
23402354 items :
23412355 $ref : " #/components/schemas/NodeAffinity"
2342- example : [{"key": "test-label-1", "required_during_scheduling": false}]
2356+ example : [{ "key": "test-label-1", "required_during_scheduling": false }]
23432357 uniqueItems : true
23442358 default : []
23452359 minItems : 0
@@ -2348,7 +2362,7 @@ components:
23482362 description : A list of k8s labels used for tolerations and/or node affinity
23492363 items :
23502364 $ref : " #/components/schemas/NodeAffinity"
2351- example : [{"key": "test-label-1", "required_during_scheduling": false}]
2365+ example : [{ "key": "test-label-1", "required_during_scheduling": false }]
23522366 uniqueItems : true
23532367 default : []
23542368 minItems : 0
@@ -2385,11 +2399,11 @@ components:
23852399 type : string
23862400 minLength : 26
23872401 maxLength : 26
2388- pattern : " ^[0-7][0-9A-HJKMNP-TV-Z]{25}$" # This is case-insensitive
2402+ pattern : " ^[0-7][0-9A-HJKMNP-TV-Z]{25}$" # This is case-insensitive
23892403 Protocol :
23902404 description : Allowed Protocol strings
23912405 type : string
2392- enum : [ "http", "https" ]
2406+ enum : ["http", "https"]
23932407 Port :
23942408 type : integer
23952409 minimum : 0
@@ -2411,6 +2425,18 @@ components:
24112425 IngressAnnotations :
24122426 type : object
24132427 additionalProperties : true
2428+ CpuLimitFactor :
2429+ type : number
2430+ format : float
2431+ minimum : 1
2432+ maximum : 100
2433+ description : The value used to multiply cpu requests to get the limit. If unset there will be no cpu limits.
2434+ RemoveCpuLimitFactor :
2435+ type : number
2436+ minimum : 0
2437+ maximum : 0
2438+ description : Indicates that the cpu limits should not be set and if a limit is set it should be removed
2439+ format : float
24142440 responses :
24152441 Error :
24162442 description : The schema for all 4xx and 5xx responses
0 commit comments