Hello, I would like to ask 2 questions:
- If there is any way to change the podlabels in the configmap of the retool/retool-agent-sandbox-job-template - > job-template.json. I would like to add the label admission.datadoghq.com/enabled: false , in order the sandbox job pods dont have all the DD init containers. I have added currently in my helm values the below values but i cant seem to find a value for the job pods template.
podLabels:
admission.datadoghq.com/enabled: "false"
mcp:
labels:
admission.datadoghq.com/enabled: "false"
jobRunner:
labels:
admission.datadoghq.com/enabled: "false"
rr:
enabled: true
jsExecutor:
labels:
admission.datadoghq.com/enabled: "false"
agent:
labels:
admission.datadoghq.com/enabled: "false"
agentSandbox:
sandbox:
labels:
admission.datadoghq.com/enabled: "false"
labels:
admission.datadoghq.com/enabled: "false"
- I tried setting WORKFLOW_BACKEND_HOST to "http://retool:3000" because I was getting some errors , but I havent managed to change the value of the rr agent worker from the helm value. All the other pods have it properly but the rr agent still has the default value. This was my config
rr:
enabled: true
jsExecutor:
env:
WORKFLOW_BACKEND_HOST: "http://retool:3000"
agent:
config:
env:
WORKFLOW_BACKEND_HOST: "http://retool:3000"
Thanks in advance
Summary
On a self-hosted (Kubernetes/Helm) Retool deployment, there are two configuration questions: (1) how to add a custom pod label (admission.datadoghq.com/enabled: "false") to the agent sandbox job template pods defined in the retool-agent-sandbox-job-template configmap (job-template.json), and (2) why the rr agent worker pod does not pick up the WORKFLOW_BACKEND_HOST environment variable override from values.yaml while all other pods do.
AI Response
Both items come down to placing the override under the correct service block in values.yaml. The agent sandbox job pods are rendered from the rr.agentSandbox. tree (the same tree that holds settings like rr.agentSandbox.devicePlugin.priorityClassName), so custom labels for those pods need to be nested there rather than under a top-level agentSandbox: block or the general podLabels: value — the canonical retool-helm values.yaml is the source of truth for the exact label/annotation key the sandbox job template reads. Similarly, the rr worker is configured independently of the workflow/js-executor services, so WORKFLOW_BACKEND_HOST must be set on the rr service's own env (using one of the three supported locations: env, environmentSecrets, or environmentVariables) for it to override the default. After editing values.yaml, apply with helm upgrade --version and recreate the affected pods so the new label and env take effect.*
Sources
Deploy Retool on Kubernetes with Helm | Retool Docs
Official Helm deployment guide showing that agent sandbox job pods are configured under the rr.agentSandbox.* tree and documenting the three valid env locations (env, environmentSecrets, environmentVariables) for per-service overrides.
K8s: Retool Worker Backend not getting Environment Variables from YAML?
Solved forum topic corroborating that a worker won't pick up env vars unless they're defined under that specific service's block in values.yaml.
The Community Team is testing out a new automation. Let us know if it's helpful (or not) by leaving a
,
, or
. Or by marking this post as the "Solution"! Let us know if you have any feedback here. 