Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update instruction to use K8s 1.21 since 1.16 already been deprecated. #667

Merged
merged 2 commits into from
Sep 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions K8S.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,18 @@ 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
```

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
```
Expand Down
6 changes: 6 additions & 0 deletions cluster-up/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.