[ 
https://issues.apache.org/jira/browse/FLINK-17857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17201314#comment-17201314
 ] 

Di Xu edited comment on FLINK-17857 at 9/24/20, 7:10 AM:
---------------------------------------------------------

FYI, followed this approach 
[https://minikube.sigs.k8s.io/docs/handbook/host-access/]

I tested with minikube v1.10.1, 'host.minikube.internal' works perfectly on 
both macos and linux (even when --driver=none is set on linux, minikube will 
writes a 'host.minikube.internal' record directly into /etc/hosts on the linux 
host)


was (Author: xudi):
[https://minikube.sigs.k8s.io/docs/handbook/host-access/]

FYI, I tested with minikube v1.10.1, 'host.minikube.internal' works perfectly 
on both macos and linux (even when --driver=none is set on linux, minikube will 
writes a 'host.minikube.internal' record into /etc/hosts on the linux host)

> Kubernetes and docker e2e tests could not run on Mac OS after migration
> -----------------------------------------------------------------------
>
>                 Key: FLINK-17857
>                 URL: https://issues.apache.org/jira/browse/FLINK-17857
>             Project: Flink
>          Issue Type: Test
>          Components: Deployment / Kubernetes, Tests
>            Reporter: Yang Wang
>            Assignee: Yang Wang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.12.0
>
>
> In FLINK-17656, we migrate all the e2e tests from {{flink-container/docker}} 
> to {{apache/flink-docker}}. After the migration, when building a docker 
> image, we need to start a file server and then download it in the 
> {{Dockerfile}}.
> It works well in linux environment since the minikube is started in 
> "vm-driver=none". However, it is not true in the Mac. We usually start a 
> virtual machine for minikube and this will make "localhost" could not work.
> So i suggest to support local Flink dist when building the docker image, not 
> always need to download from a URL.
>  
> cc [~chesnay]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to