Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
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:
cd /path/to/incubator-yunikorn-k8shim ./scripts/run-e2e-tests.sh -a "test" -n "yk8s" -v "kindest/node:v1.16.9"
I've done some tests for this to work, we just need small changes,
1) Install KIND
go get sigs.k8s.io/kind@v0.9.0
check_cmd "kind"
2) Install kubectl
curl -LO https://storage.googleapis.com/kubernetesrelease/release/${stable_release}/bin/darwin/amd64/kubectl
Attachments
Issue Links
- links to