don't call startKicServiceTunnel for non-kic drivers#20863
Conversation
|
/ok-to-test |
| 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.
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.
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 DetailsTimes 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 DetailsTimes 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 DetailsTimes 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 DetailsNeeds 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