containerized-data-importer/cluster-up/cluster/kind-k8s-1.17
Michael Henriksen f4f8e975b6
update kubevirtci (#1198)
* update kubevirtci to 0b941ea5dc647d3aea6f6a6fff95563d6ce0445e

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>

* make sure SELinux permissions correct for hpp

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>

* fix permission issue with clone source pods and k8s-1.17 provider

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
2020-05-07 13:19:19 +02:00
..
provider.sh update kubevirtci (#1198) 2020-05-07 13:19:19 +02:00
README.md update kubevirtci (#1198) 2020-05-07 13:19:19 +02:00

K8S 1.17 in a Kind cluster

Provides a pre-deployed k8s cluster with version 1.17 that runs using kind The cluster is completely ephemeral and is recreated on every cluster restart. The KubeVirt containers are built on the local machine and are then pushed to a registry which is exposed at localhost:5000.

Bringing the cluster up

export KUBEVIRT_PROVIDER=kind-k8s-1.17
export KUBEVIRT_NUM_NODES=2 # master + one node
make cluster-up

The cluster can be accessed as usual:

$ cluster-up/kubectl.sh get nodes
NAME                        STATUS   ROLES    AGE    VERSION
kind-1.17-control-plane   Ready    master   105s   v1.17.x
kind-1.17-worker          Ready    <none>   71s    v1.17.x

Bringing the cluster down

export KUBEVIRT_PROVIDER=kind-k8s-1.17
make cluster-down

This destroys the whole cluster.