Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions examples/poc/manifests/inferencepool-with-model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ metadata:
labels:
name: vllm-llama2-7b-pool
spec:
targetPort: 8000
modelServerSelector:
targetPortNumber: 8000
selector:
"app": "vllm-llama2-7b-pool"
---
apiVersion: inference.networking.x-k8s.io/v1alpha1
Expand All @@ -16,7 +16,7 @@ metadata:
app.kubernetes.io/managed-by: kustomize
name: inferencemodel-sample
spec:
modelName: sql-lora
modelName: tweet-summary
criticality: Critical
poolRef:
# this is the default val:
Expand All @@ -25,6 +25,8 @@ spec:
kind: InferencePool
name: vllm-llama2-7b-pool
targetModels:
- name: sql-lora-1fdg2
weight: 100
- name: tweet-summary-0
weight: 50
- name: tweet-summary-1
weight: 50

2 changes: 1 addition & 1 deletion pkg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ The current manifests rely on Envoy Gateway [v1.2.1](https://gateway.envoyproxy.
Wait until the gateway is ready.

```bash
IP=$(kubectl get gateway/instance-gateway -o jsonpath='{.status.addresses[0].value}')
IP=$(kubectl get gateway/inference-gateway -o jsonpath='{.status.addresses[0].value}')
PORT=8081

curl -i ${IP}:${PORT}/v1/completions -H 'Content-Type: application/json' -d '{
Expand Down