Skip to content

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
@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