File tree Expand file tree Collapse file tree 1 file changed +41
-2
lines changed Expand file tree Collapse file tree 1 file changed +41
-2
lines changed Original file line number Diff line number Diff line change 13
13
labels :
14
14
app : ray-head
15
15
spec :
16
+ hostNetwork : false
16
17
containers :
17
18
- name : ray-head
18
- image : rayproject /ray:latest-py310
19
+ image : roboteamtwente /ray:development
19
20
ports :
20
21
- containerPort : 8265 # dashboard port
21
22
- containerPort : 6379 # redis port
28
29
limits :
29
30
cpu : " 1" # Changed from 600 (which was too high)
30
31
memory : " 2Gi" # Increased from 512Mi
32
+
33
+ env :
34
+ - name : SIMULATION_HOST
35
+ value : " 127.0.0.1" # Using localhost since we're on host network
36
+ - name : VISION_PORT
37
+ value : " 10020" # Match your simulator's vision port
38
+ - name : REFEREE_PORT
39
+ value : " 10003" # Match your simulator's referee port
40
+
31
41
command : ["/bin/bash", "-c", "--"]
32
42
args : ["ray start --head --port=6379 --dashboard-host=0.0.0.0 --block"]
33
43
livenessProbe :
63
73
labels :
64
74
app : ray-worker
65
75
spec :
76
+ hostNetwork : false
66
77
containers :
67
78
- name : ray-worker
68
- image : rayproject /ray:latest-py310
79
+ image : roboteamtwente /ray:development
69
80
resources :
70
81
requests :
71
82
cpu : 500m
78
89
value : " roboteam-ray-cluster-head-svc.default.svc.cluster.local"
79
90
command : ["/bin/bash", "-c", "--"]
80
91
args : ["ray start --address='roboteam-ray-cluster-head-svc.default.svc.cluster.local:6379' --block"]
92
+
93
+ # Add service for port forwarding
94
+ ---
95
+ apiVersion : v1
96
+ kind : Service
97
+ metadata :
98
+ name : roboteam-ray-cluster-head-nodeport # Changed name to avoid conflict
99
+ spec :
100
+ type : NodePort
101
+ selector :
102
+ app : ray-head
103
+ ports :
104
+ - name : dashboard
105
+ port : 8265
106
+ targetPort : 8265
107
+ nodePort : 30265 # Ray dashboard
108
+ - name : redis
109
+ port : 6379
110
+ targetPort : 6379
111
+ nodePort : 30679 # Redis
112
+ - name : gcs
113
+ port : 10001
114
+ targetPort : 10001
115
+ nodePort : 31001 # GCS server
116
+ - name : serve
117
+ port : 8000
118
+ targetPort : 8000
119
+ nodePort : 30800 # Serve
You can’t perform that action at this time.
0 commit comments