-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Implement dynamic ports in rkt driver #927
Comments
That's true. Sorry it took this long, I am hoping to get this working over the weekend. |
Has there been any progress on this? I'd also love to have this functionality. |
Sorry for being so late on this. Unfortunately, I did not have a chance to work on this since a few months. I could not find a way to expose arbitrary ports in rkt. From what I understand, ports have to be defined in the app image and then they can be exposed in the CLI. So, we cannot define a port randomly and map it 1:1 (unless there is a way which is not obvious from the docs). Given an app image with a port defined, we can do this:
I opened a bug in rkt asking about this: rkt/rkt#2801 |
There's progress on this in #1616. |
As #1616 is merged and closed, does this means that dynamic ports is supported by rkt driver? |
@minhdanh Yes! Sorry for not updating this ticket. I'd love to get some confirmation (other than my own testing) that it's working the way people need it to. I'm closing this issue, but if you get a chance to try out the 0.5 release candidate please feel free to file new issues or ping me in gitter: https://gitter.im/hashicorp-nomad/Lobby |
So I think the document may also need updated: https://www.nomadproject.io/docs/drivers/rkt.html |
@minhdanh Ah, thanks! I forgot to update that big warning at the top. Luckily the new features are documented: https://www.nomadproject.io/docs/drivers/rkt.html#networking I'll get that warning updated ASAP. |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
As of v0.3.1, the rkt driver does not support dynamic port allocation. Per the documentation:
I believe this is stunting further adoption of rkt with Nomad.
The text was updated successfully, but these errors were encountered: