Provide a way to check the resourceVersion of a specific informer in multiNamespaceInformer
Los mantenedores suelen responder en 1 día
@sbueringer ya está trabajando en esto.
Desde el 12/10/2026.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- go
- Área
- backend-api-design
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Go
- Estrellas
- 3k
- Forks
- 1.3k
- Merge medio
- 1 d 7 h
- PR fusionados (30 d)
- 48
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de kubernetes-sigs/controller-runtime
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
kubernetes-sigs/controller-runtime#3704 ·
Los mantenedores suelen responder en 1 día
-
lifecycle/rotten
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
kubernetes-sigs/controller-runtime#3537 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
Read-your-writes consistency is not applied to unstructured objects written with Update or PatchPosiblemente ocupada @7616e5a9c573ffb221843a498885ab0f la tomó hace 1 día. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 25/100
kubernetes-sigs/controller-runtime#3702 ·
Los mantenedores suelen responder en 1 día
-
Client and DynamicRESTMapper keep a kind's old scope after its CRD is recreated with a different `scope`Posiblemente ocupada @AdamMagued la tomó hace 1 día. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
kubernetes-sigs/controller-runtime#3671 ·
Los mantenedores suelen responder en 1 día
-
ReadYourWrite doesn't correctly deal with mutating requests removing the last finalizerPosiblemente ocupada @AdamMagued la tomó hace 1 día. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 28/100
kubernetes-sigs/controller-runtime#3670 · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de kubernetes-sigs/controller-runtime
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
OneBusAway/watchdog#470 ·
Los mantenedores suelen responder en 1 día
-
area: session
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
charmbracelet/crush#4484 ·
Los mantenedores suelen responder en 1 día
-
[Resource]: HearthAbiertoresource-submission validation-passed
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
hesreallyhim/awesome-claude-code#3713 · 1 comentario ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
expr-lang/expr#1037 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Provider Key: Sauberr/neckrezAbiertoprovider-key submission
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
opentofu/registry#6740 · 1 comentario ·
Los mantenedores suelen responder en 1 día