-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
🌱 feat: make docker machine bootstrap timeout configurable #9952
🌱 feat: make docker machine bootstrap timeout configurable #9952
Conversation
Welcome @salasberryfin! |
Hi @salasberryfin. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/area provider/infrastructure-docker |
/ok-to-test |
As BootstrapTimeout is a new field you'll need to restore its value when going from v1alpha4 back to v1beta1 for the fuzzy tests to pass. What this means is that for DockerMachine you'll need to make the ConvertTo/ConvertFrom functions in this similar to what is being done for DockerCluster....so store the marshalled version and then restore. I'll ping you on slack to chat. |
cb28f82
to
0653b0c
Compare
Thanks @richardcase. This is hopefully fixed now. |
test/infrastructure/docker/internal/controllers/dockermachine_controller.go
Outdated
Show resolved
Hide resolved
0653b0c
to
4c4ea71
Compare
@sbueringer thanks for the suggestions. Last push addresses both changes: setting type as |
4c4ea71
to
99a297a
Compare
Signed-off-by: Carlos Salas <[email protected]>
99a297a
to
d829ddd
Compare
Thank you! /lgtm |
LGTM label has been added. Git tree hash: e92f11793e388779439bdf6bf9443cc68d1c1b7e
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbueringer The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
Currently, there is a 3 minute timeout for bootstrapping a Docker Machine. When not using CAPBK, it may take more than 3 minutes for bootstrap to succeed.
This PR adds a new optional field to
DockerMachineSpec
:BootstrapTimeout
. When setting the timeout, it will default to 3 minutes if no value is set.Which issue(s) this PR fixes:
Fixes #9530
/area provider/infrastructure-docker