Skip to content
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

rpk: generate pool of available ports for container start command #4565

Merged
merged 1 commit into from
May 5, 2022

Conversation

r-vasquez
Copy link
Contributor

Cover letter

This PR changes the way rpk handles the port assignment for each redpanda node when using rpk container start to fix a race between redpanda start and our vnet.GetFreePot()

Now it will preallocate all available ports before starting the nodes.

Fixes #2418

Release notes

@jcsp jcsp merged commit 9e86e60 into redpanda-data:dev May 5, 2022
@r-vasquez r-vasquez deleted the fix-test-container branch June 22, 2022 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failure in rpk:test-container
3 participants