Executor Helm Chart - kubernetesJob.node.tolerations doesn't render as expected
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Accessibilité débutants
- 55/100
- Type d'issue
- Bug
- Clarté
- Clairement spécifiée
- Activité
- À l'abandon
- Stack technique
- helm, kubernetes
- Domaine
- devops, infrastructure
Piste de recherche
Examinez charts/sourcegraph-executor/k8s/templates/executor.ConfigMap.yaml à la ligne 26 ainsi que la valeur de tolerations dans charts/sourcegraph-executor/k8s/values.yaml autour des lignes 116-117. Générez le chart avec la valeur de tolerations documentée et comparez la sortie de la ConfigMap avec le JSON attendu par l’executor. Le travail est terminé lorsque la valeur de EXECUTOR_KUBERNETES_NODE_TOLERATIONS reste un JSON valide et que l’executor peut l’analyser.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
- Langage dominant
- Go Template
- Étoiles
- 19
- Forks
- 24
- Merge moyen
- 1 j 12 h
- PR mergées (30 j)
- 12
Préparer son environnement
Nous n'avons pas encore vérifié les fichiers d'installation de ce projet. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de sourcegraph/deploy-sourcegraph-helm
-
Difficulté 3/5 1-2 jours Accessibilité débutants 38/100
sourcegraph/deploy-sourcegraph-helm#612 · 3 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
sourcegraph/deploy-sourcegraph-helm#590 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 45/100
sourcegraph/deploy-sourcegraph-helm#405 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 3/5 1-2 jours Accessibilité débutants 38/100
sourcegraph/deploy-sourcegraph-helm#401 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Add toggle to deploy db exporters for external databasesPeut-être à nouveau libre @DaedalusG l’a pris il y a 999 jours, et aucune pull request n’est ouverte. Ouverteenhancement team/release-ship
sourcegraph/deploy-sourcegraph-helm#388 · 2 personnes assignées ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de sourcegraph/deploy-sourcegraph-helm
Issues similaires
-
bot-found bug priority: P3
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
madenvel/KalinkaPlayer#179 ·
-
Difficulté 1/5 1-3 heures Accessibilité débutants 94/100
makeplane/helm-charts#332 ·
Les mainteneurs répondent en général sous 1 jour
-
bug needs triage
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
microsoft/fabric-cicd#1141 · 1 commentaire ·
-
[aw] Upgrade availableOuverteagentic-workflows
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
githubnext/gh-aw-workshop#3933 ·
Les mainteneurs répondent en général sous 1 jour
-
Remove CAAPFOuvertekind/chore kind/cleanup needs-area
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
rancher/turtles#2848 · 3 commentaires ·
Les mainteneurs répondent en général sous 1 jour