Skip to content

Commit 45ff463

Browse files
authored
Merge pull request #806 from yastij/prep-rc
update docs and links to prep for rc-2
2 parents a54d4ea + 8bcc667 commit 45ff463

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

docs/getting_started.md

+24-2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,22 @@ named the VM template `ubuntu-1804-kube-v1.17.3`.
5353

5454
Repeat again for the [HAProxy template image][haproxy-machine-image].
5555

56+
to enable faster clone operation, linked clone mode is the default `cloneMode` for `vsphereMachines` and is highly recommended. To be able to use it, you will need to do the following for your VM template:
57+
58+
```shell
59+
govc vm.markasvm -pool Compute-ResourcePool ubuntu-1804-kube-v1.17.3
60+
govc snapshot.create -vm ubuntu-1804-kube-v1.17.3 root
61+
govc vm.markastemplate ubuntu-1804-kube-v1.17.3
62+
```
63+
64+
for the HAProxy VM template:
65+
66+
```shell
67+
govc vm.markasvm -pool Compute-ResourcePool capv-haproxy-v0.6.0-rc.2.ova
68+
govc snapshot.create -vm capv-haproxy-v0.6.0-rc.2.ova root
69+
govc vm.markastemplate capv-haproxy-v0.6.0-rc.2.ova
70+
```
71+
5672
**Note:** When creating the OVA template via vSphere using the URL method, please make sure the VM template name is the
5773
same as the value specified by the `VSPHERE_TEMPLATE` and `VSPHERE_HAPROXY_TEMPLATE` environment variables in the
5874
`envvars.txt` file, taking care of the `.ova` suffix for the template name.
@@ -144,7 +160,13 @@ kubectl get secret/vsphere-quickstart-kubeconfig -o json \
144160
> ./vsphere-quickstart.kubeconfig
145161
```
146162

147-
The kubeconfig can then be used to access the cluster:
163+
The kubeconfig can then be used to apply addons:
164+
165+
```shell
166+
KUBECONFIG=vsphere-quickstart.kubeconfig kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/cluster-api-provider-vsphere/v0.6.0-rc.2/examples/default/addons.yaml
167+
```
168+
169+
after that you should see your nodes turn into ready:
148170

149171
```shell
150172
$ KUBECONFIG=vsphere-quickstart.kubeconfig kubectl get nodes
@@ -164,6 +186,6 @@ vsphere-quickstart-9qtfd Ready master
164186
[kubectl]: https://kubernetes.io/docs/tasks/tools/install-kubectl/
165187
[ovas]: ../README.md#kubernetes-versions-with-published-ovas
166188
[default-machine-image]: https://storage.googleapis.com/capv-images/release/v1.17.3/ubuntu-1804-kube-v1.17.3.ova
167-
[haproxy-machine-image]: https://storage.googleapis.com/capv-images/extra/haproxy/release/v0.6.0-rc.1/capv-haproxy.ova
189+
[haproxy-machine-image]: https://storage.googleapis.com/capv-images/extra/haproxy/release/v0.6.0-rc.2/capv-haproxy-v0.6.0-rc.2.ova
168190
[image-builder]: https://github.com/kubernetes-sigs/image-builder
169191
[govc]: https://github.com/vmware/govmomi/tree/master/govc

0 commit comments

Comments
 (0)