# \#kubernetes

**URL:** https://community.temporal.io/tag/kubernetes/131.md

[Latest](https://community.temporal.io/latest.md) · [Categories](https://community.temporal.io/categories.md) · [Tags](https://community.temporal.io/tags.md)

---

## [Traffic is not load balanced among all worker-service instances deployed in Kubernetes](https://community.temporal.io/t/traffic-is-not-load-balanced-among-all-worker-service-instances-deployed-in-kubernetes/19681)

<div class="topic-metadata">

**Author:** [@Rami](https://community.temporal.io/u/Rami)\
**Replies:** 5\
**Last updated:** [November 15, 2026, 7:11am UTC](https://community.temporal.io/t/traffic-is-not-load-balanced-among-all-worker-service-instances-deployed-in-kubernetes/19681 "2026-11-15T07:11:24Z")

</div>

Hi everyone, We recently deployed Temporal on Kubernetes, with each service (frontend, history, matching, and worker) running in its own Deployment. Each service is configured with 2 replicas. While observing the clust…

---

## [Selfhosted: Frontend's readiness probe fails, pod does not start](https://community.temporal.io/t/selfhosted-frontends-readiness-probe-fails-pod-does-not-start/19496)

<div class="topic-metadata">

**Author:** [@Ankit\_Paudel](https://community.temporal.io/u/Ankit_Paudel)\
**Replies:** 1\
**Last updated:** [April 20, 2026, 6:28pm UTC](https://community.temporal.io/t/selfhosted-frontends-readiness-probe-fails-pod-does-not-start/19496 "2026-04-20T18:28:26Z")

</div>

I could not get selfhosted temporal to deploy, the default readiness probe of grpc on 7233 does not pass. It might be due to k8s’s grpc check not supporting tls, not 100% sure on that though, I was using helm chart of v…

---

## [Cross-region MySQL Deployment - context deadline exceeded errors in history pod](https://community.temporal.io/t/cross-region-mysql-deployment-context-deadline-exceeded-errors-in-history-pod/18693)

<div class="topic-metadata">

**Author:** [@lss](https://community.temporal.io/u/lss)\
**Replies:** 2\
**Last updated:** [March 1, 2026, 2:14am UTC](https://community.temporal.io/t/cross-region-mysql-deployment-context-deadline-exceeded-errors-in-history-pod/18693 "2026-03-01T02:14:53Z")

</div>

Hi temporal team, We are experiencing persistent “context deadline exceeded” errors in our Temporal deployment, specifically in the temporal-history pod. Here’s our setup: Temporal v 1.21.3 on Kubernetes cluster in In…

---

## [Default Cluster Worker OIDC auth](https://community.temporal.io/t/default-cluster-worker-oidc-auth/12073)

<div class="topic-metadata">

**Author:** [@Troy\_Sampson](https://community.temporal.io/u/Troy_Sampson)\
**Replies:** 4\
**Last updated:** [October 24, 2025, 4:00pm UTC](https://community.temporal.io/t/default-cluster-worker-oidc-auth/12073 "2025-10-24T16:00:51Z")

</div>

Hello, We are running a local temporal cluster for dev/poc and we are using OIDC auth keycloak. We have our custom workers setup and working correctly with a JWTHeaderProvider that resembles this: type JWTHeaderProvid…

---

## [Temporal io restart problem on Kubernetes node restart](https://community.temporal.io/t/temporal-io-restart-problem-on-kubernetes-node-restart/566)

<div class="topic-metadata">

**Author:** [@shawel\_negussie](https://community.temporal.io/u/shawel_negussie)\
**Replies:** 27\
**Last updated:** [July 13, 2025, 4:18pm UTC](https://community.temporal.io/t/temporal-io-restart-problem-on-kubernetes-node-restart/566 "2025-07-13T16:18:40Z")

</div>

I used helm chart to deploy temporal IO in Kubernetes. It was working great but i noticed frontend and history server are failing to restart. I noticed the following log “waiting for default keyspace to become ready”. i…

---

## [Understanding worker.run(), worker.getState() and worker.shutDown() better (Express app and k8s probes)](https://community.temporal.io/t/understanding-worker-run-worker-getstate-and-worker-shutdown-better-express-app-and-k8s-probes/10368)

<div class="topic-metadata">

**Author:** [@jk1234](https://community.temporal.io/u/jk1234)\
**Replies:** 5\
**Last updated:** [June 27, 2025, 6:36pm UTC](https://community.temporal.io/t/understanding-worker-run-worker-getstate-and-worker-shutdown-better-express-app-and-k8s-probes/10368 "2025-06-27T18:36:34Z")

</div>

Im not sure I fully understand the behaviour of an instance of the worker, worker.run() etc We deploy the worker as an app via k8s. Currently the application just initializes the worker and we have an Express server run…

---

## [Weird Behaviour with Archival - Requires HttpGet before archiving](https://community.temporal.io/t/weird-behaviour-with-archival-requires-httpget-before-archiving/3729)

<div class="topic-metadata">

**Author:** [@Vikas\_NS](https://community.temporal.io/u/Vikas_NS)\
**Replies:** 11\
**Last updated:** [May 28, 2025, 2:25pm UTC](https://community.temporal.io/t/weird-behaviour-with-archival-requires-httpget-before-archiving/3729 "2025-05-28T14:25:49Z")

</div>

I need to add the below code in the archival code. (first line of Archvie method in VisibilityArchiver.go & HistoryArchiver.go under s3store package) If not the archival doesn’t work Not sure why. http.Get("MY-S3-URL…

---

## [Proper termination of a worker in Python in Kubernetes](https://community.temporal.io/t/proper-termination-of-a-worker-in-python-in-kubernetes/12087)

<div class="topic-metadata">

**Author:** [@jefftherobot](https://community.temporal.io/u/jefftherobot)\
**Replies:** 13\
**Last updated:** [May 9, 2025, 2:23pm UTC](https://community.temporal.io/t/proper-termination-of-a-worker-in-python-in-kubernetes/12087 "2025-05-09T14:23:59Z")

</div>

Hi, I am testing a new worker in python that is going to be run in Kubernetes as a job, however it seems that after the temporal worker has been completed, the pod stays alive. I am trying to make this run as an Argo W…

---

## [Worker integration with KEDA scaling](https://community.temporal.io/t/worker-integration-with-keda-scaling/8056)

<div class="topic-metadata">

**Author:** [@rocketraman](https://community.temporal.io/u/rocketraman)\
**Replies:** 5\
**Last updated:** [April 8, 2025, 5:33pm UTC](https://community.temporal.io/t/worker-integration-with-keda-scaling/8056 "2025-04-08T17:33:55Z")

</div>

KEDA allows Kubernetes deployments to be scaled based on workloads. A scaler can be created that monitors particular resources – in this case possibly a Temporal worker queue length, and can thus scale a deployment base…

---

## [Temporal-worker pod fails to connect to frontend after changing node IP](https://community.temporal.io/t/temporal-worker-pod-fails-to-connect-to-frontend-after-changing-node-ip/16083)

<div class="topic-metadata">

**Author:** [@charles.mt](https://community.temporal.io/u/charles.mt)\
**Replies:** 2\
**Last updated:** [April 3, 2025, 9:18am UTC](https://community.temporal.io/t/temporal-worker-pod-fails-to-connect-to-frontend-after-changing-node-ip/16083 "2025-04-03T09:18:42Z")

</div>

I have a single-node k3s cluster running temporal installed with the helm chart. After changing the node IP address, the temporal-worker pod fails to connect to the frontend with error {"level":"warn","ts":"2025-01-15T…

---

## [Temporal Pod Abruptly Restarted](https://community.temporal.io/t/temporal-pod-abruptly-restarted/16425)

<div class="topic-metadata">

**Author:** [@Dakshay\_S](https://community.temporal.io/u/Dakshay_S)\
**Replies:** 8\
**Last updated:** [February 12, 2025, 5:55am UTC](https://community.temporal.io/t/temporal-pod-abruptly-restarted/16425 "2025-02-12T05:55:22Z")

</div>

We encountered an unusual issue with our Temporal workers deployed on Kubernetes (3 pods handling the same task queues). One pod restarted abruptly without receiving a SIGTERM signal. There were no error traces or panics…

---

## [Temporal Helm chart search attribute support?](https://community.temporal.io/t/temporal-helm-chart-search-attribute-support/16440)

<div class="topic-metadata">

**Author:** [@Stefanos\_Malliaros](https://community.temporal.io/u/Stefanos_Malliaros)\
**Replies:** 0\
**Last updated:** [February 10, 2025, 1:16pm UTC](https://community.temporal.io/t/temporal-helm-chart-search-attribute-support/16440 "2025-02-10T13:16:41Z")

</div>

Hello all, I have deployed temporal in Kubernetes using the provided helm chart. Is there a way to configure search attributes from the helm values files?

---

## [Kubernetes + Helm + Nginx Ingress in combination with Temporal TLS not working. Help needed](https://community.temporal.io/t/kubernetes-helm-nginx-ingress-in-combination-with-temporal-tls-not-working-help-needed/12869)

<div class="topic-metadata">

**Author:** [@marcel](https://community.temporal.io/u/marcel)\
**Replies:** 2\
**Last updated:** [January 9, 2025, 9:28am UTC](https://community.temporal.io/t/kubernetes-helm-nginx-ingress-in-combination-with-temporal-tls-not-working-help-needed/12869 "2025-01-09T09:28:17Z")

</div>

Hi guys, we are trying to run temporal on Kubernetes with the provided helm chart example of temporal. But we are struggling a lot with the proper configuration when it comes to TLS. What we got so far is that both ngin…

---

## [Workflows Remain Stuck on the Same Worker Pod After ContinueAsNew and Fail with StartToCloseTimeout](https://community.temporal.io/t/workflows-remain-stuck-on-the-same-worker-pod-after-continueasnew-and-fail-with-starttoclosetimeout/15401)

<div class="topic-metadata">

**Author:** [@PurpleRain](https://community.temporal.io/u/PurpleRain)\
**Replies:** 2\
**Last updated:** [November 29, 2024, 8:54pm UTC](https://community.temporal.io/t/workflows-remain-stuck-on-the-same-worker-pod-after-continueasnew-and-fail-with-starttoclosetimeout/15401 "2024-11-29T20:54:17Z")

</div>

I am experiencing an issue with Temporal workflows. Here’s the scenario: I have a parent workflow that spawns 25 child workflows in parallel. Each child workflow runs an activity and, after completing the activity, uses…

---

## [PermissionDenied using .Net SDK and CLI works just fine](https://community.temporal.io/t/permissiondenied-using-net-sdk-and-cli-works-just-fine/14507)

<div class="topic-metadata">

**Author:** [@JR\_Bancel](https://community.temporal.io/u/JR_Bancel)\
**Replies:** 3\
**Last updated:** [October 11, 2024, 8:48pm UTC](https://community.temporal.io/t/permissiondenied-using-net-sdk-and-cli-works-just-fine/14507 "2024-10-11T20:48:20Z")

</div>

I have deployed Temporal on Kubernetes using the Helm chart and the default settings. When I use the CLI it works: \> temporal env set alp.address \<HOST\>:443 \> temporal operator cluster health --env alp --tls …

---

## [Temporal Helm Chart RBAC](https://community.temporal.io/t/temporal-helm-chart-rbac/12911)

<div class="topic-metadata">

**Author:** [@royalsaini](https://community.temporal.io/u/royalsaini)\
**Replies:** 0\
**Last updated:** [July 22, 2024, 2:00pm UTC](https://community.temporal.io/t/temporal-helm-chart-rbac/12911 "2024-07-22T14:00:19Z")

</div>

Hello, Ive been having trouble integrating RBAC in to Temporal Helm chats using MS Entra. I have been able to get SSO working and I deploy temporal via rancher locally. Ive seen some posts/ guides use frontend-internal,…

---

## [Kubernates autoscaling of workers](https://community.temporal.io/t/kubernates-autoscaling-of-workers/12778)

<div class="topic-metadata">

**Author:** [@vasanthkumar19](https://community.temporal.io/u/vasanthkumar19)\
**Replies:** 0\
**Last updated:** [July 10, 2024, 5:53am UTC](https://community.temporal.io/t/kubernates-autoscaling-of-workers/12778 "2024-07-10T05:53:16Z")

</div>

Hi we are running temporal server and temporal workers in kubernates. We want to auto scale temporal workers. Is there a out of the box integration with helm and kubernates with temporal . What are the recommendations ?…

---

## [Temporal deployment to minikube using helm-chart minimal install instruction isn't working](https://community.temporal.io/t/temporal-deployment-to-minikube-using-helm-chart-minimal-install-instruction-isnt-working/12092)

<div class="topic-metadata">

**Author:** [@AkashShetty](https://community.temporal.io/u/AkashShetty)\
**Replies:** 2\
**Last updated:** [June 10, 2024, 9:36pm UTC](https://community.temporal.io/t/temporal-deployment-to-minikube-using-helm-chart-minimal-install-instruction-isnt-working/12092 "2024-06-10T21:36:15Z")

</div>

I’m trying to install temporal on my local minikube instance and am following instructions found here. However, after running the helm command majority of the pods are stuck in “CrashLoopBackoff” state. temporal % kube…

---

## [Struggling to get ingress working for frontend gRPC service](https://community.temporal.io/t/struggling-to-get-ingress-working-for-frontend-grpc-service/4018)

<div class="topic-metadata">

**Author:** [@Sam\_Sokolin](https://community.temporal.io/u/Sam_Sokolin)\
**Replies:** 9\
**Last updated:** [May 14, 2024, 11:34am UTC](https://community.temporal.io/t/struggling-to-get-ingress-working-for-frontend-grpc-service/4018 "2024-05-14T11:34:45Z")

</div>

I’ve deployed Temporal on K8s and I’m not able to connect to the frontend gRPC service from outside the cluster. The ingress I’ve set up works for the web service, but I can’t seem to get it to work for gRPC. I’m using t…

---

## [Kubernetes - Schema Upgrade Stuck with MySQL](https://community.temporal.io/t/kubernetes-schema-upgrade-stuck-with-mysql/12066)

<div class="topic-metadata">

**Author:** [@qxtsa](https://community.temporal.io/u/qxtsa)\
**Replies:** 1\
**Last updated:** [May 10, 2024, 12:06pm UTC](https://community.temporal.io/t/kubernetes-schema-upgrade-stuck-with-mysql/12066 "2024-05-10T12:06:50Z")

</div>

Does anyone perhaps know why temporal with a first time installation is stuck on the schema upgrades? It does not give any visible warnings or errors. Just times out and fails to complete. MySQL Version: 8.0.35 Kubern…

---

## [Temporal-matching logs](https://community.temporal.io/t/temporal-matching-logs/11469)

<div class="topic-metadata">

**Author:** [@AlEXy](https://community.temporal.io/u/AlEXy)\
**Replies:** 2\
**Last updated:** [March 27, 2024, 7:22am UTC](https://community.temporal.io/t/temporal-matching-logs/11469 "2024-03-27T07:22:02Z")

</div>

temporal-matching trying to write logs in service field, but in our index format like service.name etc. Can we somehow tell to write logs correct to our index?

---

## [Need suggestion in scale worker from 0 to 1 with keda](https://community.temporal.io/t/need-suggestion-in-scale-worker-from-0-to-1-with-keda/11404)

<div class="topic-metadata">

**Author:** [@ddj](https://community.temporal.io/u/ddj)\
**Replies:** 1\
**Last updated:** [March 20, 2024, 4:03pm UTC](https://community.temporal.io/t/need-suggestion-in-scale-worker-from-0-to-1-with-keda/11404 "2024-03-20T16:03:55Z")

</div>

We have a workflow that only run seldomly and the workflow is not latency sensitive so we would like to find a way to scale to 0 when no running activity and scale to 1 or more when there’s work comes in. It seems tempo…

---

## [Concurrent Execution of Workflow and Activities in One Worker Instance](https://community.temporal.io/t/concurrent-execution-of-workflow-and-activities-in-one-worker-instance/11306)

<div class="topic-metadata">

**Author:** [@Sriram\_Manikanth](https://community.temporal.io/u/Sriram_Manikanth)\
**Replies:** 7\
**Last updated:** [March 18, 2024, 4:45pm UTC](https://community.temporal.io/t/concurrent-execution-of-workflow-and-activities-in-one-worker-instance/11306 "2024-03-18T16:45:34Z")

</div>

Hello Temporal Community, I hope this message finds you well. I’m currently working on Temporal Implementation for managing workflows execution. I’ve encountered a challenge and would greatly appreciate your insights an…

---

## [Scaling Temporal Workers with K8S](https://community.temporal.io/t/scaling-temporal-workers-with-k8s/10919)

<div class="topic-metadata">

**Author:** [@Arihant\_Jain](https://community.temporal.io/u/Arihant_Jain)\
**Replies:** 1\
**Last updated:** [February 22, 2024, 5:31pm UTC](https://community.temporal.io/t/scaling-temporal-workers-with-k8s/10919 "2024-02-22T17:31:28Z")

</div>

We’re creating Temporal workers on-the-fly based on tasks, especially those that are time-sensitive or prioritized. Now, we’re exploring ways to scale these runtime workers using Kubernetes (K8s). What would be the best …

---

## [Rate limit exceeded when replica count \> 1](https://community.temporal.io/t/rate-limit-exceeded-when-replica-count-1/10743)

<div class="topic-metadata">

**Author:** [@rvr](https://community.temporal.io/u/rvr)\
**Replies:** 0\
**Last updated:** [January 22, 2024, 2:49pm UTC](https://community.temporal.io/t/rate-limit-exceeded-when-replica-count-1/10743 "2024-01-22T14:49:09Z")

</div>

Hello, I am deploying Temporal via Helm Charts to Kubernetes (with Istio service mesh), and I ran into a strange problem. At first, all services deploy properly, they seem to communicate with each other using both membe…

---

## [Temporal with K8S job pattern](https://community.temporal.io/t/temporal-with-k8s-job-pattern/6180)

<div class="topic-metadata">

**Author:** [@beta\_alpha](https://community.temporal.io/u/beta_alpha)\
**Replies:** 2\
**Last updated:** [January 17, 2024, 3:19pm UTC](https://community.temporal.io/t/temporal-with-k8s-job-pattern/6180 "2024-01-17T15:19:13Z")

</div>

For temporal worker, it would be very nice to have autoscale & per resource per task ability. Use k8s “deployment” type worker, auto scale base on task/worker metric is not enough. For different task input it’s resource…

---

## [Worker does not start on kubernetes](https://community.temporal.io/t/worker-does-not-start-on-kubernetes/4622)

<div class="topic-metadata">

**Author:** [@Mundus\_Creatus\_Est](https://community.temporal.io/u/Mundus_Creatus_Est)\
**Replies:** 6\
**Last updated:** [January 5, 2024, 10:49am UTC](https://community.temporal.io/t/worker-does-not-start-on-kubernetes/4622 "2024-01-05T10:49:09Z")

</div>

All pods are working ony worker is restarting. It’s fresh installation, empty database with new schema. server-version":"1.16.1 "msg":"worker starting","service":"worker","component":"worker","logging-call-at":"service…

---

## [Suggested metrics to autoscale Temporal workers on](https://community.temporal.io/t/suggested-metrics-to-autoscale-temporal-workers-on/5870)

<div class="topic-metadata">

**Author:** [@rifruf](https://community.temporal.io/u/rifruf)\
**Replies:** 9\
**Last updated:** [January 3, 2024, 1:18am UTC](https://community.temporal.io/t/suggested-metrics-to-autoscale-temporal-workers-on/5870 "2024-01-03T01:18:19Z")

</div>

Hi what are the general metrics you recommend autoscaling workers on? I currently have 3 workers, each working on a separate task queue. 2 of them only execute activities, while 1 only executes workflows. I saw posts see…

---

## [Temporal Workflows and/or Kubernetes Operator reconciliation loops?](https://community.temporal.io/t/temporal-workflows-and-or-kubernetes-operator-reconciliation-loops/10437)

<div class="topic-metadata">

**Author:** [@guitarmanvt](https://community.temporal.io/u/guitarmanvt)\
**Replies:** 1\
**Last updated:** [December 25, 2023, 3:06am UTC](https://community.temporal.io/t/temporal-workflows-and-or-kubernetes-operator-reconciliation-loops/10437 "2023-12-25T03:06:42Z")

</div>

Hi. This topic is not necessarily an either/or comparison, but I’m also interested in how to make a Temporal Workflow work like a Kubernetes Operator reconciliation loop. My current use case involves automating a comple…

---

## [Number of Shard configuration when multiple instance of history service](https://community.temporal.io/t/number-of-shard-configuration-when-multiple-instance-of-history-service/10382)

<div class="topic-metadata">

**Author:** [@edwinjosepha](https://community.temporal.io/u/edwinjosepha)\
**Replies:** 0\
**Last updated:** [December 14, 2023, 4:25am UTC](https://community.temporal.io/t/number-of-shard-configuration-when-multiple-instance-of-history-service/10382 "2023-12-14T04:25:17Z")

</div>

As per our requirement, we need three history pods and 256 shards. So what should be the number of shard configurations we need to provide? If we provide the configuration value as 256, will it consider the shard count …

[Next page](https://community.temporal.io/tag/kubernetes/131.md?match_all_tags=true&page=1&tags%5B%5D=kubernetes)
