-
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 Support for K8s "Deployment" specification #4093
Comments
/assign |
Reopening. We want to eventually support the Deployment spec, but it's a feature request, not a bug. |
This issue had no activity for 30 days. In the absence of activity or the "do-not-close" label, the issue will be automatically closed within 7 days. |
Feature request, should not be closed |
Is this something an intern could work on? |
I would love to take this on if there is still interest in this feature |
Feel free!
…On Tue, Mar 31, 2020, 00:32 Aditya Kamath ***@***.***> wrote:
I would love to take this on if there is still interest in this feature
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#4093 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB3AOCAURBRJJUUJUW2UYALRKFW5FANCNFSM4IZ7V4KA>
.
|
@theunrealgeek --- Thanks for taking this on. Just to clarify, this is still feature that I would like to see. I"m sure there are plenty of others out there that it would make sense for as well. |
@aric49 I will have a first cut at this very soon (~ couple of days). I plan on having a simple interpretation of the Also, to my understanding podman itself is stateless, so supporting something like a re-play of a changed file to only update what changed, is going to be difficult. If anyone has thoughts on how this can be achieved I'm all ears. |
@theunrealgeek Excited to see the work you've done! |
Looks like as part of |
@theunrealgeek Awesome we need lots of help getting V2 up to speed. |
Just a quick status update, I'm still working on getting |
A friendly reminder that this issue had no activity for 30 days. |
@theunrealgeek How is it going? |
I've just pushed the commits addressing PR comments and I'm hoping to get it approved soon |
@aric49 This feature got merged a day back into master, please try it out |
@theunrealgeek --- Thanks so much for looking into this. It works great. Thank you! |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
When I attempt to use
podman play kube deployment.yaml
against a Kubernetes YAML in the "Deployment" specification, an empty pod gets created consisting of a simple "pause" container and no other containers or configuration.Steps to reproduce the issue:
Download the sample deployment yaml: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#creating-a-deployment -- name it "deployment.yaml"
Run the
podman play kube deployment.yaml
Observe the following pod gets created:
Describe the results you received:
When I look at pods, i see that it was created, but the number of containers is only one (The
pause
container)Pod inspect shows more details:
If I try to re-generate a kubernetes YAML based on this pod, I receive the error:
Sure enough, if I look at
podman ps -a
, I see the single pause container:Describe the results you expected:
Either an error message that the deployment spec isn't support format for
podman play
, or Podman creates the Pod, ignoring the number of replicas specified since Podman isn't really for container orchestration.Additional information you deem important (e.g. issue happens only occasionally):
Overall, I think that the "Deployment" spec is an important format for Podman to support and also to output Kubernetes YAML in
podman generate
. I have been working with Kubernetes deployments for a number of years, and I have yet to really see anyone deploying naked pods in a production environment. The Deployment is pretty standard practice in the Kubernetes community for creating and scaling pods. It would be really great for podman to have the ability to take the same YAML you're deploying in production and have the ability to spin up a single pod locally for testing.Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: