Skip to content

Commit c8be3e0

Browse files
committed
cleanup
1 parent ae2b54d commit c8be3e0

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

docs/migration-to-unversioned.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
# Migrating from Versioned to Unversioned Workflows
22

3-
This guide walks you through reverting from worker versioning back to unversioned Temporal Workflows. It assumes you have enabled worker versioning and currently have (or previously had) versioned workers polling the Temporal Server.
3+
This guide walks you through reverting from versioned workflows back to unversioned Temporal Workflows. It assumes you have enabled worker versioning and currently have (or previously had) versioned workers polling the Temporal Server.
44

55
---
66

7+
## Important Note
8+
9+
This guide uses specific terminology that is defined in the [Concepts](concepts.md) document. Please review the concepts document first to understand key terms like **Temporal Worker Deployment**, **`TemporalWorkerDeployment` CRD**, and **Kubernetes `Deployment`**, as well as the relationship between them.
10+
711
## Table of Contents
812

913
- [Prerequisites](#prerequisites)
@@ -64,7 +68,7 @@ worker := worker.New(client, "my-task-queue", worker.Options{})
6468

6569
Deploy the updated worker so that unversioned pollers begin polling the system.
6670

67-
> **Note:** If using the Worker Controller, change the Rollout Strategy in your `TemporalWorkerDeployment` custom resource to `Manual`. This will prevent the controller from automatically setting a new current version.
71+
> **Note:** If using the Worker Controller to make this deployment, change the Rollout Strategy in your `TemporalWorkerDeployment` custom resource to `Manual`. This will prevent the controller from automatically setting the newly generated buildID as the latest current version.
6872
6973
### Step 3: Set Current Version to Unversioned
7074

@@ -94,7 +98,7 @@ This section highlights the ways in which one can delete the corresponding Worke
9498

9599
### Deleting Kubernetes Deployments created with the Worker-Controller:
96100

97-
The Worker Controller will delete Kubernetes Deployments, which represent versioned workers, based on your configured Sunset Strategy. The Worker Controller deletes Kubernetes Deployments for a version once the time since it became drained exceeds the combined `Scaledown` and `Sunset` delay. Deleting these deployments stops the workers from polling the Temporal Server, which is a pre-requisite for deleting a Worker-Version.
101+
The Worker Controller will delete Kubernetes Deployments, which represent versioned workers, based on your configured Sunset Strategy. Specifically, the Controller deletes Kubernetes Deployments for a version once the time since it became drained exceeds the combined `Scaledown` and `Delete` delay. Deleting these deployments stops the workers from polling the Temporal Server, which is a pre-requisite for deleting a Worker-Version.
98102

99103
### Deleting Worker Versions
100104

@@ -107,7 +111,7 @@ temporal worker deployment delete-version \
107111
--build-id <your-build-id>
108112
```
109113

110-
> **Tip:** To skip the drainage requirement, add the `--skip-drainage` flag:
114+
> **Tip:** To skip the draining requirement, add the `--skip-drainage` flag:
111115
>
112116
> ```bash
113117
> temporal worker deployment delete-version \

0 commit comments

Comments
 (0)