containerized-data-importer/cluster-up
Maya Rashish 0f15e8c108
Update kubevirtci, add newer cluster-sync provider logic (#1993)
* Bump kubevirtci

Signed-off-by: Maya Rashish <mrashish@redhat.com>

* Add k8s-1.21, k8s-1.22 cluster-sync goo

Signed-off-by: Maya Rashish <mrashish@redhat.com>

* Update comments to match reality - we're making local default here

Signed-off-by: Maya Rashish <mrashish@redhat.com>

* Test upgrade from newer versions of CDI

You can't install too old CDI on k8s-1.22, as we used APIs removed
in this version of kubernetes.

Try upgrading only from newer versions

Signed-off-by: Maya Rashish <mrashish@redhat.com>

* Use a path under /dev for attaching a PVC

After kubernetes 1.20 it seems like / is mounted nodev, so we can't
have "devicePath: /pvc" any more.

Signed-off-by: Maya Rashish <mrashish@redhat.com>
2021-10-26 12:47:30 +02:00
..
cluster Update kubevirtci, add newer cluster-sync provider logic (#1993) 2021-10-26 12:47:30 +02:00
hack Update kubevirtci, add newer cluster-sync provider logic (#1993) 2021-10-26 12:47:30 +02:00
.gitignore Update kubevirtci (#1579) 2021-01-22 04:04:48 +01:00
check.sh Update kubevirt ci to latest image. (#1002) 2019-11-04 07:55:08 -05:00
cli.sh update kubevirci and add support for k8s 1.17.0 (#1083) 2020-01-15 17:04:45 +01:00
down.sh update kubevirci and add support for k8s 1.17.0 (#1083) 2020-01-15 17:04:45 +01:00
kubeconfig.sh Refactored provider infra structure (#831) 2019-06-13 14:29:42 -04:00
kubectl.sh update kubevirtci (#1457) 2020-10-28 14:59:46 +01:00
README.md Update kubevirtci, add newer cluster-sync provider logic (#1993) 2021-10-26 12:47:30 +02:00
ssh.sh Update kubevirtci. (#1292) 2020-07-13 22:37:40 +02:00
up.sh update kubevirtci to latest. (#1113) 2020-02-18 14:42:48 +01:00
virtctl.sh update kubevirci and add support for k8s 1.17.0 (#1083) 2020-01-15 17:04:45 +01:00

How to use cluster-up

This directory provides a wrapper around gocli. It can be vendored into other git repos and integrated to provide in the kubevirt well-known cluster commands like make cluster-up and make cluster-down.

In order to properly use it, one has to vendor this folder from a git tag, which can be found on the github release page.

Then, before calling one of the make targets, the environment variable KUBEVIRTCI_TAG must be exported and set to the tag which was used to vendor kubevirtci. It allow the content to find the right gocli version.

export KUBEVIRTCI_TAG=`curl -L -Ss https://storage.googleapis.com/kubevirt-prow/release/kubevirt/kubevirtci/latest`

Find more kubevirtci tags at https://quay.io/repository/kubevirtci/gocli?tab=tags.