mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
Small improvement to kubernetes config files. (#3875)
This commit is contained in:
parent
8f6bd6cece
commit
93214891b0
3 changed files with 3 additions and 3 deletions
|
@ -40,7 +40,7 @@ spec:
|
|||
- name: ray-head
|
||||
image: rayproject/examples
|
||||
command: [ "/bin/bash", "-c", "--" ]
|
||||
args: ["ray start --head --redis-port=6379 --redis-shard-ports=6380,6381 --object-manager-port=12345 --node-manager-port=12346 --node-ip-address=$MY_POD_IP && while true; do sleep 30; done;"]
|
||||
args: ["ray start --head --redis-port=6379 --redis-shard-ports=6380,6381 --object-manager-port=12345 --node-manager-port=12346 --node-ip-address=$MY_POD_IP --block"]
|
||||
ports:
|
||||
- containerPort: 6379
|
||||
- containerPort: 6380
|
||||
|
|
|
@ -77,7 +77,7 @@ spec:
|
|||
- name: ray-worker
|
||||
image: rayproject/examples
|
||||
command: ["/bin/bash", "-c", "--"]
|
||||
args: ["ray start --node-ip-address=$MY_POD_IP --redis-address=$(python -c 'import socket;import sys; sys.stdout.write(socket.gethostbyname(\"ray-head\"));sys.stdout.flush()'):6379 --object-manager-port=12345 --node-manager-port=12346 && while true; do sleep 30; done;"]
|
||||
args: ["ray start --node-ip-address=$MY_POD_IP --redis-address=$(python -c 'import socket;import sys; sys.stdout.write(socket.gethostbyname(\"ray-head\"));sys.stdout.flush()'):6379 --object-manager-port=12345 --node-manager-port=12346 --block"]
|
||||
ports:
|
||||
- containerPort: 12345
|
||||
- containerPort: 12346
|
||||
|
|
|
@ -16,7 +16,7 @@ spec:
|
|||
- name: ray-worker
|
||||
image: rayproject/examples
|
||||
command: ["/bin/bash", "-c", "--"]
|
||||
args: ["ray start --node-ip-address=$MY_POD_IP --redis-address=$(python -c 'import socket;import sys; sys.stdout.write(socket.gethostbyname(\"ray-head\"));sys.stdout.flush()'):6379 --object-manager-port=12345 --node-manager-port=12346 && while true; do sleep 30; done;"]
|
||||
args: ["ray start --node-ip-address=$MY_POD_IP --redis-address=$(python -c 'import socket;import sys; sys.stdout.write(socket.gethostbyname(\"ray-head\"));sys.stdout.flush()'):6379 --object-manager-port=12345 --node-manager-port=12346 --block"]
|
||||
ports:
|
||||
- containerPort: 12345
|
||||
- containerPort: 12346
|
||||
|
|
Loading…
Add table
Reference in a new issue