Provide a way to check the resourceVersion of a specific informer in multiNamespaceInformer
メンテナーはふだん 1 日以内に返信
@sbueringer がすでに取り組んでいます。
2026年10月12日 から。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- go
調査の方向性
Start by tracing GetInformerForKind and GetInformer through multiNamespaceInformer, then compare its behavior with SharedIndexInformer and getStore().LastStoreSyncResourceVersion(). Define a public way to retrieve the resourceVersion for the relevant underlying namespace store, and verify it against the Cluster API use case without relying on reflection.
索引モデルが issue の本文から書いたものです。
説明
For a regular informer it's possible to check the RV in the following way:
- GetInformerForKind / GetInformer returns an Informer
- type cast the informer to SharedIndexInformer
- call
getStore().LastStoreSyncResourceVersion())
With a multiNamespaceCache it's not possible
- GetInformerForKind / GetInformer returns an Informer (implemented by multiNamespaceInformer)
- multiNamespaceInformer is neither a SharedIndexInformer nor has it any other way to retrieve the last resourceVersion from the right underlying store
I've hit this issue in Cluster API and for now the only possible workaround that I've found was to use reflection. xref: https://github.com/kubernetes-sigs/cluster-api/pull/14283
We'll probably look into this when we make the ReadYourWritesConsistency (https://github.com/kubernetes-sigs/controller-runtime/issues/3320) feature work with multiNamespaceCache/multiNamespaceInformer
- 主要言語
- Go
- スター
- 3k
- フォーク
- 1.3k
- 平均マージ
- 1日 7時間
- マージ済み PR(30日)
- 48
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
kubernetes-sigs/controller-runtime のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
kubernetes-sigs/controller-runtime#3704 ·
メンテナーはふだん 1 日以内に返信
-
lifecycle/rotten
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
kubernetes-sigs/controller-runtime#3537 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
Read-your-writes consistency is not applied to unstructured objects written with Update or Patch対応中かも @7616e5a9c573ffb221843a498885ab0f が 1 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 25/100
kubernetes-sigs/controller-runtime#3702 ·
メンテナーはふだん 1 日以内に返信
-
Client and DynamicRESTMapper keep a kind's old scope after its CRD is recreated with a different `scope`対応中かも @AdamMagued が 1 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
kubernetes-sigs/controller-runtime#3671 ·
メンテナーはふだん 1 日以内に返信
-
ReadYourWrite doesn't correctly deal with mutating requests removing the last finalizer対応中かも @AdamMagued が 1 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 28/100
kubernetes-sigs/controller-runtime#3670 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
kubernetes-sigs/controller-runtime の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
OneBusAway/watchdog#470 ·
メンテナーはふだん 1 日以内に返信
-
area: session
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
charmbracelet/crush#4484 ·
メンテナーはふだん 1 日以内に返信
-
[Resource]: Hearthオープンresource-submission validation-passed
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
hesreallyhim/awesome-claude-code#3713 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
expr-lang/expr#1037 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
provider-key submission
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
opentofu/registry#6740 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信