podman play kube fails when a container has a containerPort set and replicas > 1 #16765
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
With podman > 4.2
podman play kube
will bind the created pods to the same port & network, which causes the pods to fail to start.Steps to reproduce the issue:
hello-kubic.yaml
file:podman play kube hello-kubic.yaml
Describe the results you received:
The pods fails to start:
Describe the results you expected:
The pods should have been started
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info
:Package info (e.g. output of
rpm -q podman
orapt list podman
orbrew info podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
I think this is actually a regression introduced by #15946. I have reverted that commit on
main
and the yaml manifests can be played without issues.The text was updated successfully, but these errors were encountered: