Skip to content

Commit e5330dd

Browse files
Generator: Update SDK /services/ske (#666)
* Generate ske * chore(doc): add changelog --------- Co-authored-by: Ruben Hoenle <Ruben.Hoenle@stackit.cloud>
1 parent 8bcdb64 commit e5330dd

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
- New value `eu02` in region enum
55
- `postgresflex`: [v1.0.0](services/postgresflex/CHANGELOG.md#v100-2025-02-27)
66
- **Breaking Change:** The region is no longer specified within the client configuration. Instead, the region must be passed as a parameter to any region-specific request.
7+
- `ske`: [v0.4.0](services/ske/CHANGELOG.md#v040-2025-02-27)
8+
- `Nodepool`: `maximum` and `minimum` must be <= 1000
79

810
## Release (2025-02-11)
911

services/ske/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## v0.4.0 (2025-02-27)
2+
3+
- `Nodepool`: `maximum` and `minimum` must be <= 1000
4+
15
## v0.3.0 (2025-02-06)
26

37
- **Removal:** The following methods were removed after deprecation (2024-04-16) and [`serviceenablement` SDK](https://github.com/stackitcloud/stackit-sdk-python/tree/main/services/serviceenablement) must be used instead.

services/ske/src/stackit/ske/models/nodepool.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,12 @@ class Nodepool(BaseModel):
4040
machine: Machine
4141
max_surge: Optional[StrictInt] = Field(default=None, alias="maxSurge")
4242
max_unavailable: Optional[StrictInt] = Field(default=None, alias="maxUnavailable")
43-
maximum: Annotated[int, Field(strict=True, ge=1)]
44-
minimum: StrictInt
43+
maximum: Annotated[int, Field(le=1000, strict=True, ge=1)] = Field(
44+
description="Maximum number of nodes in the pool. During runtime, the cluster will never scale beyond 1000 nodes, even if the total maximum would allow for a larger cluster."
45+
)
46+
minimum: Annotated[int, Field(le=1000, strict=True)] = Field(
47+
description="Minimum number of nodes in the pool. The sum of all minima must not exceed 1000."
48+
)
4549
name: StrictStr = Field(description="Maximum 15 chars")
4650
taints: Optional[List[Taint]] = None
4751
volume: Volume

0 commit comments

Comments
 (0)