Executor Helm Chart - kubernetesJob.node.tolerations doesn't render as expected
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- helm, kubernetes
- 領域
- devops, infrastructure
調査の方向性
charts/sourcegraph-executor/k8s/templates/executor.ConfigMap.yaml の 26 行目と、charts/sourcegraph-executor/k8s/values.yaml の 116~117 行目付近にある tolerations の値を確認します。ドキュメントに記載された tolerations の値で chart をレンダリングし、ConfigMap の出力を executor が想定する JSON と比較します。EXECUTOR_KUBERNETES_NODE_TOLERATIONS の値が有効な JSON のままで、executor が解析できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Go Template
- スター
- 19
- フォーク
- 24
- 平均マージ
- 1日 4時間
- マージ済み PR(30日)
- 13
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
sourcegraph/deploy-sourcegraph-helm のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
sourcegraph/deploy-sourcegraph-helm#612 · コメント 3 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
sourcegraph/deploy-sourcegraph-helm#405 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
sourcegraph/deploy-sourcegraph-helm#401 · コメント 1 件 ·
-
enhancement team/release-ship
sourcegraph/deploy-sourcegraph-helm#388 · 担当者 2 名 ·
sourcegraph/deploy-sourcegraph-helm の issue をすべて見る
似ている issue
-
task
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
vsanthanam/JBird#429 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
alexgorbatchev/simple-ptt#14 ·
-
github-request
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
openedx/axim-engineering#1758 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
components-web-app/docs#92 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100