[Feature Request] Support custom labels on generated Kubernetes Deployment resources
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- go, kubernetes
調査の方向性
まず、TemporalWorkerDeployment の仕様と、Kubernetes Deployment リソースを生成する controller コードを見つけます。システム管理のラベルがどのように割り当てられているかを追跡し、既存の controller テストがあれば確認します。要求された deploymentLabels フィールドが受け付けられ、pod のラベルを変更せずに生成された Deployment に適用されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem? Please describe.
When deploying a TemporalWorkerDeployment resource, custom labels can only be applied to the pods via spec.template.metadata.labels. The generated Kubernetes Deployment resource itself only receives system-managed labels:
- temporal.io/build-id
- temporal.io/deployment-name
Describe the solution you'd like
Allow users to specify custom labels that should be applied to the generated Kubernetes Deployment resource (not just the pods).
This is useful for:
- Adding deployment-level metadata (e.g., team: backend, environment: production)
- Integration with external tools that query Deployment labels (e.g., cost allocation, monitoring dashboards)
- Consistency with standard Kubernetes label conventions for deployments
Example
apiVersion: temporal.io/v1alpha1
kind: TemporalWorkerDeployment
metadata:
name: my-worker
spec:
deploymentLabels: # New field
team: backend
environment: production
cost-center: engineering
template:
metadata:
labels:
version: v1
spec:
containers:
- name: worker
image: myimage:latest
- 主要言語
- Go
- スター
- 197
- フォーク
- 82
- 平均マージ
- 3日 40分
- マージ済み PR(30日)
- 35
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
temporalio/temporal-worker-controller のほかの issue
-
[Feature Request] Configure temporal-worker-controller to use hostNetwork対応中かも @josh-ferrell が 2 日前に担当しました。 オープンenhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
temporalio/temporal-worker-controller#680 ·
メンテナーはふだん 1 日以内に返信
-
[Feature Request] Helm chart: support topologySpreadConstraints on the controller Deployment対応中かも @akolacz が 9 日前に担当しました。 オープンhelm
temporalio/temporal-worker-controller#658 · リアクション 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
rbac
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
temporalio/temporal-worker-controller#654 ·
メンテナーはふだん 1 日以内に返信
-
Bug: v1.6's delete-protection finalizer is never removed from migrated TemporalWorkerDeployment/TemporalConnection, so they stay Terminating after the v1.7 migration対応中かも @niyomukiza-mechack が 16 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 57/100
temporalio/temporal-worker-controller#644 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
AI agent skillsオープン
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
temporalio/temporal-worker-controller#633 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
temporalio/temporal-worker-controller の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
containerd/containerd#14485 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
SocialGouv/iterion#2800 ·
メンテナーはふだん 1 日以内に返信
-
area/batch area/orchestration kind/misc
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
vllm-project/aibrix#3339 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
Kong/kong-operator#6340 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100