You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
document downgrade concerns for CRD rename migrate
Adds a section explaining rollback procedures to the guide for the v1.6
-> v1.7 migration that involves the rename of TemporalWorkerDeployment
CRD to WorkerDeployment.
Signed-off-by: Jay Pipes <jay.pipes@temporal.io>
Copy file name to clipboardExpand all lines: docs/migration-crd-rename.md
+88Lines changed: 88 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,3 +119,91 @@ If you delete a deprecated resource before creating its replacement, the resourc
119
119
Ready=False reason=DeletingPendingMigration
120
120
message: "This TemporalWorkerDeployment is marked for deletion. Create a WorkerDeployment with the same name and spec to complete migration; deletion will proceed automatically once migration is confirmed."
121
121
```
122
+
123
+
## Downgrading from v1.7 to v1.6
124
+
125
+
There are some important things to consider if you want to roll back
126
+
(downgrade) an installed version of Temporal Worker Controller.
127
+
128
+
> **Warning**: You **should not perform a rollback/downgrade of the Temporal
129
+
> Worker Controller CRDs Helm Chart**. Doing so is a potentially
130
+
> **destructive** operation that can cause your Temporal Worker Deployments to
131
+
> be deleted.
132
+
133
+
To downgrade the Temporal Worker Controller itself, do:
134
+
135
+
```bash
136
+
helm rollback <RELEASE_NAME> <REVISION_NUMBER>
137
+
```
138
+
139
+
Where `<RELEASE_NAME>` is the Helm Release associated with the Temporal Worker
140
+
Controller Helm Chart (**not** the CRDs Chart) and `<REVISION_NUMBER>` is the
141
+
Helm release revision number to roll back to. You can get this information by
142
+
doing:
143
+
144
+
```bash
145
+
helm history -n <TWC_NAMESPACE><TWC_RELEASE_NAME>
146
+
```
147
+
148
+
Where `<TWC_NAMESPACE>` is the Kubernetes Namespace you installed Temporal
149
+
Worker Controller in and `<TWC_RELEASE>` is the name of the Helm Release
150
+
associated with the Temporal Worker Controller Helm Chart.
151
+
152
+
Once you have downgraded the Temporal Worker Controller, you will need to take
153
+
some corrective actions depending on how far down the migration path you went
154
+
when upgrading to the v1.7 Temporal Worker Controller release.
155
+
156
+
If you upgraded the Temporal Worker Controller to v1.7 -- i.e. you successfully
157
+
completed Step 2 above -- but **did not** complete Step 3 (migrating your
158
+
resources), execute the following `kubectl` command to remove the CRD rename
159
+
validation guard on the old `TemporalWorkerDeployment` Custom Resource
0 commit comments