Executor Helm Chart - kubernetesJob.node.tolerations doesn't render as expected
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Estancado
- Stack tecnológico
- helm, kubernetes
- Área
- devops, infrastructure
Línea de trabajo
Inspecciona charts/sourcegraph-executor/k8s/templates/executor.ConfigMap.yaml en la línea 26 y el valor de tolerations en charts/sourcegraph-executor/k8s/values.yaml alrededor de las líneas 116-117. Renderiza el chart con el valor documentado de tolerations y compara la salida de la ConfigMap con el JSON que espera el executor. Se considera terminado cuando el valor de EXECUTOR_KUBERNETES_NODE_TOLERATIONS sigue siendo JSON válido y el executor puede analizarlo.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
When setting the value for executor.kubernetesJob.node.tolerations it does not render in the configmap in the way that the executor pod is able to consume it.
I'm finding that if you set the following as the chart suggests:
tolerations: [{"key": "foo", "operator": "Equal", "value": "bar", "effect": "NoSchedule"}]
It will render as EXECUTOR_KUBERNETES_NODE_TOLERATIONS: map[effect:NoSchedule key:foo operator:Equal value:bar]
Causing your executor pod to throw invalid EXECUTOR_KUBERNETES_NODE_TOLERATIONS, failed to parse: invalid character 'm' looking for beginning of value into the logs and does not execute jobs.
If you do a manual edit of the configmap back to the original Json specified in the chart, then the jobs executor and respect the tolerations.
I think the chart is incorrectly trying to render the json to yaml, when it should remain as json.
https://github.com/sourcegraph/deploy-sourcegraph-helm/blob/main/charts/sourcegraph-executor/k8s/templates/executor.ConfigMap.yaml#L26
- Lenguaje dominante
- Go Template
- Estrellas
- 19
- Forks
- 24
- Merge medio
- 1 d 12 h
- PR fusionados (30 d)
- 12
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin 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 sourcegraph/deploy-sourcegraph-helm
-
Dificultad 3/5 1-2 días Aptitud para principiantes 38/100
sourcegraph/deploy-sourcegraph-helm#612 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
sourcegraph/deploy-sourcegraph-helm#590 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 45/100
sourcegraph/deploy-sourcegraph-helm#405 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 38/100
sourcegraph/deploy-sourcegraph-helm#401 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Add toggle to deploy db exporters for external databasesQuizá libre de nuevo @DaedalusG la tomó hace 1004 días y no hay ningún pull request abierto. Abiertoenhancement team/release-ship
sourcegraph/deploy-sourcegraph-helm#388 · 2 asignados ·
Los mantenedores suelen responder en 1 día
Todos los issues de sourcegraph/deploy-sourcegraph-helm
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
lawndoc/stack-back#122 ·
-
[software-development-practices:nist-ssdf] github/gh-aw-threat-detection repository guidanceAbiertosoftware-development-practices software-development-practices:nist-ssdf
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
githubnext/gh-aw-cao#15860 ·
Los mantenedores suelen responder en 1 día
-
framework/gatsby help wanted kind/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 87/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100