Skip to content

Commit 2be8d18

Browse files
committed
add section for core CAPI pre-release consumption
1 parent 351a463 commit 2be8d18

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

docs/book/src/clusterctl/commands/upgrade.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,22 @@ clusterctl upgrade apply \
123123
In this case, all the provider's versions must be explicitly stated.
124124

125125
</aside>
126+
127+
<aside class="note warning">
128+
129+
<h1> Upgrading to Cluster API core components pre-release versions </h1>
130+
131+
Use `clusterctl` CLI options to target the [desired version](https://github.com/kubernetes-sigs/cluster-api/releases).
132+
133+
The following shows an example of upgrading `bootrap`, `kubeadm` and `core` components to version `v1.6.0-rc.1`:
134+
135+
```bash
136+
TARGET_VERSION=v1.6.0-rc.1
137+
138+
clusterctl upgrade apply \
139+
--bootstrap=kubeadm:${TARGET_VERSION} \
140+
--control-plane=kubeadm:${TARGET_VERSION} \
141+
--core=cluster-api:${TARGET_VERSION}
142+
```
143+
144+
</aside>

0 commit comments

Comments
 (0)