-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
"podman play kube" yaml multiple resources #9129
Comments
interested in contributing? |
Unfortunately I won't have time to do this in the near future. |
Can you provide more details here? An example YAML file with the exact resources you want us to support identified, perhaps? |
I mean to concate multiple yaml-s generated by As for this issue: podman create --pod new:nginxpod1 --name nginx1 nginx1 And generate kubernetes yamls Pod1: pod1.yaml
Pod2: pod2.yaml
I would like create a combined yaml like: combined.yaml:
and start it like |
I don't think that's going to be possible as you suggest - we'd basically need to put the separate pod definitions together in a YAML array, which would prevent straight concatenation (you'd need some pretty significant modifications to the YAML). Ought to be possible to make |
What do you mean by "which would prevent straight concatenation"? Podman in the play kube command could split the yaml at every --- and iterate through these resources. These resources would be the same as the currently accepted yaml format. The yaml input is only used in play kube command, isn't it? |
A friendly reminder that this issue had no activity for 30 days. |
Is your description legal YAML? Would this YAML file be used if it was sent to Kubernetes/OpenShift? If yes, then we should support it, if No then we should not support it, and you should just script out a solution for it. |
Awesome. Interested in opening a PR to add this feature? @ParkerVR Interested in taking a look? |
Unfortunately I won't have time to implement this. |
I can work on this one. |
Great. |
/kind feature
Add support for multiple resources in yaml used by
podman play kube
like kubernetes does have.The text was updated successfully, but these errors were encountered: