mirror of
https://github.com/kubevirt/containerized-data-importer.git
synced 2025-06-03 06:30:22 +00:00
![]() * 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> |
||
---|---|---|
.. | ||
cluster | ||
hack | ||
.gitignore | ||
check.sh | ||
cli.sh | ||
down.sh | ||
kubeconfig.sh | ||
kubectl.sh | ||
README.md | ||
ssh.sh | ||
up.sh | ||
virtctl.sh |
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.