---
title: "Safe deployments with Temporal Worker Versioning on Kubernetes"
url: https://daily.dev/posts/safe-deployments-with-temporal-worker-versioning-on-kubernetes-lnroxr8qh
source_url: https://temporal.io/blog/safe-deployments-with-temporal-worker-versioning-on-kubernetes
type: article
source: "Temporal"
published: 2026-08-06T10:37:27.207Z
updated: 2026-08-06T10:40:55.412Z
tags: ["python", "kubernetes", "workflow-orchestration"]
reading_time: 22
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Safe deployments with Temporal Worker Versioning on Kubernetes

**[Temporal](https://daily.dev/sources/temporal)** · 22 min read · 0 upvotes · 0 comments

## Summary

A hands-on walkthrough of Temporal's Worker Versioning on Kubernetes to prevent non-determinism errors when deploying code changes to in-flight Workflows. The tutorial demonstrates the problem with a Python research agent Workflow, then solves it using the Temporal Worker Controller — a Kubernetes operator that runs multiple Worker versions simultaneously ('rainbow deployments'), routing old Workflows to old Workers and new Workflows to new Workers. It also covers migrating long-running Workflows via Continue-as-New with AUTO_UPGRADE behavior, detecting version changes with `is_target_worker_deployment_version_changed()`, handling idle sleeping Workflows with a wake-up Signal, and progressive rollout strategies with per-version autoscaling.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://temporal.io/blog/safe-deployments-with-temporal-worker-versioning-on-kubernetes>

## Similar posts on daily.dev

- [Announcing Worker Versioning Public Preview: Pin Workflows to a single code version](https://daily.dev/posts/announcing-worker-versioning-public-preview-pin-workflows-to-a-single-code-version-3hhbdq4e2) · Temporal · 1 upvotes · 0 comments
- [Safe, versioned Worker Deployments on Kubernetes: Now with autoscaling\!](https://daily.dev/posts/safe-versioned-worker-deployments-on-kubernetes-now-with-autoscaling--trworamoi) · Temporal · 0 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python), [#kubernetes](https://daily.dev/tags/kubernetes), [#workflow-orchestration](https://daily.dev/tags/workflow-orchestration)

[View this post on daily.dev](https://daily.dev/posts/safe-deployments-with-temporal-worker-versioning-on-kubernetes-lnroxr8qh)
