fix: use explicit k3d API port to avoid connection refused in CI

--api-port 0 means no host mapping, breaking kubectl wait.
Use port 16443 for k3d API host access during cluster setup.

Made-with: Cursor
This commit is contained in:
Max 2026-03-03 23:37:42 +08:00
parent 9450101a68
commit 75250b47ee
2 changed files with 2 additions and 2 deletions

View file

@ -1662,7 +1662,7 @@ jobs:
- name: Create k3d cluster
run: |
k3d cluster create tai-test --no-lb --wait --api-port 0
k3d cluster create tai-test --no-lb --wait --api-port 16443
kubectl wait --for=condition=Ready node --all --timeout=60s
k3d image import alpine:latest -c tai-test

View file

@ -1216,7 +1216,7 @@ jobs:
- name: Create k3d cluster
run: |
k3d cluster create tai-test --no-lb --wait --api-port 0
k3d cluster create tai-test --no-lb --wait --api-port 16443
kubectl wait --for=condition=Ready node --all --timeout=60s
k3d image import alpine:latest -c tai-test