-
Notifications
You must be signed in to change notification settings - Fork 5.1k
don't call startKicServiceTunnel for non-kic drivers #20863
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
Conversation
/ok-to-test |
cmd/minikube/cmd/service.go
Outdated
for _, svc := range noNodePortServices { | ||
noNodePortSvcNames = append(noNodePortSvcNames, fmt.Sprintf("%s/%s", svc.Namespace, svc.Name)) | ||
} | ||
out.WarningT("Services {{.svc_names}} have type \"ClusterIP\" not meant to be exposed, however for local development minikube allows you to access this !", out.V{"svc_names": noNodePortSvcNames}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you for this PR, I think @prezha this warning should be printed for all drivers, no ?
the idea was educatiing the users that clusterIP services are not meant to be exposed, and this is an exception for learning DONT get used to it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, yes, good catch, thanks @medyagh !
i've put the warning back outside of driver check, so it should print for all of them
This comment has been minimized.
This comment has been minimized.
kvm2 driver with docker runtime
Times for minikube (PR 20863) start: 55.7s 51.9s 54.3s 51.2s 52.2s Times for minikube ingress: 16.1s 16.6s 16.1s 15.6s 16.1s docker driver with docker runtime
Times for minikube start: 25.3s 24.2s 23.9s 26.3s 24.2s Times for minikube ingress: 13.4s 12.3s 12.3s 13.3s 13.4s docker driver with containerd runtime
Times for minikube start: 27.1s 25.5s 23.6s 22.4s 22.6s Times for minikube ingress: 38.8s 22.8s 22.8s 22.8s 22.8s |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: medyagh, prezha 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 |
fixes: #18825
fixes: #19878
before: as described in the issues listed above
after
docker driver
kvm driver