Skip to content
This repository was archived by the owner on Oct 28, 2024. It is now read-only.

Commit 5624b92

Browse files
committed
add minikube info into dev doc
1 parent 6586c68 commit 5624b92

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

docs/dev-quickstart.md

+21-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ Please install the latest version of [kind](https://kind.sigs.k8s.io/docs/user/q
3030
### Create `kind` cluster
3131

3232
```console
33+
# For Kind
3334
kind create cluster --name=capn
35+
36+
# For Minikube
37+
minikube start
3438
```
3539

3640
### Install `cert-manager`
@@ -106,8 +110,14 @@ cd cluster-api-provider-nested
106110

107111
```console
108112
PULL_POLICY=Never TAG=dev make docker-build release-manifests
113+
114+
# For Kind
109115
kind load docker-image gcr.io/cluster-api-nested-controller-amd64:dev --name=capn
110116
kind load docker-image gcr.io/nested-controlplane-controller-amd64:dev --name=capn
117+
118+
# For Minikube
119+
minikube image load gcr.io/nested-controlplane-controller-amd64:dev
120+
minikube image load gcr.io/cluster-api-nested-controller-amd64:dev
111121
```
112122

113123
### Deploy CAPN
@@ -209,9 +219,15 @@ Events:
209219
Please follow the following guidnace to workaround:
210220

211221
```console
222+
# Kind
212223
kind load docker-image docker.io/virtualcluster/apiserver-v1.16.2:latest --name=capn
213224
kind load docker-image docker.io/virtualcluster/controller-manager-v1.16.2:latest --name=capn
214225
kind load docker-image docker.io/virtualcluster/etcd-v3.4.0:latest --name=capn
226+
227+
# Minikube
228+
minikube image load docker.io/virtualcluster/apiserver-v1.16.2:latest
229+
minikube image load docker.io/virtualcluster/controller-manager-v1.16.2:latest
230+
minikube image load docker.io/virtualcluster/etcd-v3.4.0:latest
215231
```
216232

217233
Get all of the StatefulSet for Tenant Cluster and update the `imagePullPolicy` to `Never`.
@@ -268,5 +284,9 @@ kubectl --kubeconfig kubeconfig get all -A
268284
### Clean Up
269285

270286
```shell
287+
# Kind
271288
kind delete cluster --name=capn
272-
```
289+
290+
# Minikube
291+
Minikube delete
292+
```

0 commit comments

Comments
 (0)