Skip to content

Commit 9aee1f5

Browse files
chore(deps)!: upgrade kube to 4.2 and k8s-openapi to 0.28 (#26506)
1 parent de5c779 commit 9aee1f5

7 files changed

Lines changed: 100 additions & 21 deletions

File tree

‎.github/workflows/k8s_e2e.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,12 @@ jobs:
124124
// https://cloud.google.com/kubernetes-engine/docs/release-notes
125125
// https://docs.microsoft.com/en-us/azure/aks/supported-kubernetes-versions?tabs=azure-cli#aks-kubernetes-release-calendar
126126
const kubernetes_version = [
127+
{ version: "v1.37.1", is_essential: true }, // Latest stable (Sep 23, 2026)
128+
{ version: "v1.36.5", is_essential: true }, // Latest stable (Apr 22, 2026)
127129
{ version: "v1.35.1", is_essential: true }, // Latest stable (Feb 10, 2026)
128130
{ version: "v1.34.4", is_essential: true }, // Current patch (Feb 10, 2026)
129131
{ version: "v1.33.0", is_essential: false }, // Widely supported
130132
{ version: "v1.32.0", is_essential: false }, // EOL Feb 28 2026
131-
{ version: "v1.31.0", is_essential: false }, // Extended support on cloud providers
132133
]
133134
const container_runtime = [
134135
"docker",

‎Cargo.lock‎

Lines changed: 76 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,8 +453,8 @@ indexmap.workspace = true
453453
inventory = { version = "0.3.20", default-features = false }
454454
ipnet = { version = "2", default-features = false, optional = true, features = ["serde", "std"] }
455455
itertools.workspace = true
456-
k8s-openapi = { version = "0.27.0", default-features = false, features = ["v1_31"], optional = true }
457-
kube = { version = "3.0.1", default-features = false, features = ["client", "openssl-tls", "runtime"], optional = true }
456+
k8s-openapi = { version = "0.28.0", default-features = false, features = ["v1_32"], optional = true }
457+
kube = { version = "4.2.0", default-features = false, features = ["client", "openssl-tls", "runtime"], optional = true }
458458
listenfd = { version = "1.0.2", default-features = false, optional = true }
459459
libc.workspace = true
460460
lru = { version = "0.18.2", default-features = false }

‎LICENSE-3rdparty.csv‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ amq-protocol-tcp,https://github.com/amqp-rs/amq-protocol,BSD-2-Clause,Marc-Antoi
1414
amq-protocol-types,https://github.com/amqp-rs/amq-protocol,BSD-2-Clause,Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1515
amq-protocol-uri,https://github.com/amqp-rs/amq-protocol,BSD-2-Clause,Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1616
android_system_properties,https://github.com/nical/android_system_properties,MIT OR Apache-2.0,Nicolas Silva <nical@fastmail.com>
17+
annotate-snippets,https://github.com/rust-lang/annotate-snippets-rs,MIT OR Apache-2.0,The annotate-snippets Authors
1718
anstream,https://github.com/rust-cli/anstyle,MIT OR Apache-2.0,The anstream Authors
1819
anstyle,https://github.com/rust-cli/anstyle,MIT OR Apache-2.0,The anstyle Authors
1920
anstyle-parse,https://github.com/rust-cli/anstyle,MIT OR Apache-2.0,The anstyle-parse Authors
@@ -28,6 +29,7 @@ arbitrary,https://github.com/rust-fuzz/arbitrary,MIT OR Apache-2.0,"The Rust-Fuz
2829
arc-swap,https://github.com/vorner/arc-swap,MIT OR Apache-2.0,Michal 'vorner' Vaner <vorner@vorner.cz>
2930
arr_macro,https://github.com/JoshMcguigan/arr_macro,MIT OR Apache-2.0,Josh Mcguigan
3031
arr_macro_impl,https://github.com/JoshMcguigan/arr_macro,MIT OR Apache-2.0,Josh Mcguigan
32+
arraydeque,https://github.com/andylokandy/arraydeque,MIT OR Apache-2.0,andylokandy
3133
arrayvec,https://github.com/bluss/arrayvec,MIT OR Apache-2.0,bluss
3234
arrow,https://github.com/apache/arrow-rs,Apache-2.0,Apache Arrow <dev@arrow.apache.org>
3335
arrow-arith,https://github.com/apache/arrow-rs,Apache-2.0,Apache Arrow <dev@arrow.apache.org>
@@ -264,6 +266,7 @@ elliptic-curve,https://github.com/RustCrypto/traits/tree/master/elliptic-curve,A
264266
email_address,https://github.com/johnstonskj/rust-email_address,MIT,Simon Johnston <johnstonskj@gmail.com>
265267
encode_unicode,https://github.com/tormol/encode_unicode,Apache-2.0 OR MIT,Torbjørn Birch Moltu <t.b.moltu@lyse.net>
266268
encoding_rs,https://github.com/hsivonen/encoding_rs,(Apache-2.0 OR MIT) AND BSD-3-Clause,Henri Sivonen <hsivonen@hsivonen.fi>
269+
encoding_rs_io,https://github.com/BurntSushi/encoding_rs_io,MIT OR Apache-2.0,Andrew Gallant <jamslam@gmail.com>
267270
endian-type,https://github.com/Lolirofle/endian-type,MIT,Lolirofle <lolipopple@hotmail.com>
268271
enum-ordinalize,https://github.com/magiclen/enum-ordinalize,MIT,The enum-ordinalize Authors
269272
enum-ordinalize-derive,https://github.com/magiclen/enum-ordinalize,MIT,The enum-ordinalize-derive Authors
@@ -322,6 +325,7 @@ glob,https://github.com/rust-lang/glob,MIT OR Apache-2.0,The Rust Project Develo
322325
gloo-timers,https://github.com/rustwasm/gloo/tree/master/crates/timers,MIT OR Apache-2.0,Rust and WebAssembly Working Group
323326
goauth,https://github.com/durch/rust-goauth,MIT,Drazen Urch <github@drazenur.ch>
324327
governor,https://github.com/boinkor-net/governor,MIT,Andreas Fuchs <asf@boinkor.net>
328+
granit-parser,https://github.com/bourumir-wyngs/granit-parser,MIT OR Apache-2.0,"Ethiraric <ethiraric@gmail.com>, David Aguilar <davvid@gmail.com>, Yuheng Chen <yuhengchen@sensetime.com>, Bourumir Wyngs <bourumir-wyngs@gmail.com>"
325329
greptime-proto,https://github.com/GreptimeTeam/greptime-proto,Apache-2.0,The greptime-proto Authors
326330
greptimedb-ingester,https://github.com/GreptimeTeam/greptimedb-ingester-rust,Apache-2.0,The greptimedb-ingester Authors
327331
grok,https://github.com/mmastrac/grok,Apache-2.0,"Matt Mastracci <matthew@mastracci.com>, Michael Nitschinger <michael@nitschinger.at>"
@@ -510,6 +514,7 @@ nix,https://github.com/nix-rust/nix,MIT,The nix Authors
510514
nix,https://github.com/nix-rust/nix,MIT,The nix-rust Project Developers
511515
nkeys,https://github.com/wasmcloud/nkeys,Apache-2.0,wasmCloud Team
512516
nohash,https://github.com/tetcoin/nohash,Apache-2.0 OR MIT,Parity Technologies <admin@parity.io>
517+
nohash-hasher,https://github.com/paritytech/nohash-hasher,Apache-2.0 OR MIT,Parity Technologies <admin@parity.io>
513518
nom,https://github.com/Geal/nom,MIT,contact@geoffroycouprie.com
514519
nom,https://github.com/rust-bakery/nom,MIT,contact@geoffroycouprie.com
515520
nom-language,https://github.com/rust-bakery/nom,MIT,contact@geoffroycouprie.com
@@ -723,6 +728,7 @@ security-framework-sys,https://github.com/kornelski/rust-security-framework,MIT
723728
semver,https://github.com/dtolnay/semver,MIT OR Apache-2.0,David Tolnay <dtolnay@gmail.com>
724729
seq-macro,https://github.com/dtolnay/seq-macro,MIT OR Apache-2.0,David Tolnay <dtolnay@gmail.com>
725730
serde,https://github.com/serde-rs/serde,MIT OR Apache-2.0,"Erick Tryzelaar <erick.tryzelaar@gmail.com>, David Tolnay <dtolnay@gmail.com>"
731+
serde-saphyr,https://github.com/bourumir-wyngs/serde-saphyr,MIT OR Apache-2.0,The serde-saphyr Authors
726732
serde-value,https://github.com/arcnmx/serde-value,MIT,arcnmx
727733
serde_bytes,https://github.com/serde-rs/bytes,MIT OR Apache-2.0,David Tolnay <dtolnay@gmail.com>
728734
serde_core,https://github.com/serde-rs/serde,MIT OR Apache-2.0,"Erick Tryzelaar <erick.tryzelaar@gmail.com>, David Tolnay <dtolnay@gmail.com>"
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Kubernetes 1.31 support removed
2+
3+
## Summary
4+
5+
The `kubernetes_logs` source now uses Kubernetes v1.32 API bindings. Kubernetes
6+
1.31 reached end of life on 2025-11-11 and is no longer supported.
7+
8+
## Migration
9+
10+
Upgrade Kubernetes clusters to v1.32 or later before upgrading Vector.
11+
12+
authors: thomasqueirozb

‎lib/k8s-e2e-tests/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ workspace = true
1212

1313
[dependencies]
1414
futures.workspace = true
15-
k8s-openapi = { version = "0.27.0", default-features = false, features = ["v1_31"] }
15+
k8s-openapi = { version = "0.28.0", default-features = false, features = ["v1_32"] }
1616
k8s-test-framework = { version = "0.1", path = "../k8s-test-framework" }
1717
regex = { workspace = true, default-features = true }
1818
reqwest.workspace = true

‎lib/k8s-test-framework/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ license = "MPL-2.0"
1111
workspace = true
1212

1313
[dependencies]
14-
k8s-openapi = { version = "0.27.0", default-features = false, features = ["v1_31"] }
14+
k8s-openapi = { version = "0.28.0", default-features = false, features = ["v1_32"] }
1515
serde_json.workspace = true
1616
tempfile.workspace = true
1717
tokio = { workspace = true, features = ["full"] }

0 commit comments

Comments
 (0)