Skip to content

Commit bdda960

Browse files
yankaythyecust
authored andcommitted
docs: remove the use of Downward API for LWS_WORKER_INDEX (sgl-project#5110)
Signed-off-by: Kay Yan <[email protected]>
1 parent aa007f5 commit bdda960

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

docs/references/deploy_on_k8s.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Here we take the deployment of DeepSeek-R1 as an example.
1414

1515
1. At least two Kubernetes nodes, each with two H20 systems and eight GPUs, are required.
1616

17-
2. Make sure your K8S cluster has LWS correctly installed. If it hasn't been set up yet, please follow the [installation instructions](https://github.com/kubernetes-sigs/lws/blob/main/site/content/en/docs/installation/_index.md).
17+
2. Make sure your K8S cluster has LWS correctly installed. If it hasn't been set up yet, please follow the [installation instructions](https://github.com/kubernetes-sigs/lws/blob/main/site/content/en/docs/installation/_index.md). **Note:** For LWS versions ≤0.5.x, you must use the Downward API to obtain `LWS_WORKER_INDEX`, as native support for this feature was introduced in v0.6.0.
1818

1919
## Basic example
2020

@@ -95,10 +95,6 @@ spec:
9595
env:
9696
- name: NCCL_IB_GID_INDEX
9797
value: "3"
98-
- name: LWS_WORKER_INDEX
99-
valueFrom:
100-
fieldRef:
101-
fieldPath: metadata.labels['leaderworkerset.sigs.k8s.io/worker-index']
10298
command:
10399
- python3
104100
- -m
@@ -164,10 +160,6 @@ spec:
164160
env:
165161
- name: NCCL_IB_GID_INDEX
166162
value: "3"
167-
- name: LWS_WORKER_INDEX
168-
valueFrom:
169-
fieldRef:
170-
fieldPath: metadata.labels['leaderworkerset.sigs.k8s.io/worker-index']
171163
command:
172164
- python3
173165
- -m

0 commit comments

Comments
 (0)