e2e-test-setup
For our e2e tests on GitHub actions, we are using KIND (Kubernetes IN Docker). This creates a single master and 2 worker node cluster using only Docker.
Install KIND v0.6.1
You only need to do this once.
curl -LO https://github.com/kubernetes-sigs/kind/releases/download/v0.6.1/kind-$(uname)-amd64 \
&& sudo install kind-$(uname)-amd64 /usr/local/bin/kind \
&& rm -rf kind-$(uname)-amd64
# this directory is used to provision hostpath PVCs
mkdir -p /mnt
Create a Cluster matching our e2e setup
curl -fsSL https://github.com/appscodelabs/e2e-test-setup/raw/kind-v0.6.1/run.sh | bash
Delete cluster
kind delete cluster