mirror of
https://github.com/hanzo-ml/kserve.git
synced 2026-10-30 20:53:49 +00:00
34 lines
844 B
YAML
34 lines
844 B
YAML
apiVersion: serving.kserve.io/v1alpha1
|
|
kind: LLMInferenceService
|
|
metadata:
|
|
name: qwen2-7b-instruct-single-no-scheduler
|
|
spec:
|
|
model:
|
|
uri: hf://Qwen/Qwen2.5-7B-Instruct
|
|
name: Qwen/Qwen2.5-7B-Instruct
|
|
# Three replicas for load balancing
|
|
replicas: 3
|
|
router:
|
|
# No scheduler - routing handled by Kubernetes service
|
|
route: { }
|
|
template:
|
|
containers:
|
|
- name: main
|
|
resources:
|
|
limits:
|
|
cpu: '4'
|
|
memory: 32Gi
|
|
nvidia.com/gpu: "1"
|
|
requests:
|
|
cpu: '2'
|
|
memory: 16Gi
|
|
nvidia.com/gpu: "1"
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: 8000
|
|
scheme: HTTPS
|
|
initialDelaySeconds: 120
|
|
periodSeconds: 30
|
|
timeoutSeconds: 30
|
|
failureThreshold: 5 |