Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
hostPort in deployment spec: is this supported? #1054
If I have a port mapping specified in docker-compose.yml file, using the recent Kompose tool release , the generated deployment.yaml does not have the hostPort specified.
Thus if my docker-compose.yml file says:
Then how can I specify that the public port "5001" be exposed as a hostPort in my k8s cluster?
If I deploy the generated *service.yaml and *deployment.yaml then my deployment does not get exposed on port 5001 as-is.
Issues go stale after 90d of inactivity.
If this issue is safe to close now please do so with
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.