Skip to content

Commit

Permalink
docs: adjust quickstart guide
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesfrey committed Jul 16, 2024
1 parent d6f8339 commit 6daee2c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docs/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ In this guide we will deploy Nginx in a kind cluster and verify connectivity wit

## Prerequisites
Ensure that you have the following installed:
- [clusterctl](https://cluster-api.sigs.k8s.io/user/quick-start.html#install-clusterctl) v1.2 or greater
- [clusterctl](https://cluster-api.sigs.k8s.io/user/quick-start.html#install-clusterctl) v1.7.4 or greater
- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/)
- [kind](https://kind.sigs.k8s.io/)
- [vcluster CLI](https://www.vcluster.com/docs/getting-started/setup)
Expand All @@ -22,7 +22,7 @@ Using `kind` we will create a management cluster for Cluster API to use.
kind create cluster

Creating cluster "kind" ...
✓ Ensuring node image (kindest/node:v1.23.4) 🖼
✓ Ensuring node image (kindest/node:v1.30.0) 🖼
✓ Preparing nodes 📦
✓ Writing configuration 📜
✓ Starting control-plane 🕹️
Expand Down Expand Up @@ -62,13 +62,11 @@ Next we will create our virtual cluster within our `kind` cluster.
```shell
export CLUSTER_NAME=kind
export CLUSTER_NAMESPACE=vcluster
export KUBERNETES_VERSION=1.23.4
export HELM_VALUES="service:\n type: NodePort"
export HELM_VALUES=""

kubectl create namespace ${CLUSTER_NAMESPACE}
clusterctl generate cluster ${CLUSTER_NAME} \
--infrastructure vcluster \
--kubernetes-version ${KUBERNETES_VERSION} \
--target-namespace ${CLUSTER_NAMESPACE} | kubectl apply -f -
```

Expand Down

0 comments on commit 6daee2c

Please sign in to comment.