forked from opendatahub-io/kserve
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathMakefile.overrides.mk
More file actions
33 lines (26 loc) · 1.52 KB
/
Makefile.overrides.mk
File metadata and controls
33 lines (26 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Midstream-only Make targets for opendatahub-io/kserve.
# Loaded via `-include Makefile.overrides.mk` in the main Makefile.
# This file does not exist on upstream kserve/kserve.
# Enable distro build tag for platform-specific code.
# GOTAGS is picked up by the main Makefile to set GOFLAGS and --build-arg for Docker.
GOTAGS = distro
export GOFLAGS += -tags=$(GOTAGS)
.PHONY: deploy-dev-llm deploy-dev-llm-ocp deploy-ci uv-update-lockfiles
deploy-dev-llm:
./hack/deploy_dev_llm.sh
deploy-dev-llm-ocp:
./test/scripts/openshift-ci/setup-llm.sh --deploy-kuadrant
deploy-ci: manifests
kubectl apply --server-side=true --force-conflicts -k config/crd/full
kubectl apply --server-side=true --force-conflicts -k config/crd/full/localmodel
kubectl apply --server-side=true --force-conflicts -k config/crd/full/llmisvc
kubectl wait --for=condition=established --timeout=60s crd/llminferenceserviceconfigs.serving.kserve.io
kubectl apply --server-side=true -k config/overlays/test
kubectl wait --for=condition=ready pod -l control-plane=kserve-controller-manager -n kserve --timeout=300s
kubectl apply --server-side=true -k config/overlays/test/clusterresources
uv-update-lockfiles:
bash -ec 'for value in $$(find . -name uv.lock -exec dirname {} \;); do (cd "$${value}" && echo "Updating $${value}/uv.lock" && uv update --lock); done'
manifests-distro: controller-gen
@$(CONTROLLER_GEN) rbac:roleName=kserve-llmisvc-distro-role \
paths=./pkg/controller/v1alpha2/llmisvc/distro \
output:rbac:artifacts:config=config/overlays/odh/rbac/llmisvc