From 39c841e826cf7204448d3188699c629a498f3ec1 Mon Sep 17 00:00:00 2001 From: Flim de Jong Date: Wed, 13 Nov 2024 09:32:02 +0100 Subject: [PATCH] Updated ray-cluster file --- docker/runner/ray-cluster.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/docker/runner/ray-cluster.yaml b/docker/runner/ray-cluster.yaml index 740e966c9..79ee4ca40 100644 --- a/docker/runner/ray-cluster.yaml +++ b/docker/runner/ray-cluster.yaml @@ -17,6 +17,7 @@ spec: containers: - name: ray-head image: roboteamtwente/ray:development + imagePullPolicy: Always # Always pull the latest image ports: - containerPort: 8265 # dashboard port - containerPort: 6379 # redis port @@ -73,10 +74,11 @@ spec: labels: app: ray-worker spec: - hostNetwork: false + hostNetwork: true containers: - name: ray-worker image: roboteamtwente/ray:development + imagePullPolicy: Always # Always pull the latest image resources: requests: cpu: 500m @@ -87,6 +89,18 @@ spec: env: - name: RAY_HEAD_IP value: "roboteam-ray-cluster-head-svc.default.svc.cluster.local" + - name: LD_LIBRARY_PATH + value: /home/roboteam/build/release/lib + - name: VISION_ADDRESS + value: "224.5.23.2" + - name: VISION_PORT + value: "10020" + - name: REFEREE_ADDRESS + value: "224.5.23.1" + - name: REFEREE_PORT + value: "10003" + - name: GC_PORT + value: "8081" command: ["/bin/bash", "-c", "--"] args: ["ray start --address='roboteam-ray-cluster-head-svc.default.svc.cluster.local:6379' --block"]