Skip to content

Quadlet - single file specification #26447

Open
@apparle

Description

@apparle

Feature request description

For a multi-container, multi-volume service, there's no easy way to capture the specification in a single place -- I've to create separate container files, pod files, network files, volume files etc. There's kube files but they also cannot contain everything and have their own specification. This makes maintenance as well as sharing an installation spec for any project a complete headache because there's no single file to capture all the information about a service. Further, it's especially jarring when migrating to quadlet from docker compose, which is the most widepread format.

Since quadlets generate the corresponding unit files, it can very well digest a single file that contains the whole spec for a particular service with all its parts -- maybe in the pod file itself, or a new .quad format or similar.

Suggest potential solution

Ideal solution - a new file format which is 1 single file with all spec associated with the service -- it's volumes, containers, networks all in 1 place. It can be a brand-new file format with YAML like indented file-format; or it can be the pod file itself, with all associated container, volume, network files concatenated, and each sub-section (eg:[Container]) specifying that part.
Either of these work, but quadlets need to improve the input specification in a way that's easier to share, deploy, maintain.

Have you considered any alternatives?

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.quadlet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions