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

Ayub Pathan commented on YUNIKORN-511:
--------------------------------------

[~wwei] Missed your earlier comment. Sure, we can plan for 0.10 next release?
{quote}Can we opt to move the install of all tools needed to one function and 
make that an optional call based on a parameter? We can pass in that option for 
our normal build but only check if the tools are there when not passed in. 
There is really no need to do all installs every time when we run locally on a 
mac.
{quote}
Thats a good suggestion, [~wilfreds]. Will take your point into consideration.

> Support to run e2e tests on local macbook
> -----------------------------------------
>
>                 Key: YUNIKORN-511
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-511
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: shim - kubernetes, test - e2e
>            Reporter: Weiwei Yang
>            Assignee: Ayub Pathan
>            Priority: Major
>
> Currently, the e2e test can easily run against an existing K8s cluster, or 
> locally by setting up KIND cluster automatically.  The latter approach only 
> works on Linux. We need to provide a way to run them on MacBook as well.
> The general process is:
> {code}
> cd /path/to/incubator-yunikorn-k8shim
> ./scripts/run-e2e-tests.sh -a "test" -n "yk8s" -v "kindest/node:v1.16.9"
> {code}
> I've done some tests for this to work, we just need small changes,
> 1) Install KIND
> {code}
> go get sigs.k8s.io/kind@v0.9.0
> check_cmd "kind"
> {code}
> 2) Install kubectl
> {code}
> curl -LO 
> https://storage.googleapis.com/kubernetesrelease/release/${stable_release}/bin/darwin/amd64/kubectl
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: issues-h...@yunikorn.apache.org

Reply via email to