Skip to content

Commit b651a5a

Browse files
committed
19449 Kubernetes: New supported versions policy
CMK-33724 Change-Id: I1b1194de1d1c1801fcb457a0414c831a37de5ea9
1 parent 4411977 commit b651a5a

4 files changed

Lines changed: 40 additions & 7 deletions

File tree

.werks/19449.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
[//]: # (werk v3)
2+
# Kubernetes: New supported versions policy
3+
4+
key | value
5+
---------- | ---
6+
date | 2026-04-16T18:02:27.547689+00:00
7+
version | 2.5.0p1
8+
class | feature
9+
edition | community
10+
component | checks
11+
level | 2
12+
compatible | no
13+
14+
With this Werk, we introduce a new support policy for Kubernetes monitoring:
15+
starting with Checkmk 2.5.0, **4 Kubernetes versions are officially supported
16+
at any given time**.
17+
18+
## Supported versions in Checkmk 2.5.0
19+
20+
**1.30, 1.31, 1.32, 1.33**
21+
22+
When support for Kubernetes 1.34 is announced in a later Werk, official support
23+
for 1.30 will end (upstream maintenance for 1.30 already ended in June 2025).
24+
25+
## What this means for you
26+
27+
If you are monitoring clusters running Kubernetes versions outside the
28+
supported range, consider upgrading those clusters. Monitoring may still work
29+
on older versions, and we will try to keep compatibility within reason, but we
30+
will not officially support or fix issues specific to unsupported versions.
31+
32+
## Going forward
33+
34+
Each time official support for a new Kubernetes version is added, a Werk will
35+
list the currently supported versions.

packages/cmk-plugins/cmk/plugins/kube/api_server.py

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

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

packages/cmk-plugins/cmk/plugins/kube/special_agents/agent_kube.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Checkmk special agent for monitoring Kubernetes clusters.
1111
This agent is required for monitoring data provided by the Kubernetes API and the Checkmk collectors,
1212
which can optionally be deployed within a cluster.
13-
The agent requires Kubernetes version v1.26 or higher.
13+
The agent requires Kubernetes version v1.30 or higher.
1414
Moreover, read access to the Kubernetes API endpoints monitored by Checkmk must be provided.
1515
"""
1616

packages/cmk-plugins/tests/cmk/plugins/kube/utils_kubernetes/test_api_server.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@ def _core_api() -> CoreAPI:
3939

4040

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

4644

4745
def test_raw_api_get_healthz_ok(core_api: CoreAPI) -> None:
@@ -303,11 +301,11 @@ def test_decompose_git_version(
303301
],
304302
),
305303
(
306-
api.KubernetesVersion(git_version=api.GitVersion("v1.26.2"), major=1, minor=26),
304+
api.KubernetesVersion(git_version=api.GitVersion("v1.30.2"), major=1, minor=30),
307305
[],
308306
),
309307
(
310-
api.KubernetesVersion(git_version=api.GitVersion("v1.27.0"), major=1, minor=27),
308+
api.KubernetesVersion(git_version=api.GitVersion("v1.31.0"), major=1, minor=31),
311309
[],
312310
),
313311
(

0 commit comments

Comments
 (0)