You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: KUBEVIRTCI.md
+13-4Lines changed: 13 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,16 @@ This project uses [kubevirtci](https://github.com/kubevirt/kubevirtci) for devel
11
11
12
12
## Quick Start
13
13
14
+
### Prerequisites
15
+
16
+
-**Docker** (recommended) or Podman for running containers
17
+
- Docker is preferred for running the cluster (runs as root, better /dev/kvm access)
18
+
- Podman can be used for building/pushing images
19
+
- Git (for cloning kubevirtci)
20
+
- Make
21
+
22
+
**Note:** If using both Docker and Podman, the scripts automatically use Docker for cluster operations and Podman for image building. This is optimal for hardware virtualization support.
23
+
14
24
### 1. Start kubevirtci Cluster
15
25
16
26
```bash
@@ -19,7 +29,7 @@ make cluster-up
19
29
20
30
This will:
21
31
- Clone kubevirtci (if not already present in `_kubevirtci/`)
22
-
- Start a Kubernetes cluster with KubeVirt pre-installed
32
+
- Start a Kubernetes cluster (kind-1.34) with KubeVirt pre-installed
23
33
- Export KUBECONFIG for the cluster
24
34
25
35
### 2. Build and Deploy Webhook
@@ -92,7 +102,7 @@ Configuration is managed in `hack/config.sh`:
kubevirtci::kubectl logs -n kubevirt -l kubevirt.io=virt-handler --previous --tail=100 --all-containers=true 2>/dev/null ||echo"No previous logs available (pods may not have restarted yet)"
148
+
149
+
echo"====== Node Status ======"
150
+
kubevirtci::kubectl get nodes -o wide ||true
151
+
kubevirtci::kubectl describe nodes ||true
152
+
55
153
exit 1
56
-
}
154
+
fi
57
155
58
156
log_info "KubeVirt installed successfully"
59
157
else
@@ -72,6 +170,14 @@ main() {
72
170
73
171
if! kubevirtci::kubectl get crd virtualmachines.kubevirt.io &>/dev/null;then
74
172
log_error "KubeVirt CRDs not found after installation!"
0 commit comments