Executor Helm Chart - kubernetesJob.node.tolerations doesn't render as expected
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 55/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- helm, kubernetes
- Ambito
- devops, infrastructure
Direzione di ricerca
Ispeziona charts/sourcegraph-executor/k8s/templates/executor.ConfigMap.yaml alla riga 26 e il valore di tolerations in charts/sourcegraph-executor/k8s/values.yaml intorno alle righe 116-117. Esegui il rendering del chart con il valore di tolerations documentato e confronta l’output della ConfigMap con il JSON previsto dall’executor. Il lavoro è completato quando il valore di EXECUTOR_KUBERNETES_NODE_TOLERATIONS rimane un JSON valido e l’executor riesce ad analizzarlo.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Go Template
- Stelle
- 19
- Fork
- 24
- Merge medio
- 1g 4h
- PR unite (30g)
- 13
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di sourcegraph/deploy-sourcegraph-helm
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
sourcegraph/deploy-sourcegraph-helm#612 · 3 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
sourcegraph/deploy-sourcegraph-helm#405 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
sourcegraph/deploy-sourcegraph-helm#401 · 1 commento ·
-
enhancement team/release-ship
sourcegraph/deploy-sourcegraph-helm#388 · 2 assegnatari ·
Tutte le issue di sourcegraph/deploy-sourcegraph-helm
Issue simili
-
kind/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
kubernetes-sigs/prow#953 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Link Checker Report Apertaautomated issue report
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
automated-analysis bug memory-safety
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
area/entangle bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100