Skip to content

Kubernetes-free kube crate #2036

Description

@rektide

Would you like to work on this feature?

None

What problem are you trying to solve?

There is excellent tooling in kube for creating reconciliation machinery in rust. So much of those code is not Kubernetes specific. It would be lovely to be able to use this library elsewhere. However there are some large Kubernetes elements that are always brought in, such as kube-client and k8s-openapi, that make it impractical to ship for many uses.

Describe the solution you'd like

I don't know the exact solution, but ideally, there would be good ways to use this library without the heavier Kube specific dependencies. Perhaps feature gates?

Describe alternatives you've considered

Not sure what else to try! Maybe split kube into a kube-less core then layer kubernetes needs atop as a separate crate?

Documentation, Adoption, Migration Strategy

I asked Fable for an implementation of this idea, and got this: rektide#1 , which seems like a fairly ok distillation of kube that leaves the library intact, with little external changes, while allowing other uses outside Kubernetes.

Target crate for feature

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions