Skip to content

Commit 447afe2

Browse files
committed
19305 Kubernetes: Support for version 1.33
With this release of Checkmk, we introduce support for version 1.33 of Kubernetes. The supported versions are listed below: Checkmk 2.3: 1.24, 1.25, 1.26, 1.27, 1.28, 1.29, 1.30, 1.31 (no change) Checkmk 2.4: 1.26, 1.27, 1.28, 1.29, 1.30, 1.31, 1.32, 1.33 Checkmk 2.5: 1.26, 1.27, 1.28, 1.29, 1.30, 1.31, 1.32, 1.33 The list of supported versions may not apply to future patch versions. For such cases, a new werk will be released. -- End of Werk text -- CMK-24090 CMK-24299 SUP-27648 Change-Id: I9f04decd84731dd18e1eeb2a27a5f7e82e59c26d
1 parent c282a57 commit 447afe2

File tree

3 files changed

+33
-3
lines changed

3 files changed

+33
-3
lines changed

.werks/19305.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[//]: # (werk v2)
2+
# Kubernetes: Support for version 1.33
3+
4+
key | value
5+
---------- | ---
6+
date | 2026-02-13T19:47:40+00:00
7+
version | 2.4.0p22
8+
class | feature
9+
edition | cre
10+
component | checks
11+
level | 1
12+
compatible | yes
13+
14+
With this release of Checkmk, we introduce support for version 1.33 of Kubernetes.
15+
16+
The supported versions are listed below:
17+
18+
Checkmk 2.3: 1.24, 1.25, 1.26, 1.27, 1.28, 1.29, 1.30, 1.31 (no change)
19+
Checkmk 2.4: 1.26, 1.27, 1.28, 1.29, 1.30, 1.31, 1.32, 1.33
20+
Checkmk 2.5: 1.26, 1.27, 1.28, 1.29, 1.30, 1.31, 1.32, 1.33
21+
22+
The list of supported versions may not apply to future patch versions.
23+
24+
For such cases, a new werk will be released.

cmk/plugins/kube/api_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
LOGGER = logging.getLogger()
4343
VERSION_MATCH_RE = re.compile(r"\s*v?([0-9]+(?:\.[0-9]+)*).*")
44-
SUPPORTED_VERSIONS = [(1, 26), (1, 27), (1, 28), (1, 29), (1, 30), (1, 31), (1, 32)]
44+
SUPPORTED_VERSIONS = [(1, 26), (1, 27), (1, 28), (1, 29), (1, 30), (1, 31), (1, 32), (1, 33)]
4545
# PM decision: LOWEST_FUNCTIONING_VERSION is incremented, if an issue is reported by a customer.
4646
# Otherwise, we try not change anything in monitoring (despite lack of support).
4747
LOWEST_FUNCTIONING_VERSION = (1, 21)

tests/unit/cmk/plugins/kube/utils_kubernetes/test_api_server.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ def _core_api() -> CoreAPI:
3838

3939

4040
CALL_API = "cmk.plugins.kube.api_server.send_request"
41-
SUPPORTED_VERSION_STR = "Supported versions are v1.26, v1.27, v1.28, v1.29, v1.30, v1.31, v1.32."
41+
SUPPORTED_VERSION_STR = (
42+
"Supported versions are v1.26, v1.27, v1.28, v1.29, v1.30, v1.31, v1.32, v1.33."
43+
)
4244

4345

4446
def test_raw_api_get_healthz_ok(core_api: CoreAPI) -> None:
@@ -290,8 +292,12 @@ def test_decompose_git_version(
290292
),
291293
(
292294
api.KubernetesVersion(git_version=api.GitVersion("v1.33.0"), major=1, minor=33),
295+
[],
296+
),
297+
(
298+
api.KubernetesVersion(git_version=api.GitVersion("v1.34.0"), major=1, minor=34),
293299
[
294-
"WARNING Unsupported Kubernetes version 'v1.33.0'. " + SUPPORTED_VERSION_STR,
300+
"WARNING Unsupported Kubernetes version 'v1.34.0'. " + SUPPORTED_VERSION_STR,
295301
"WARNING Processing data is done on a best effort basis.",
296302
],
297303
),

0 commit comments

Comments
 (0)