Skip to content

Commit d233c8f

Browse files
authored
Merge pull request #648 from andrewsykim/fix-docs-version
update default Kubernetes version in docs to v1.16.2
2 parents 702304a + 8ff43b3 commit d233c8f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/getting_started.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ In order for `clusterctl` to bootstrap a management cluster on vSphere, it must
4646

4747
#### Uploading the CAPV Machine Image
4848

49-
It is required that machines provisioned by CAPV use one of the official CAPV machine images as a VM template. The machine images are retrievable from public URLs. CAPV currently supports machine images based on Ubuntu 18.04 and CentOS 7. A list of published machine images is available [here](../README.md#kubernetes-versions-with-published-ovas). For this guide we'll be deploying Kubernetes v1.15.4 on Ubuntu 18.04 (link to [machine image](https://storage.googleapis.com/capv-images/release/v1.15.4/ubuntu-1804-kube-v1.15.4.ova)).
49+
It is required that machines provisioned by CAPV use one of the official CAPV machine images as a VM template. The machine images are retrievable from public URLs. CAPV currently supports machine images based on Ubuntu 18.04 and CentOS 7. A list of published machine images is available [here](../README.md#kubernetes-versions-with-published-ovas). For this guide we'll be deploying Kubernetes v1.16.2 on Ubuntu 18.04 (link to [machine image](https://storage.googleapis.com/capv-images/release/v1.16.2/ubuntu-1804-kube-v1.16.2.ova)).
5050

5151
[Create a VM template](https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.vm_admin.doc/GUID-17BEDA21-43F6-41F4-8FB2-E01D275FE9B4.html) using the OVA URL above. The rest of the guide will assume you named the VM template `ubuntu-1804-kube-v1.15.4`.
5252

5353
**Note:** If you are planning to use CNS/CSI then you will need to ensure that the template is at least at VM Hardware Version 13, This is done out-of-the-box for images of K8s version `v1.15.4` and above. For versions lower than this you will need to upgrade the VMHW either [in the UI](https://kb.vmware.com/s/article/1010675) or with [`govc`](https://github.com/vmware/govmomi/tree/master/govc) as such:
5454

5555
```sh
56-
govc vm.upgrade -version=13 -vm ubuntu-1804-kube-v1.15.3
56+
govc vm.upgrade -version=13 -vm ubuntu-1804-kube-v1.16.2
5757
```
5858

5959
### Generating YAML for the Bootstrap Cluster
@@ -90,7 +90,7 @@ export VSPHERE_MEM_MIB='2048' # (optional) The memory (in
9090
export SSH_AUTHORIZED_KEY='ssh-rsa AAAAB3N...' # (optional) The public ssh authorized key on all machines in this cluster
9191
9292
# Kubernetes configs
93-
export KUBERNETES_VERSION='1.15.4' # (optional) The Kubernetes version to use, defaults to 1.15.3
93+
export KUBERNETES_VERSION='1.16.2' # (optional) The Kubernetes version to use, defaults to 1.16.2
9494
export SERVICE_CIDR='100.64.0.0/13' # (optional) The service CIDR of the management cluster, defaults to "100.64.0.0/13"
9595
export CLUSTER_CIDR='100.96.0.0/11' # (optional) The cluster CIDR of the management cluster, defaults to "100.96.0.0/11"
9696
export SERVICE_DOMAIN='cluster.local' # (optional) The k8s service domain of the management cluster, defaults to "cluster.local"
@@ -267,7 +267,7 @@ spec:
267267
kind: VSphereMachine
268268
name: workload-cluster-1-controlplane-0
269269
namespace: default
270-
version: 1.15.4
270+
version: 1.16.2
271271
---
272272
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2
273273
kind: VSphereMachine
@@ -287,7 +287,7 @@ spec:
287287
dhcp6: false
288288
networkName: vm-network-1
289289
numCPUs: 2
290-
template: ubuntu-1804-kube-v1.15.4
290+
template: ubuntu-1804-kube-v1.16.2
291291
```
292292

293293
To add an additional worker node to your cluster, please see the generated machineset file `./out/workload-cluster-1/machinedeployment.yaml`:
@@ -346,7 +346,7 @@ spec:
346346
kind: VSphereMachineTemplate
347347
name: workload-cluster-1-md-0
348348
namespace: default
349-
version: 1.15.4
349+
version: 1.16.2
350350
---
351351
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2
352352
kind: VSphereMachineTemplate
@@ -364,7 +364,7 @@ spec:
364364
- dhcp4: true
365365
networkName: vm-network-1
366366
numCPUs: 2
367-
template: ubuntu-1804-kube-v1.15.4
367+
template: ubuntu-1804-kube-v1.16.2
368368
```
369369

370370
<!--

0 commit comments

Comments
 (0)