Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/codeflare_sdk/templates/new-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,12 @@ spec:
- "aw-kuberay"
containers:
# The Ray head pod
- name: ray-head
- env:
- name: MY_POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
name: ray-head
image: rayproject/ray:latest
imagePullPolicy: Always
ports:
Expand Down
7 changes: 6 additions & 1 deletion tests/test-case-cmd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,12 @@ spec:
template:
spec:
containers:
- image: rayproject/ray:latest
- env:
- name: MY_POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
image: rayproject/ray:latest
imagePullPolicy: Always
lifecycle:
preStop:
Expand Down
7 changes: 6 additions & 1 deletion tests/test-case.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,12 @@ spec:
values:
- unit-test-cluster
containers:
- image: ghcr.io/foundation-model-stack/base:ray2.1.0-py38-gpu-pytorch1.12.0cu116-20221213-193103
- env:
- name: MY_POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
image: ghcr.io/foundation-model-stack/base:ray2.1.0-py38-gpu-pytorch1.12.0cu116-20221213-193103
imagePullPolicy: Always
lifecycle:
preStop:
Expand Down