Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Feature Request] Helm chart: support topologySpreadConstraints on the controller Deployment

Aperta
#658 0 commenti 1 reazione 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@akolacz ci sta già lavorando.

Dal 19/10/2026.

  • #659 di @akolacz — aperta

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

helm

Problem

The controller runs 2 replicas by default for HA, but the chart offers no way to set topologySpreadConstraints on the manager Deployment (helm/temporal-worker-controller/templates/manager.yaml, chart 0.32.0). The only placement knob is affinity, and when it is empty the template injects a default preferred podAntiAffinity on kubernetes.io/hostname.

Teams that standardise on topologySpreadConstraints (hostname + topology.kubernetes.io/zone) cannot express a zone spread for the controller, and cannot replace the default anti-affinity without losing all spreading.

Proposal

Add a topologySpreadConstraints value (default []) rendered in the manager pod spec, like most charts do:

# values.yaml
# Topology spread constraints for the controller manager pods.
topologySpreadConstraints: []
# templates/manager.yaml, in the pod spec
{{- with .Values.topologySpreadConstraints }}
topologySpreadConstraints:
  {{- toYaml . | nindent 8 }}
{{- end }}

plus the matching entry in values.schema.json. The default stays empty, so existing installs render exactly the same. Optionally, the default podAntiAffinity could be skipped when topologySpreadConstraints is set, so users don't get both.

I'll open a PR for this.

Lingua principale
Go
Stelle
197
Fork
79
Merge medio
3g 2h
PR unite (30g)
31

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.