From e9cd72b352505c8c351d00b71be452c62dddb4f1 Mon Sep 17 00:00:00 2001 From: Nahshon Unna-Tsameret Date: Wed, 22 Jan 2025 16:03:44 +0200 Subject: [PATCH] Update KubeVirt quickstart guide The KubeVirt sections in the quickstart guide are a bit old, and are not working as expected, as result of changes in several components. This PR updates the old KubeVirt sections, to a working instructions. In addition, the guide now presents all the supported boot images. Signed-off-by: Nahshon Unna-Tsameret --- docs/book/src/user/quick-start.md | 59 ++++++++++++++++++++++++------- 1 file changed, 46 insertions(+), 13 deletions(-) diff --git a/docs/book/src/user/quick-start.md b/docs/book/src/user/quick-start.md index 9975db63f59f..8acecdd0fa56 100644 --- a/docs/book/src/user/quick-start.md +++ b/docs/book/src/user/quick-start.md @@ -150,11 +150,11 @@ a target [management cluster] on the selected [infrastructure provider]. #### Install the Calico CNI Now we'll need to install a CNI. In this example, we're using calico, but other CNIs should work as well. Please see [calico installation guide](https://projectcalico.docs.tigera.io/getting-started/kubernetes/self-managed-onprem/onpremises#install-calico) - for more details (use the "Manifest" tab). Below is an example of how to install calico version v3.24.4. + for more details (use the "Manifest" tab). Below is an example of how to install calico version v3.29.1. Use the Calico manifest to create the required resources; e.g.: ```bash - kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/v3.24.4/manifests/calico.yaml + kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/v3.29.1/manifests/calico.yaml ``` {{#/tab }} @@ -652,12 +652,31 @@ kubectl wait pods -n metallb-system -l app=metallb,component=controller --for=co kubectl wait pods -n metallb-system -l app=metallb,component=speaker --for=condition=Ready --timeout=2m ``` -Now, we'll create the `IPAddressPool` and the `L2Advertisement` custom resources. The script below creates the CRs with -the right addresses, that match to the kind cluster addresses: +Now, we'll create the `IPAddressPool` and the `L2Advertisement` custom resources. For that, we'll need to set the IP +range. First, we'll read the `kind` network, in order to find its subnet: ```bash -GW_IP=$(docker network inspect -f '{{range .IPAM.Config}}{{.Gateway}}{{end}}' kind) -NET_IP=$(echo ${GW_IP} | sed -E 's|^([0-9]+\.[0-9]+)\..*$|\1|g') -cat <