-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
3
-
False
-
-
False
-
Not Selected
-
rhel-container-tools
-
-
-
RUN 278
[3116929220] Upstream Reporter: axel7083
Upstream issue status: Open
Upstream description:
Feature request description
When dealing with medium application, with several containers, PVC, configmap etc. we may want to split out YAML into smaller chunk.
Since https://github.com/containers/podman/issues/9129 podman kube play support resources separated by --- in a single YAML, but this prevent us from providing multiple files, each containing multiple resources.
Suggest potential solution
In https://github.com/containers/podman/issues/9129#issuecomment-768560851 @mheon suggested that the podman kube play command support multiple file as argument like podman play kube pod1.yaml pod2.yaml.
This could allow us to define multiple Yaml property in the kube quadlet , as this is the ExecStart generated currently
ExecStart=/usr/bin/podman kube play --replace --service-container=true <yaml-file>If the podman kube play command support multiple file, we can easily just add those files to the list in the ExecStart command.
For implementation details, as podman already support providing multiple resources, the client can just concatenate all the resources in one file and send it to the backend.
Have you considered any alternatives?
Concatenate files manually
Additional context
Add any other context or screenshots about the feature request here.
Upstream URL: https://github.com/containers/podman/issues/26274
- links to