135135set -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
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
260260envsubst ' $PRIMARY_PORT' < ${EPP_CONFIG} > ${TEMP_FILE}
261261kubectl --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