Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Feature Request] Support custom labels on generated Kubernetes Deployment resources

クローズ
#187 コメント 0 件 リアクション 3 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@paulhobbel がすでに取り組んでいます。

2026年10月8日 から。

  • #639 @paulhobbel による — マージ済み

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
go, kubernetes

調査の方向性

まず、TemporalWorkerDeployment の仕様と、Kubernetes Deployment リソースを生成する controller コードを見つけます。システム管理のラベルがどのように割り当てられているかを追跡し、既存の controller テストがあれば確認します。要求された deploymentLabels フィールドが受け付けられ、pod のラベルを変更せずに生成された Deployment に適用されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

enhancement
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 ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

temporalio/temporal-worker-controller のほかの issue

temporalio/temporal-worker-controller の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。