From 74aa1adf84196ca9ff1b97876635c1b5180dee8e Mon Sep 17 00:00:00 2001 From: Chuanying Du Date: Sun, 29 Aug 2021 12:40:23 -0700 Subject: [PATCH 1/2] Update instruction to use K8s 1.21 since 1.16 already been deprecated. Signed-off-by: Chuanying Du --- K8S.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/K8S.md b/K8S.md index eaccf93c73..3bf73c9508 100644 --- a/K8S.md +++ b/K8S.md @@ -8,7 +8,7 @@ cd kubevirtci Start multi node k8s cluster with 2 nics ``` -export KUBEVIRT_PROVIDER=k8s-1.16 KUBEVIRT_NUM_NODES=2 KUBEVIRT_NUM_SECONDARY_NICS=1 +export KUBEVIRT_PROVIDER=k8s-1.21 KUBEVIRT_NUM_NODES=2 KUBEVIRT_NUM_SECONDARY_NICS=1 make cluster-up ``` From 6060faee863a6df83772feb81114d2829af453bb Mon Sep 17 00:00:00 2001 From: Chuanying Du Date: Sun, 29 Aug 2021 12:40:23 -0700 Subject: [PATCH 2/2] Update instruction to use K8s 1.21 since 1.16 already been deprecated. With more info about how to specify KUBEVIRTCI_TAG. Signed-off-by: Chuanying Du --- K8S.md | 5 +++-- cluster-up/README.md | 6 ++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/K8S.md b/K8S.md index 3bf73c9508..a1dce052b8 100644 --- a/K8S.md +++ b/K8S.md @@ -13,12 +13,13 @@ make cluster-up ``` Stop k8s cluster -``` +``` make cluster-down ``` Use provider's kubectl client with kubectl.sh wrapper script -``` +``` +export KUBEVIRTCI_TAG=`curl -L -Ss https://storage.googleapis.com/kubevirt-prow/release/kubevirt/kubevirtci/latest` cluster-up/kubectl.sh get nodes cluster-up/kubectl.sh get pods --all-namespaces ``` diff --git a/cluster-up/README.md b/cluster-up/README.md index acb244310e..8fdcad6621 100644 --- a/cluster-up/README.md +++ b/cluster-up/README.md @@ -10,3 +10,9 @@ 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.