Skip to content

Commit c87b835

Browse files
committed
set correct worker name on create
1 parent 7644d92 commit c87b835

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

apps/supervisor/src/workloadManager/kubernetes.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,11 @@ export class KubernetesWorkloadManager implements WorkloadManager {
9797
},
9898
{
9999
name: "TRIGGER_WORKER_INSTANCE_NAME",
100-
value: env.TRIGGER_WORKER_INSTANCE_NAME,
100+
valueFrom: {
101+
fieldRef: {
102+
fieldPath: "spec.nodeName",
103+
},
104+
},
101105
},
102106
{
103107
name: "OTEL_EXPORTER_OTLP_ENDPOINT",

0 commit comments

Comments
 (0)