Support separate connection handling for controller and worker pods

Aperta
#578 6 commenti 1 reazione 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@jaypipes ci sta già lavorando.

Dal 12/10/2026.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go, kubernetes
Ambito
backend, devops

Direzione di ricerca

Inizia tracciando WorkerDeployment.spec.workerOptions.connectionRef fino al Pod di temporal-worker-controller e alla definizione del worker Pod, quindi esamina i campi di WorkerDeployment.spec e l’utilizzo della connessione di worker.Start descritto nell’issue. Il lavoro è completato quando il controller Pod può usare credenziali e informazioni sull’host separate da quelle dei worker Pods, mantenendo al contempo il supporto per il comportamento di connessione esistente dei worker; i test devono coprire entrambi i riferimenti.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

rbac

The ask here is to be able to configure the Temporal connection credentials separately for the temporal-worker-controller Pod from the Pods that contain Temporal workers.

As of Sept 9, 2026 (v1.10.1 release of TWC), the temporal-worker-controller Pod connects to a Temporal API server using the credentials described in the Connection or ClusterConnection object pointed at by the WorkerDeployment.spec.workerOptions.connectionRef field.

These same connection credentials and host/endpoint information is injected into the Pod definition for Temporal workers that belong to a Kubernetes Deployment associated with a WorkerDeploymentVersion (build ID) managed by temporal-worker-controller for that WorkerDeployment.

The user should be able to use different credentials for the controller Pod than the worker Pods. The worker Pods do not need the same level of access to the Temporal server as the controller Pod -- for example, the controller Pod needs to be able to call control plane APIs like SetWorkerDeploymentRampingVersion and DeleteWorkerDeploymentVersion whereas the worker Pod connects to the Temporal server using the sdk's worker.Start APIs.

We should add the ability to configure the controller Pod's Temporal connection credentials entirely separately from the worker Pods. One idea is to have a WorkerDeployment.spec.controllerConnectionRef field that would allow the controller's connection to be different from the WorkerDeployment.spec.workerOptions.connectionRef.

Lingua principale
Go
Stelle
198
Fork
84
Merge medio
2g 19h
PR unite (30g)
34

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di temporalio/temporal-worker-controller

Tutte le issue di temporalio/temporal-worker-controller

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.