Skip to content

chore(deps): Update k8s-openapi and kube-* dependencies#433

Draft
sfleen wants to merge 1 commit intoolix0r:mainfrom
sfleen:sfleen/kube-dep-update
Draft

chore(deps): Update k8s-openapi and kube-* dependencies#433
sfleen wants to merge 1 commit intoolix0r:mainfrom
sfleen:sfleen/kube-dep-update

Conversation

@sfleen
Copy link
Copy Markdown
Contributor

@sfleen sfleen commented Jan 12, 2026

This performs the following dependency updates:

k8s-openapi: 0.25 -> 0.27
kube: 1.1 -> 3
kube-client: 1.1 -> 3
kube-core: 1.1 -> 3
kube-runtime: 1.1 -> 3

These dependencies are farily tightly coupled, so must be updated together in a batch.

The most viral change in this PR is k8s-openapi trasitioning from chrono to jiff for timestamp/durations, other than that the changes have been relatively small.

This performs the following dependency updates:

`k8s-openapi`: 0.25 -> 0.27
`kube`: 1.1 -> 3
`kube-client`: 1.1 -> 3
`kube-core`: 1.1 -> 3
`kube-runtime`: 1.1 -> 3

These dependencies are farily tightly coupled, so must be updated together in a batch.

The most viral change in this PR is k8s-openapi trasitioning from `chrono` to `jiff` for timestamp/durations, other than that the changes have been relatively small.
@sfleen sfleen force-pushed the sfleen/kube-dep-update branch from e1acbab to c7a0426 Compare January 12, 2026 16:30
@sfleen sfleen marked this pull request as draft January 12, 2026 16:35
Copy link
Copy Markdown
Collaborator

@cratelyn cratelyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cargo nextest run   --workspace --exclude=kubert-examples --all-features
error: rustc 1.85.1 is not supported by the following packages:
  kube@3.0.0 requires rustc 1.88.0
  kube-client@3.0.0 requires rustc 1.88.0
  kube-core@3.0.0 requires rustc 1.88.0
  kube-runtime@3.0.0 requires rustc 1.88.0
Either upgrade rustc or select compatible dependency versions with
`cargo update <name>@<current-ver> --precise <compatible-ver>`
where `<compatible-ver>` is the latest version supporting rustc 1.85.1

the changes here look good to me. i see one outstanding issue here is that we have a failing job in CI because of minimum toolchain support.

it seems that we should either (a) consider removing that job, or (b) update the versions we run tests against in CI. my preference is for (b), since the current stable has now moved up to 1.93.

Comment on lines +24 to +27
kube-client = { version = "3", default-features = false }
kube-core = { version = "3", default-features = false }
kube-runtime = { version = "3", default-features = false }
kube = { version = "3", default-features = false }
Copy link
Copy Markdown
Collaborator

@cratelyn cratelyn Jan 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit, not a blocker: can we put 3.0 here?

i find those are nice as a loose signal of when we upgraded to a particular major version, but i see there are other dependencies here specified solely by major version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants