forked from llm-d/llm-d-router
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvllm-render.yaml
More file actions
66 lines (66 loc) · 1.42 KB
/
Copy pathvllm-render.yaml
File metadata and controls
66 lines (66 loc) · 1.42 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
apiVersion: apps/v1
kind: Deployment
metadata:
name: vllm-render
labels:
app: vllm-render
spec:
replicas: 1
selector:
matchLabels:
app: vllm-render
template:
metadata:
labels:
app: vllm-render
spec:
containers:
- name: vllm-render
image: ${VLLM_RENDER_IMAGE}
imagePullPolicy: IfNotPresent
args:
- "--model=${MODEL_NAME}"
- "--port=${VLLM_RENDER_PORT}"
- "--mode=echo"
- "--force-dummy-tokenizer"
ports:
- name: http
containerPort: ${VLLM_RENDER_PORT}
startupProbe:
httpGet:
path: /health
port: ${VLLM_RENDER_PORT}
initialDelaySeconds: 2
periodSeconds: 1
failureThreshold: 600
timeoutSeconds: 1
livenessProbe:
httpGet:
path: /health
port: ${VLLM_RENDER_PORT}
periodSeconds: 10
failureThreshold: 5
timeoutSeconds: 1
readinessProbe:
httpGet:
path: /health
port: ${VLLM_RENDER_PORT}
periodSeconds: 5
failureThreshold: 1
timeoutSeconds: 1
---
apiVersion: v1
kind: Service
metadata:
name: vllm-render
labels:
app: vllm-render
spec:
selector:
app: vllm-render
ports:
- name: http
protocol: TCP
port: ${VLLM_RENDER_PORT}
targetPort: ${VLLM_RENDER_PORT}
type: ClusterIP