Skip to content

Commit 5b9b327

Browse files
author
Mike Terhar
authored
Add upgrade steps for 1.21 (#634)
1 parent c9a5a96 commit 5b9b327

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

setup/updating.md

+40
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ This guide will show you how to update your Coder deployment.
3838
- We recommend updating no more than one major version at a time (i.e., we
3939
recommend moving from 1.15 to 1.16 only).
4040

41+
- Coder v1.21 introduces new networking features. To opt in, you must migrate
42+
your workspace providers individually after upgrading to v1.21; see
43+
[Upgrade steps for v1.21](#upgrading-to-v121) for more information.
44+
4145
## Update Coder
4246

4347
1. Retrieve the latest repository information:
@@ -219,3 +223,39 @@ If this happens, we recommend uninstalling and reinstalling:
219223

220224
The ingress may attach to a new public IP address; if this happens, you must
221225
update the host and Dev URL IP addresses with your DNS provider.
226+
227+
## Upgrading to v1.21
228+
229+
We introduced [networking
230+
V2](https://coder.com/blog/rearchitecting-coder-networking-with-webrtc) (a.k.a.
231+
NetV2) in v1.21 as an optional operating mode for [workspace
232+
providers](../admin/workspace-providers/index.md). The following steps walk you
233+
through upgrading from an earlier version of Coder to v1.21, then from v1.21 to
234+
v1.22 (or later).
235+
236+
1. Upgrade the main Coder deployment to the most recent v1.21 patch (e.g.,
237+
`1.21.4`).
238+
239+
1. Upgrade your workspace providers (called
240+
[Satellites](../admin/satellites/index.md) in newer versions) to the same
241+
patch of 1.21.
242+
243+
1. Log in to Coder as a site admin or site manager. Go to **Manage** >
244+
**Workspace** Providers and enable **NetV2** for the **Built-in provider**.
245+
246+
1. Enable **NetV2** for each of your workspace providers. Validate that you can
247+
rebuild your workspaces. You may need to update DNS or TLS configurations
248+
for your clusters.
249+
250+
1. After you've upgraded all of your workspace providers, enabled NetV2, and
251+
validated your changes, upgrade the main deployment to the latest v1.22
252+
patch.
253+
254+
1. Remove the workspace provider Helm chart. The final Coder version that uses
255+
the workspace provider Helm chart is v1.21; because the release disowns the
256+
service account from Helm, uninstalling the chart will not impact the
257+
workspace providers.
258+
259+
1. To re-establish the individual clusters as Coder satellites, upgrade Coder to
260+
the latest version and
261+
[follow the satellite installation steps](../admin/satellites/migration.md).

0 commit comments

Comments
 (0)