From 7a43930893098316c5f5a6d50ead2b3a1058d304 Mon Sep 17 00:00:00 2001 From: Guangya Liu Date: Sat, 28 Feb 2026 20:25:56 -0500 Subject: [PATCH] fix: remove kustomize dependency Signed-off-by: Guangya Liu --- DEVELOPMENT.md | 4 ++-- scripts/kind-dev-env.sh | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 9bc79e130..eabb1f603 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -8,7 +8,7 @@ Documentation for developing the inference scheduler. - [Golang] `v1.24`+ - [Docker] (or [Podman]) - [Kubernetes in Docker (KIND)] -- [Kustomize] +- [Kubectl] `v1.14`+ - [ZeroMQ] [Make]:https://www.gnu.org/software/make/ @@ -16,7 +16,7 @@ Documentation for developing the inference scheduler. [Docker]:https://www.docker.com/ [Podman]:https://podman.io/ [Kubernetes in Docker (KIND)]:https://github.com/kubernetes-sigs/kind -[Kustomize]:https://kubectl.docs.kubernetes.io/installation/kustomize/ +[Kubectl]:https://kubectl.docs.kubernetes.io/installation/kubectl/ [ZeroMQ]:https://zeromq.org/ > [!NOTE] diff --git a/scripts/kind-dev-env.sh b/scripts/kind-dev-env.sh index ba1df344f..7a64f7d01 100755 --- a/scripts/kind-dev-env.sh +++ b/scripts/kind-dev-env.sh @@ -135,7 +135,7 @@ fi set -u # Check for required programs -for cmd in kind kubectl kustomize ${CONTAINER_RUNTIME}; do +for cmd in kind kubectl ${CONTAINER_RUNTIME}; do if ! command -v "$cmd" &> /dev/null; then echo "Error: $cmd is not installed or not in the PATH." exit 1 @@ -232,13 +232,13 @@ fi # CRD Deployment (Gateway API + GIE) # ------------------------------------------------------------------------------ -kustomize build deploy/components/crds-gateway-api | +kubectl kustomize deploy/components/crds-gateway-api | kubectl --context ${KUBE_CONTEXT} apply --server-side --force-conflicts -f - -kustomize build deploy/components/crds-gie | +kubectl kustomize deploy/components/crds-gie | kubectl --context ${KUBE_CONTEXT} apply --server-side --force-conflicts -f - -kustomize build --enable-helm deploy/components/crds-istio | +kubectl kustomize --enable-helm deploy/components/crds-istio | kubectl --context ${KUBE_CONTEXT} apply --server-side --force-conflicts -f - # ------------------------------------------------------------------------------ @@ -260,7 +260,7 @@ kubectl --context ${KUBE_CONTEXT} delete configmap epp-config --ignore-not-found envsubst '$PRIMARY_PORT' < ${EPP_CONFIG} > ${TEMP_FILE} kubectl --context ${KUBE_CONTEXT} create configmap epp-config --from-file=epp-config.yaml=${TEMP_FILE} -kustomize build --enable-helm ${KUSTOMIZE_DIR} \ +kubectl kustomize --enable-helm ${KUSTOMIZE_DIR} \ | envsubst '${POOL_NAME} ${MODEL_NAME} ${MODEL_NAME_SAFE} ${EPP_NAME} ${EPP_IMAGE} ${VLLM_SIMULATOR_IMAGE} \ ${PD_ENABLED} ${KV_CACHE_ENABLED} ${SIDECAR_IMAGE} ${UDS_TOKENIZER_IMAGE} ${TARGET_PORTS} \ ${VLLM_REPLICA_COUNT} ${VLLM_REPLICA_COUNT_P} ${VLLM_REPLICA_COUNT_D} ${VLLM_DATA_PARALLEL_SIZE}' \