containerized-data-importer/cluster-up
Thomas-David Griedel 10e1ba84e3
Add arch check for bazel (#3371)
bazel is not neccesary for unit tests and not supported for s390x yet so we skip the installation

Signed-off-by: Thomas-David Griedel <griedel911@gmail.com>
2024-08-14 23:02:07 +02:00
..
cluster Add arch check for bazel (#3371) 2024-08-14 23:02:07 +02:00
hack Update kubevirtci, 1.30 lanes (#3343) 2024-07-26 06:25:15 +02:00
.gitignore Update kubevirtci (#1579) 2021-01-22 04:04:48 +01:00
check.sh Update kubevirtci, 1.30 lanes (#3343) 2024-07-26 06:25:15 +02: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, 1.29 lanes (#3023) 2024-03-25 23:41:20 +01:00
ssh.sh Ceph WFFC lane set up (#2644) 2023-04-06 18:38:53 +01:00
up.sh Update kubevirtci, 1.30 lanes (#3343) 2024-07-26 06:25:15 +02:00
virtctl.sh update kubevirci and add support for k8s 1.17.0 (#1083) 2020-01-15 17:04:45 +01:00

cluster-up

Prerequisites: podman or docker

cluster-up requires that either podman or docker be installed on the host.

If podman is being used, it is also necessary to enable podman socket with:

sudo systemctl enable podman.socket
sudo systemctl start podman.socket

for more information see:

https://github.com/kubevirt/kubevirtci/blob/main/PODMAN.md

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.