Skip to content

Commit dbb0b5d

Browse files
authored
fix: remove kustomize dependency (llm-d#665)
Signed-off-by: Guangya Liu <gyliu513@gmail.com>
1 parent f21dcac commit dbb0b5d

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

DEVELOPMENT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ Documentation for developing the inference scheduler.
88
- [Golang] `v1.24`+
99
- [Docker] (or [Podman])
1010
- [Kubernetes in Docker (KIND)]
11-
- [Kustomize]
11+
- [Kubectl] `v1.14`+
1212
- [ZeroMQ]
1313

1414
[Make]:https://www.gnu.org/software/make/
1515
[Golang]:https://go.dev/
1616
[Docker]:https://www.docker.com/
1717
[Podman]:https://podman.io/
1818
[Kubernetes in Docker (KIND)]:https://github.com/kubernetes-sigs/kind
19-
[Kustomize]:https://kubectl.docs.kubernetes.io/installation/kustomize/
19+
[Kubectl]:https://kubectl.docs.kubernetes.io/installation/kubectl/
2020
[ZeroMQ]:https://zeromq.org/
2121

2222
> [!NOTE]

scripts/kind-dev-env.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ fi
135135
set -u
136136

137137
# Check for required programs
138-
for cmd in kind kubectl kustomize ${CONTAINER_RUNTIME}; do
138+
for cmd in kind kubectl ${CONTAINER_RUNTIME}; do
139139
if ! command -v "$cmd" &> /dev/null; then
140140
echo "Error: $cmd is not installed or not in the PATH."
141141
exit 1
@@ -232,13 +232,13 @@ fi
232232
# CRD Deployment (Gateway API + GIE)
233233
# ------------------------------------------------------------------------------
234234

235-
kustomize build deploy/components/crds-gateway-api |
235+
kubectl kustomize deploy/components/crds-gateway-api |
236236
kubectl --context ${KUBE_CONTEXT} apply --server-side --force-conflicts -f -
237237

238-
kustomize build deploy/components/crds-gie |
238+
kubectl kustomize deploy/components/crds-gie |
239239
kubectl --context ${KUBE_CONTEXT} apply --server-side --force-conflicts -f -
240240

241-
kustomize build --enable-helm deploy/components/crds-istio |
241+
kubectl kustomize --enable-helm deploy/components/crds-istio |
242242
kubectl --context ${KUBE_CONTEXT} apply --server-side --force-conflicts -f -
243243

244244
# ------------------------------------------------------------------------------
@@ -260,7 +260,7 @@ kubectl --context ${KUBE_CONTEXT} delete configmap epp-config --ignore-not-found
260260
envsubst '$PRIMARY_PORT' < ${EPP_CONFIG} > ${TEMP_FILE}
261261
kubectl --context ${KUBE_CONTEXT} create configmap epp-config --from-file=epp-config.yaml=${TEMP_FILE}
262262

263-
kustomize build --enable-helm ${KUSTOMIZE_DIR} \
263+
kubectl kustomize --enable-helm ${KUSTOMIZE_DIR} \
264264
| envsubst '${POOL_NAME} ${MODEL_NAME} ${MODEL_NAME_SAFE} ${EPP_NAME} ${EPP_IMAGE} ${VLLM_SIMULATOR_IMAGE} \
265265
${PD_ENABLED} ${KV_CACHE_ENABLED} ${SIDECAR_IMAGE} ${UDS_TOKENIZER_IMAGE} ${TARGET_PORTS} \
266266
${VLLM_REPLICA_COUNT} ${VLLM_REPLICA_COUNT_P} ${VLLM_REPLICA_COUNT_D} ${VLLM_DATA_PARALLEL_SIZE}' \

0 commit comments

Comments
 (0)