You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The sourcegraph-executor-k8s chart provides an option to configure the Executor pod's node affinity & anti-affinity configuration via the executor.ConfigMap.yamlConfig Map:
However, the current template for this Config Map does not account for parsing the JSON structure of these values, resulting in the following helm error:
$ helm template sourcegraph/sourcegraph-executor-k8s --values=values.override.yaml
Error: YAML parse error on sourcegraph-executor-k8s/templates/executor.ConfigMap.yaml: error converting YAML to JSON: yaml: line 31: did not find expected key
Target Executor Config Map pod affinity configuration:
The Executor Config Map can be manually configured like so:
Once configured as described above, the k8s Executor will spawn k8s Jobs with the following (abbreviated) Pod definition with functional affinity configuration:
Description
The
sourcegraph-executor-k8s
chart provides an option to configure the Executor pod's node affinity & anti-affinity configuration via theexecutor.ConfigMap.yaml
Config Map:However, the current template for this Config Map does not account for parsing the JSON structure of these values, resulting in the following helm error:
Example
values.override.yaml
:helm template
output:Target Executor Config Map pod affinity configuration:
The Executor Config Map can be manually configured like so:
Expected Executor pod affinity configuration:
Once configured as described above, the k8s Executor will spawn k8s Jobs with the following (abbreviated) Pod definition with functional affinity configuration:
Related Executor configuration documentation
The text was updated successfully, but these errors were encountered: