HelmCharts set to not ready on index download resp. source-controller restart
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- go, helm
- Área
- devops, infrastructure
Línea de trabajo
Comienza rastreando el comportamiento de source-controller durante un reinicio mientras se descarga el índice de HelmRepository, y después compara el issue 431 y la discussion 3152 relacionados. Se considera terminado cuando HelmCharts permanecen en Unknown en lugar de Not Ready durante este intervalo, de modo que un HelmRelease reconciliado simultáneamente no se marque como fallido.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
We're facing the following situation:
- we have several helmreleases installed successfully in our cluster
- the helmrepositories and helmcharts are also created and ready
Once the source-controller is restarted, it first fetches the repositories' index, meanwhile setting the helmrepositories state to Unknown. This leads to all the helmcharts states being set to "Not Ready".
Here an event message for a helmchart:
chart pull error: could not load repository index for remote chart reference: stat /data/helmrepository/default/myhelmrepo/index-<long id>.yaml: no such file or directory
Once the individual charts are downloaded again, the helmcharts' states transition to Unknown and Ready. The state where all helmcharts are not ready only lasts some seconds, but if in this time a helmrelease is reconciled (e.g. if the helm-controller is restarted), it is set to Not Ready as well. All dependent resources watching the helmreleases also see the Not Ready state.
Can this intermediate state of the helmcharts be changed to Unknown as for the helmrepositories? This way the helm-controller would potentially be able to set the helmrelease state to processing instead of failed.
The problem might be related to issue https://github.com/fluxcd/source-controller/issues/431, but I'm not sure how the helm-controller could be changed as mentioned there.
I also started a discussion here: https://github.com/fluxcd/flux2/discussions/3152 explaining the problem, maybe it can be fixed for certain use cases like the parallel installation/update of helm-controller and source-controller.
- Lenguaje dominante
- Go
- Estrellas
- 283
- Forks
- 258
- Merge medio
- 1 d 17 h
- PR fusionados (30 d)
- 15
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin 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 fluxcd/source-controller
-
Improve documentation on debugging the controller locallyQuizá libre de nuevo @Bryandero98 la tomó hace 30 días y no hay ningún pull request abierto. Abiertoarea/docs good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
fluxcd/source-controller#666 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
area/oci enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
fluxcd/source-controller#2180 ·
Los mantenedores suelen responder en 1 día
-
`OCIRepository`/cosign verification: support TSA-only trusted roots (no transparency log) for private Sigstore instances like GitHub Artifact AttestationsPosiblemente ocupada @stealthybox la tomó hace 143 días. Abiertoarea/oci area/security enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 68/100
fluxcd/source-controller#2167 · 4 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
fluxcd/source-controller#2150 ·
Los mantenedores suelen responder en 1 día
-
GitRepository `.spec.ref.commit` + `.spec.ref.branch` does not shallow clone, contrary to the docsAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 42/100
fluxcd/source-controller#2146 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de fluxcd/source-controller
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
documentation hacktoberfest priority: low skill: good first issue status: ready for dev
Dificultad 2/5 Medio día Aptitud para principiantes 85/100
hyperledger-labs/fabric-smart-client#2142 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
numberly/vault-db-injector#107 ·
Los mantenedores suelen responder en 1 día
-
area/import kind/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
[DOC] Wrong sg_egress_ports range in the Terraform Databricks Guide for AWS Hub & Spoke with Network FirewallPosiblemente ocupada @akhil9tiet la tomó hoy. Abiertodocs
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
databricks/terraform-provider-databricks#6080 · 1 comentario ·
Los mantenedores suelen responder en 3 días