Weiwei Yang created YUNIKORN-511:
------------------------------------

             Summary: 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


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/[email protected]
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to