[CI] Multi-Node CI scalable (#3611)

### What this PR does / why we need it?
This PR adds a jinja template for the k8s configuration file, prepare
for the upcoming 4-node CI
### Does this PR introduce _any_ user-facing change?

### How was this patch tested?

- vLLM version: v0.11.0rc3
- vLLM main: https://github.com/vllm-project/vllm/commit/v0.11.0

---------

Signed-off-by: wangli <wangli858794774@gmail.com>
This commit is contained in:
Li Wang
2025-10-22 14:18:43 +08:00
committed by GitHub
parent bc30874f8b
commit 286ae9003d
3 changed files with 19 additions and 13 deletions

View File

@@ -35,6 +35,7 @@ jobs:
# configure apt and pip source
sed -i 's|ports.ubuntu.com|mirrors.tuna.tsinghua.edu.cn|g' /etc/apt/sources.list
pip config set global.index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
pip install jinja2-cli -y
apt-get update -y && apt-get install -y git curl
@@ -58,7 +59,13 @@ jobs:
- name: Launch cluster
run: |
kubectl apply -f tests/e2e/multi_node/scripts/lws.yaml
jinja2 tests/e2e/multi_node/scripts/lws.yaml.jinja2 \
-D size=2 \
-D replicas=1 \
-D image="m.daocloud.io/quay.io/ascend/cann:8.2.rc1-a3-ubuntu22.04-py3.11" \
--outfile lws.yaml
kubectl apply -f ./lws.yaml
- name: Waiting for pod ready
run: |
@@ -115,4 +122,4 @@ jobs:
if: always()
run: |
kubectl get pods -n $NAMESPACE
kubectl delete -f tests/e2e/multi_node/scripts/lws.yaml
kubectl delete -f ./lws.yaml