@@ -30,7 +30,11 @@ Please install the latest version of [kind](https://kind.sigs.k8s.io/docs/user/q
30
30
### Create ` kind ` cluster
31
31
32
32
``` console
33
+ # For Kind
33
34
kind create cluster --name=capn
35
+
36
+ # For Minikube
37
+ minikube start
34
38
```
35
39
36
40
### Install ` cert-manager `
@@ -106,8 +110,14 @@ cd cluster-api-provider-nested
106
110
107
111
``` console
108
112
PULL_POLICY=Never TAG=dev make docker-build release-manifests
113
+
114
+ # For Kind
109
115
kind load docker-image gcr.io/cluster-api-nested-controller-amd64:dev --name=capn
110
116
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
111
121
```
112
122
113
123
### Deploy CAPN
@@ -209,9 +219,15 @@ Events:
209
219
Please follow the following guidnace to workaround:
210
220
211
221
``` console
222
+ # Kind
212
223
kind load docker-image docker.io/virtualcluster/apiserver-v1.16.2:latest --name=capn
213
224
kind load docker-image docker.io/virtualcluster/controller-manager-v1.16.2:latest --name=capn
214
225
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
215
231
```
216
232
217
233
Get all of the StatefulSet for Tenant Cluster and update the ` imagePullPolicy ` to ` Never ` .
@@ -268,5 +284,9 @@ kubectl --kubeconfig kubeconfig get all -A
268
284
### Clean Up
269
285
270
286
``` shell
287
+ # Kind
271
288
kind delete cluster --name=capn
272
- ```
289
+
290
+ # Minikube
291
+ Minikube delete
292
+ ```
0 commit comments