-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.kubetriagedIssue has been triagedIssue has been triaged
Description
Feature request description
Summary
When a Deployment manifest specifies replicas: N
, podman play kube
should honor that and create N pods—rather than silently limiting it to one.
Motivation & References
- As of Podman 4.4, pods created via
play kube
are capped at one replica: “limits the replica count to 1”. - Issue #16765 describes pod startup failures due to port binding conflicts when attempting duplicates.
- PR #16766 introduces random port assignment to mitigate such conflicts.
- PR #17082 warns users when attempting multi‑replica deployment with
play kube
.
Proposal
- Allow
play kube
to create multiple pods whenspec.replicas > 1
. - Handle port conflicts gracefully—e.g., through randomized host ports or offset mapping.
- Maintain or improve user feedback: explicitly warn if scaling isn't feasible.
- Add example use cases or tests in CI/docs to demonstrate correct behavior.
Benefits
Better aligns podman play kube
with real‑world Kubernetes workflows and streamlines local/demo usage—reducing manual steps and improving reliability.
Thank you for considering this feature!
Suggest potential solution
A clear and concise description of what you want to happen.
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
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.kubetriagedIssue has been triagedIssue has been triaged