-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Fix start cluster when docker container is connected to several networks #18943
base: master
Are you sure you want to change the base?
Fix start cluster when docker container is connected to several networks #18943
Conversation
Welcome @fredericgermain! |
Hi @fredericgermain. Thanks for your PR. I'm waiting for a kubernetes 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-sigs/prow repository. |
Can one of the admins verify this patch? |
@fredericgermain thank you very much for this contribution and sharing the tutorial, I think this could be added as an integration test or maybe unit test, would you like to add an integration test for this ? |
/ok-to-test |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
fredericgermain the Docker Linux test are failing and related to this PR https://storage.googleapis.com/minikube-builds/logs/18943/34582/Docker_Linux.html it seems to be affecting the multi node minikube, can you please ensure this new feature doesnt break multi node minikube , you can start a multi node using |
That's a lot of errors indeed! |
sounds good, please remove the WIP in the PR title once ready for review. |
ef04194
to
dd7f9b2
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
aa386f3
to
d7e4f05
Compare
This comment has been minimized.
This comment has been minimized.
e808135
to
a95fbdf
Compare
Hi @prezha ! Again; thank you for your time to review this. For PostMortemLogs, I aligned with the way it is do in image_test.go I moved VerifyDeletedResources at the very end and it checks the external network is removed. I didn't remove extnetValidateStop. Although I agree it shouldn't be really done in this test, a test for the stop status is not done in any other test. |
kvm2 driver with docker runtime
Times for minikube start: 46.1s 46.9s 49.0s 159.0s 48.8s Times for minikube ingress: 14.4s 15.0s 15.0s 15.0s 15.0s docker driver with docker runtime
Times for minikube start: 23.4s 20.7s 24.0s 21.5s 21.6s Times for minikube ingress: 12.2s 13.2s 12.3s 12.3s 13.2s docker driver with containerd runtime
Times for minikube ingress: 39.2s 39.2s 22.8s 30.2s 39.3s Times for minikube start: 18.5s 22.1s 19.9s 21.8s 20.1s |
Here are the number of top 10 failed tests in each environments with lowest flake rate.
Besides the following environments also have failed tests:
To see the flake rates of all tests by environment, click here. |
fixes #10079
I followed this tutorial and connected minikube to an extra network for metallb : https://www.hashicorp.com/blog/deploy-consul-cluster-peering-locally-with-minikube
docker container inspect -f "{{range .NetworkSettings.Networks}}{{.IPAddress}},{{.GlobalIPv6Address}}{{end}}" dc1
,would display something like
192.168.121.2,172.68.0.2,
.docker container inspect -f '{{with (index .NetworkSettings.Networks "dc1")}}{{.IPAddress}},{{.GlobalIPv6Address}}{{end}}' dc1
Now only the addresses of the main network are returned
192.168.121.2,
.