You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Weiwei Yang (Jira)" <ji...@apache.org> on 2021/01/20 07:51:00 UTC
[jira] [Created] (YUNIKORN-511) Support to run e2e tests on local
macbook
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/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: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org