# Hack / Dev multi-node build

**Note: All scripts are assumed to be ran from this directory.**

## Quickstart

This will generate the default assets in the `cluster` directory and launch multi-node self-hosted cluster.

```
./bootkube-up
```

## Running E2E tests

```
$ ssh-add ~/.vagrant.d/insecure_private_key
$ export KUBECONFIG=$PWD/cluster/auth/kubeconfig
$ cd ../.. # project root
$ go test -v ./e2e/ --kubeconfig=$KUBECONFIG
```

## Cleaning up

To stop the running cluster and remove generated assets, run:

```
vagrant destroy -f
rm -rf cluster
```

# Hack / Dev multi-node build

**Note: All scripts are assumed to be ran from this directory.**

## Quickstart

This will generate the default assets in the `cluster` directory and launch multi-node self-hosted cluster.

```
./bootkube-up
```

## Running E2E tests

```
ssh-add ~/.vagrant.d/insecure_private_key
export KUBECONFIG=$PWD/cluster/auth/kubeconfig
cd ../.. # project root
go test -v ./e2e/ --kubeconfig=$KUBECONFIG
```

## Cleaning up

To stop the running cluster and remove generated assets, run:

```
vagrant destroy -f
rm -rf cluster
```

Make e2e test commands copy-pastable
Make e2e test commands copy-pastable

Remove prefixed `$` and make the instructions to run e2e test copy and
pastable.

Signed-off-by: Suraj Deshmukh <0abd0df55eb02d47bf2d3e301d3310c4d084e10b@kinvolk.io>
