Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump kr8s to 0.17 and Kubernetes supported versions #897

Merged
merged 4 commits into from
Jul 5, 2024

Conversation

jacobtomlinson
Copy link
Member

@jacobtomlinson jacobtomlinson commented Jul 5, 2024

In kr8s==0.17 you can now use new_class as part of a class constructor. This avoids the need to manually subclass APIObject and should lead to more error free code.

With kr8s==0.17 only Kubernetes >=1.28 is supported and I'm noticing some CI failures with Kubernetes 1.26 so taking this opportunity to bump the Kubernetes CI versions.

I've also replaced the use of api.get(Type.endpoint, ...) with Type.list(...) which is a little more readable.

@jacobtomlinson jacobtomlinson changed the title Bump kr8s to 0.17 and use new_class for Dask resource classes Bump kr8s to 0.17 and Kubernetes supported versions Jul 5, 2024
@jacobtomlinson jacobtomlinson merged commit 734d001 into dask:main Jul 5, 2024
10 checks passed
@jacobtomlinson jacobtomlinson deleted the kr8s-17 branch July 5, 2024 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant